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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom</groupId>
|
2023-10-20 13:14:59 +08:00
|
|
|
<version>2.10.46.1</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-10-20 13:14:59 +08:00
|
|
|
<version>2.10.46.1</version>
|
2022-02-22 21:47:35 +08:00
|
|
|
<properties>
|
2023-03-31 13:57:48 +08:00
|
|
|
<start-class>org.dromara.jpom.JpomServerApplication</start-class>
|
2022-02-22 21:47:35 +08:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
2021-07-08 23:44:12 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom</groupId>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.plugins</groupId>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.plugins</groupId>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-04-06 14:00:39 +08:00
|
|
|
<groupId>org.dromara.jpom.plugins</groupId>
|
|
|
|
<artifactId>ssh-jsch</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2022-02-22 21:47:35 +08:00
|
|
|
</dependency>
|
2019-08-04 20:27:26 +08:00
|
|
|
|
2022-02-22 21:47:35 +08:00
|
|
|
<dependency>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.plugins</groupId>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.plugins</groupId>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.plugins</groupId>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.agent-transport</groupId>
|
2022-12-24 21:16:11 +08:00
|
|
|
<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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.storage-module</groupId>
|
2023-01-05 21:46:15 +08:00
|
|
|
<artifactId>storage-module-h2</artifactId>
|
2023-03-02 23:34:31 +08:00
|
|
|
<version>${project.version}</version>
|
2023-01-05 21:46:15 +08:00
|
|
|
</dependency>
|
2023-01-06 13:19:45 +08:00
|
|
|
|
|
|
|
<dependency>
|
2023-03-31 14:06:07 +08:00
|
|
|
<groupId>org.dromara.jpom.storage-module</groupId>
|
2023-01-06 13:19:45 +08:00
|
|
|
<artifactId>storage-module-mysql</artifactId>
|
2023-03-02 23:34:31 +08:00
|
|
|
<version>${project.version}</version>
|
2023-01-06 13:19:45 +08:00
|
|
|
</dependency>
|
2023-04-06 14:00:39 +08:00
|
|
|
|
2023-03-26 13:51:23 +08:00
|
|
|
<dependency>
|
2023-03-27 11:41:49 +08:00
|
|
|
<groupId>me.zhyd.oauth</groupId>
|
|
|
|
<artifactId>JustAuth</artifactId>
|
|
|
|
<version>1.16.5</version>
|
2023-04-06 16:48:21 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>${fastjson-version}</version>
|
2023-03-27 11:41:49 +08:00
|
|
|
</dependency>
|
2023-04-06 14:00:39 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-cache</artifactId>
|
|
|
|
</dependency>
|
2022-02-22 21:47:35 +08:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<!--版权文件,更新日志-->
|
|
|
|
<resource>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<directory>../../</directory>
|
|
|
|
<includes>
|
|
|
|
<include>CHANGELOG.md</include>
|
2023-03-31 10:13:36 +08:00
|
|
|
<include>CHANGELOG-BETA.md</include>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-01-06 18:35:55 +08:00
|
|
|
<exclude>application*.yml</exclude>
|
2022-12-08 10:17:45 +08:00
|
|
|
</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>
|
2023-03-31 14:06:07 +08:00
|
|
|
<!-- <excludeGroupIds>org.dromara.jpom.plugins</excludeGroupIds>-->
|
2023-03-02 22:04:02 +08:00
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
2022-02-22 21:47:35 +08:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2023-04-19 19:07:03 +08:00
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<!-- 生成安装包文件-->
|
|
|
|
<profile>
|
|
|
|
<id>install-assembly</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-02-22 21:47:35 +08:00
|
|
|
<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>
|
2023-04-19 19:07:03 +08:00
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
2022-02-22 21:47:35 +08:00
|
|
|
</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>
|
2023-04-19 19:07:03 +08:00
|
|
|
<directory>${project.build.directory}</directory>
|
2022-02-24 17:07:52 +08:00
|
|
|
<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>
|
|
|
|
</profiles>
|
2019-07-09 19:20:01 +08:00
|
|
|
</project>
|