123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>licence</artifactId>
- <groupId>com.study</groupId>
- <version>1.0.0.RELEASE</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>client-offline</artifactId>
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.study</groupId>
- <artifactId>core</artifactId>
- <version>1.0.0.RELEASE</version>
- <!-- 引用一个本地的 JAR 文件,而不是从 Maven 的中央仓库或其他远程仓库中获取 -->
- <scope>system</scope>
- <!-- 指定该 JAR 文件的路径 -->
- <systemPath>${project.basedir}/src/main/resources/lib/core-1.0.0.RELEASE.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>
- </project>
|