maven依赖本地钉钉lib包

springboot把项目打成jar,同时把本地jar包也引入进去

	<dependencies>
		<dependency>
			<groupId>com.dingtalk.open</groupId>
			<artifactId>taobao-sdk-java-auto</artifactId>
			<version>11479188381469-20210610</version>
			<scope>system</scope>
		<systemPath>${pom.basedir}/src/main/resources/lib/taobao-sdk-java-auto_1479188381469-20210610.jar</systemPath>
		</dependency>
	</dependencies>

	  <build>
              <plugins>
                  <plugin>
                      <groupId>org.springframework.boot</groupId>
                      <artifactId>spring-boot-maven-plugin</artifactId>
                      <configuration>
                          <includeSystemScope>true</includeSystemScope>
                      </configuration>
                  </plugin>
              </plugins>
          </build>

项目springboot,改模块要打成jar

难搞,最后用的私服方式

posted @ 2021-08-06 16:49  fly_bk  阅读(345)  评论(0编辑  收藏  举报