Jpom/pom.xml

316 lines
13 KiB
XML
Raw Normal View History

2017-09-14 17:23:46 +08:00
<?xml version="1.0" encoding="UTF-8"?>
2022-03-09 10:23:17 +08:00
<!--
Copyright (c) 2019 Of Him Code Technology Studio
2024-02-29 14:10:24 +08:00
Jpom is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
2022-03-09 10:23:17 +08:00
-->
2017-09-14 17:23:46 +08:00
<project xmlns="http://maven.apache.org/POM/4.0.0"
2022-02-24 17:07:52 +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">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<modules>
<module>modules/agent</module>
<module>modules/server</module>
<module>modules/common</module>
2022-02-26 22:26:52 +08:00
<module>modules/sub-plugin</module>
2022-12-18 15:30:25 +08:00
<module>modules/agent-transport</module>
<module>modules/storage-module</module>
2022-02-22 15:39:57 +08:00
</modules>
2022-02-24 17:07:52 +08:00
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
2023-12-07 15:48:05 +08:00
<version>2.7.18</version>
2022-06-10 14:50:17 +08:00
<relativePath/>
2022-02-24 17:07:52 +08:00
</parent>
2023-03-31 14:06:07 +08:00
<groupId>org.dromara.jpom</groupId>
2022-02-24 17:07:52 +08:00
<artifactId>jpom-parent</artifactId>
<name>Jpom (Java Project Online Manage)</name>
2022-02-24 17:07:52 +08:00
<description>
简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
</description>
<inceptionYear>2017</inceptionYear>
2024-06-06 14:27:06 +08:00
<version>2.11.6.2</version>
2022-02-24 17:07:52 +08:00
<url>https://gitee.com/dromara/Jpom</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<!--当前程序兼容 jpom 最新版本号-->
2022-12-19 14:06:07 +08:00
<jpom-min-version>2.10.0</jpom-min-version>
2021-07-09 12:11:54 +08:00
2022-02-24 17:07:52 +08:00
<!-- 跳过测试 -->
<skipTests>true</skipTests>
<maven.test.skip>true</maven.test.skip>
2022-02-26 23:21:14 +08:00
<!-- <maven.javadoc.skip>true</maven.javadoc.skip>-->
2024-04-11 09:05:29 +08:00
<hutool.version>5.8.27</hutool.version>
2024-02-17 21:26:35 +08:00
<fastjson2.version>2.0.46</fastjson2.version>
<fastjson-version>2.0.46</fastjson-version>
2024-03-05 14:22:50 +08:00
<jna-version>5.14.0</jna-version>
2024-01-22 17:24:29 +08:00
<mwiede.jsch-version>0.2.16</mwiede.jsch-version>
2024-02-21 16:34:24 +08:00
<oshi.version>6.4.12</oshi.version>
2024-05-08 22:03:49 +08:00
<tomcat.version>9.0.86</tomcat.version>
<yaml.version>2.2</yaml.version>
2024-05-31 12:06:22 +08:00
<!-- h2 不能直接升级 The write format 2 is smaller than the supported format 3-->
<h2.version>2.1.214</h2.version>
<postgresql.version>42.3.10</postgresql.version>
2024-05-22 20:47:54 +08:00
<!-- logback 不能升级
https://github.com/spring-projects/spring-boot/issues/34708
https://github.com/spring-projects/spring-boot/issues/12649
-->
2022-02-24 17:07:52 +08:00
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
2019-09-04 15:01:17 +08:00
2022-02-24 17:07:52 +08:00
<!-- 性能测试 -->
<dependency>
<groupId>org.databene</groupId>
<artifactId>contiperf</artifactId>
<version>2.3.4</version>
<scope>test</scope>
</dependency>
2022-01-24 22:42:45 +08:00
2022-02-24 17:07:52 +08:00
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
2022-02-24 17:07:52 +08:00
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-bom</artifactId>
<version>${hutool.version}</version>
<type>pom</type>
<!-- 注意这里是import -->
<scope>import</scope>
</dependency>
2022-12-24 21:16:11 +08:00
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>${fastjson2.version}</version>
</dependency>
2023-08-31 11:52:57 +08:00
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
2024-05-22 21:12:40 +08:00
<version>1.78</version>
2023-08-31 11:52:57 +08:00
</dependency>
<dependency>
<groupId>com.github.mwiede</groupId>
<artifactId>jsch</artifactId>
<version>${mwiede.jsch-version}</version>
</dependency>
2024-05-08 22:03:49 +08:00
<dependency>
<artifactId>snakeyaml</artifactId>
<groupId>org.yaml</groupId>
<version>${yaml.version}</version>
</dependency>
<dependency>
<artifactId>tomcat-embed-core</artifactId>
<groupId>org.apache.tomcat.embed</groupId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<artifactId>tomcat-embed-el</artifactId>
<groupId>org.apache.tomcat.embed</groupId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<artifactId>tomcat-embed-websocket</artifactId>
<groupId>org.apache.tomcat.embed</groupId>
<version>${tomcat.version}</version>
</dependency>
2024-05-31 12:06:22 +08:00
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
2022-02-24 17:07:52 +08:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<annotationProcessorPaths>
2024-02-29 14:10:24 +08:00
<!-- <path>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
<!-- </path>-->
</annotationProcessorPaths>
2022-02-24 17:07:52 +08:00
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
2024-01-10 19:14:08 +08:00
<version>4.3</version>
2022-02-24 17:07:52 +08:00
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>remove</goal>
<goal>format</goal>
</goals>
</execution>
</executions>
<configuration>
<quiet>true</quiet>
2024-03-21 16:34:51 +08:00
<licenseSets>
<licenseSet>
<!--HEADER文件-->
2024-03-30 15:04:20 +08:00
<header>HEADER.txt</header>
2024-03-21 16:34:51 +08:00
<includes>
<!--取消默认排除-->
2024-03-21 16:55:55 +08:00
<include>**</include>
2024-03-21 16:34:51 +08:00
<include>web-vue/index.html</include>
2024-03-21 16:55:55 +08:00
<include>**/dist/index.html</include>
2024-03-21 16:34:51 +08:00
</includes>
<!--排除文件-->
<excludes>
<!-- https://github.com/mathieucarbou/license-maven-plugin/blob/master/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/Default.java-->
<exclude>docs/**</exclude>
2024-03-21 16:55:55 +08:00
<!-- <exclude>web-vue/src/**</exclude>-->
2024-03-21 16:34:51 +08:00
<!-- <exclude>web-vue2/**</exclude>-->
<!-- <exclude>**/*.yml</exclude>-->
<exclude>**/*.md</exclude>
<exclude>**/*.txt</exclude>
<exclude>**/dist/assets/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
2022-02-24 17:07:52 +08:00
<!--严格检查-->
<strictCheck>true</strictCheck>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
</plugin>
</plugins>
</build>
2019-08-25 19:11:12 +08:00
2022-02-24 17:07:52 +08:00
<profiles>
<profile>
<id>release</id>
2022-02-24 17:07:52 +08:00
<distributionManagement>
<snapshotRepository>
<id>maven-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>maven-repo</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-javadoc</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!-- <additionalparam>-Xdoclint:none</additionalparam>-->
<additionalOptions>-Xdoclint:none</additionalOptions>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>date</name>
<placement>a</placement>
<head>创建时间</head>
</tag>
</tags>
</configuration>
</plugin>
<!-- source插件,打包源码 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
2022-02-24 17:07:52 +08:00
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
2023-04-20 12:01:07 +08:00
<version>3.0.1</version>
2022-02-24 17:07:52 +08:00
<executions>
<execution>
<id>verify-gpg</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
2022-02-26 23:21:14 +08:00
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
2022-02-24 17:07:52 +08:00
</plugins>
</build>
</profile>
</profiles>
2021-09-25 20:09:58 +08:00
2022-02-24 17:07:52 +08:00
<licenses>
<license>
2024-02-29 14:10:24 +08:00
<name>MulanPSL2 License</name>
<url>http://license.coscl.org.cn/MulanPSL2</url>
2022-02-24 17:07:52 +08:00
<distribution>repo</distribution>
</license>
</licenses>
2019-07-23 16:58:43 +08:00
</project>