2019-04-16 10:50:45 +08:00
|
|
|
<?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>
|
2019-08-13 17:48:32 +08:00
|
|
|
<artifactId>jpom-parent</artifactId>
|
2019-08-23 10:55:41 +08:00
|
|
|
<groupId>io.jpom</groupId>
|
2020-05-19 10:35:26 +08:00
|
|
|
<version>2.4.8</version>
|
2020-10-31 18:32:30 +08:00
|
|
|
<relativePath>../../pom.xml</relativePath>
|
2019-04-16 10:50:45 +08:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>agent</artifactId>
|
2020-05-19 10:35:26 +08:00
|
|
|
<version>2.4.8</version>
|
2019-05-15 21:52:29 +08:00
|
|
|
<name>Jpom 插件端</name>
|
2019-07-21 02:43:13 +08:00
|
|
|
<properties>
|
2019-08-23 10:55:41 +08:00
|
|
|
<start-class>io.jpom.JpomAgentApplication</start-class>
|
2019-07-21 02:43:13 +08:00
|
|
|
</properties>
|
2019-04-16 10:50:45 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2019-08-23 10:55:41 +08:00
|
|
|
<groupId>io.jpom</groupId>
|
2019-04-16 10:50:45 +08:00
|
|
|
<artifactId>common</artifactId>
|
|
|
|
<version>${pom.version}</version>
|
|
|
|
</dependency>
|
2019-04-18 16:32:07 +08:00
|
|
|
<!--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>
|
2019-04-22 14:47:06 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
2019-10-12 09:37:49 +08:00
|
|
|
<version>1.19</version>
|
2019-04-22 14:47:06 +08:00
|
|
|
</dependency>
|
2019-04-16 10:50:45 +08:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.1.1</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
2019-07-21 02:43:13 +08:00
|
|
|
<mainClass>${start-class}</mainClass>
|
2019-04-16 10:50:45 +08:00
|
|
|
<!-- 是否指定项目classpath下的依赖 -->
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<!-- 指定依赖的时候声明前缀 -->
|
|
|
|
<classpathPrefix>./</classpathPrefix>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<!-- 项目版本号 -->
|
2019-08-28 22:54:57 +08:00
|
|
|
<Jpom-Project-Version>${project.version}</Jpom-Project-Version>
|
2019-04-16 10:50:45 +08:00
|
|
|
<!-- 打包时间 -->
|
|
|
|
<Jpom-Timestamp>${maven.build.timestamp}</Jpom-Timestamp>
|
2019-07-23 16:58:43 +08:00
|
|
|
<Jpom-Type>${project.artifactId}</Jpom-Type>
|
2019-08-28 22:54:57 +08:00
|
|
|
<Implementation-URL>https://gitee.com/keepbx/Jpom</Implementation-URL>
|
2019-04-16 10:50:45 +08:00
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-04-18 13:20:12 +08:00
|
|
|
|
2019-08-13 15:53:56 +08:00
|
|
|
|
2019-04-16 10:50:45 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-08-13 15:53:56 +08:00
|
|
|
<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>
|
2019-08-13 17:36:38 +08:00
|
|
|
<id>install-plugin-profile</id>
|
2019-08-13 15:53:56 +08:00
|
|
|
</profile>
|
2019-11-18 10:57:16 +08:00
|
|
|
<profile>
|
|
|
|
<id>release-plugin-profile</id>
|
|
|
|
</profile>
|
2019-08-13 15:53:56 +08:00
|
|
|
</profiles>
|
2019-07-19 10:14:58 +08:00
|
|
|
</project>
|