2019-04-16 10:50:45 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-03-09 10:23:17 +08:00
|
|
|
<!--
|
|
|
|
|
|
|
|
The MIT License (MIT)
|
|
|
|
|
|
|
|
Copyright (c) 2019 Code Technology Studio
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
|
this software and associated documentation files (the "Software"), to deal in
|
|
|
|
the Software without restriction, including without limitation the rights to
|
|
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
|
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
|
|
subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
|
|
copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
|
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
|
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|
|
|
-->
|
2019-04-16 10:50:45 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2022-02-22 21:47:35 +08:00
|
|
|
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>
|
2023-01-05 10:59:21 +08:00
|
|
|
<version>2.10.8</version>
|
2022-02-22 21:47:35 +08:00
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2022-03-03 22:47:53 +08:00
|
|
|
<name>Jpom Server</name>
|
2022-02-22 21:47:35 +08:00
|
|
|
<artifactId>server</artifactId>
|
2023-01-05 10:59:21 +08:00
|
|
|
<version>2.10.8</version>
|
2022-02-22 21:47:35 +08:00
|
|
|
<properties>
|
|
|
|
<start-class>io.jpom.JpomServerApplication</start-class>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
2021-07-08 23:44:12 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom</groupId>
|
|
|
|
<artifactId>common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-04-16 18:46:30 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom.plugins</groupId>
|
|
|
|
<artifactId>webhook</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2021-12-22 13:38:54 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom.plugins</groupId>
|
|
|
|
<artifactId>git-clone</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2021-07-21 23:26:55 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
<artifactId>jsch</artifactId>
|
|
|
|
<version>0.1.55</version>
|
|
|
|
</dependency>
|
2019-08-04 20:27:26 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom.plugins</groupId>
|
|
|
|
<artifactId>svn-clone</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-01-26 17:58:11 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom.plugins</groupId>
|
|
|
|
<artifactId>docker-cli</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-08-04 20:27:26 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<!--邮件-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom.plugins</groupId>
|
|
|
|
<artifactId>email</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-10-31 18:32:30 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<!--Spring Junit Test-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-12-04 22:27:33 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-jwt</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-captcha</artifactId>
|
|
|
|
</dependency>
|
2022-12-17 17:46:46 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2022-12-24 21:16:11 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom.agent-transport</groupId>
|
|
|
|
<artifactId>agent-transport-http</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-12-26 14:24:47 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
</dependency>
|
2023-01-05 21:46:15 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jpom.storage-module</groupId>
|
|
|
|
<artifactId>storage-module-h2</artifactId>
|
|
|
|
<version>${pom.version}</version>
|
|
|
|
</dependency>
|
2022-02-22 21:47:35 +08:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<!--版权文件,更新日志-->
|
|
|
|
<resource>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<directory>../../</directory>
|
|
|
|
<includes>
|
|
|
|
<include>CHANGELOG.md</include>
|
|
|
|
<include>LICENSE</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
2019-08-13 15:53:56 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>server-default-profile</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-12-08 10:17:45 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.3.0</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/dromara/Jpom</Implementation-URL>
|
|
|
|
<Jpom-Min-Version>${jpom-min-version}</Jpom-Min-Version>
|
|
|
|
</manifestEntries>
|
|
|
|
<addMavenDescriptor>true</addMavenDescriptor>
|
|
|
|
</archive>
|
|
|
|
<excludes>
|
|
|
|
<exclude>logback.xml</exclude>
|
|
|
|
<exclude>application.yml</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
|
|
|
<!-- <excludeGroupIds>io.jpom.plugins</excludeGroupIds>-->
|
|
|
|
</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.3.0</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
<descriptors>
|
2022-12-08 10:17:45 +08:00
|
|
|
<descriptor>${basedir}/src/main/assembly/release.xml</descriptor>
|
2022-02-22 21:47:35 +08:00
|
|
|
</descriptors>
|
|
|
|
<outputDirectory>target</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-02-24 17:07:52 +08:00
|
|
|
<!-- 生成 sha1 校验文件 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.nicoulaj.maven.plugins</groupId>
|
|
|
|
<artifactId>checksum-maven-plugin</artifactId>
|
|
|
|
<version>1.11</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>checksum-maven-plugin-files</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>files</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*.zip</include>
|
|
|
|
<include>*.tar.gz</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
<algorithms>
|
|
|
|
<algorithm>SHA-1</algorithm>
|
|
|
|
</algorithms>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-02-22 21:47:35 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<!-- 安装插件引人-->
|
|
|
|
<profile>
|
|
|
|
<id>install-plugin-profile</id>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>release-plugin-profile</id>
|
|
|
|
</profile>
|
2019-08-13 16:41:15 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<!-- 插件开发-->
|
|
|
|
<profile>
|
|
|
|
<id>develop-plugin-profile</id>
|
2022-05-14 16:14:15 +08:00
|
|
|
<dependencies>
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>io.jpom.jpom-plugin</groupId>-->
|
|
|
|
<!-- <artifactId>netty</artifactId>-->
|
|
|
|
<!-- <version>LATEST</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2022-02-22 21:47:35 +08:00
|
|
|
</profiles>
|
2019-07-09 19:20:01 +08:00
|
|
|
</project>
|