pom
< the dependency > < groupId > me. Tang < / groupId > < artifactId > Commons - discovery < / artifactId > < version > 0.01 < / version > <scope>system</scope> <systemPath>${project.basedir}/ lib/Commons - XXXX - 1.2. Jar < systemPath > < / dependency >Copy the code
Maven is not accessible using the local JAR deployment line
Package the imported local JARS along with them
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
Copy the code
Built-in variables
${project.build.directory} ${project.build.directory} Defaults to target ${project. Build. OutputDirectory} build process output directory, default is target/classes ${project. Build. FinalName} output item name, The default value is ${project.artifactid}-${project.version} ${project.packaging} Packaging type. The default value is jar ${project.xxx} contents of any node in the current POM fileCopy the code