<!--
groupId:cn.myCompany.myCommon 规则:公司性质.公司名.项目名或其它
artifactId:jar包 自定义ID,通常与jar包名同名;pom通过groupId+artifactId+version找到maven仓库中唯一jar包
version:jar包 版本号
scope:三方jar 使用 system
systemPath:${project.basedir} 表示当前项目根目录
-->
<dependency>
<groupId>com.bamboocloud.bim-codec</groupId>
<artifactId>bim-codec</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<!-- 项目 src/main/resources/lib 目录下的 my-common-1.0.1.jar -->
<!-- <systemPath>${project.basedir}/src/main/resources/lib/bim-codec-1.0.0.jar</systemPath> -->
<systemPath>${project.basedir}/../lib/bim-codec-1.0.0.jar</systemPath>
</dependency>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.5.15</version>
<configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
<!-- true表示打包时包含scope为system的第三方的jar包 -->
<includeSystemScope>true</includeSystemScope>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>