mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-04 21:08:30 +08:00
129 lines
5.0 KiB
XML
129 lines
5.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-parent</artifactId>
|
|
<groupId>io.jpom</groupId>
|
|
<version>2.4.8</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>agent</artifactId>
|
|
<version>2.4.8</version>
|
|
<name>Jpom 插件端</name>
|
|
<properties>
|
|
<start-class>io.jpom.JpomAgentApplication</start-class>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.jpom</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>${pom.version}</version>
|
|
</dependency>
|
|
<!--nginx-->
|
|
<dependency>
|
|
<groupId>com.github.odiszapc</groupId>
|
|
<artifactId>nginxparser</artifactId>
|
|
<version>0.9.6</version>
|
|
</dependency>
|
|
<!-- 证书解密-->
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>1.61</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
<version>1.19</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>${start-class}</mainClass>
|
|
<!-- 是否指定项目classpath下的依赖 -->
|
|
<addClasspath>true</addClasspath>
|
|
<!-- 指定依赖的时候声明前缀 -->
|
|
<classpathPrefix>./</classpathPrefix>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<!-- 项目版本号 -->
|
|
<Jpom-Project-Version>${project.version}</Jpom-Project-Version>
|
|
<!-- 打包时间 -->
|
|
<Jpom-Timestamp>${maven.build.timestamp}</Jpom-Timestamp>
|
|
<Jpom-Type>${project.artifactId}</Jpom-Type>
|
|
<Implementation-URL>https://gitee.com/keepbx/Jpom</Implementation-URL>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>agent-default-profile</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
<mainClass>${start-class}</mainClass>
|
|
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<descriptors>
|
|
<descriptor>script/release.xml</descriptor>
|
|
</descriptors>
|
|
<outputDirectory>target</outputDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<!-- 插件-->
|
|
<profile>
|
|
<id>install-plugin-profile</id>
|
|
</profile>
|
|
<profile>
|
|
<id>release-plugin-profile</id>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|