mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-03 04:18:21 +08:00
49 lines
2.0 KiB
XML
49 lines
2.0 KiB
XML
<?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>jpom</artifactId>
|
|
<groupId>cn.keepbx</groupId>
|
|
<version>2.3.2</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>cn.keepbx.jpom</groupId>
|
|
<artifactId>agent</artifactId>
|
|
<version>2.3.2</version>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>cn.keepbx.jpom</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>${pom.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>cn.keepbx.jpom.JpomAgentApplication</mainClass>
|
|
<!-- 是否指定项目classpath下的依赖 -->
|
|
<addClasspath>true</addClasspath>
|
|
<!-- 指定依赖的时候声明前缀 -->
|
|
<classpathPrefix>./</classpathPrefix>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<!-- 项目版本号 -->
|
|
<Jpom-Project-Version>${project.version}</Jpom-Project-Version>
|
|
<!-- 打包时间 -->
|
|
<Jpom-Timestamp>${maven.build.timestamp}</Jpom-Timestamp>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |