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

难搞,最后用的私服方式

原文地址:https://www.cnblogs.com/fly-book/p/15109380.html