Jpom/pom.xml

268 lines
11 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 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-02-29 15:53:03 +08:00
<version>2.11.2.3</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>-->
<hutool.version>5.8.26</hutool.version>
2024-02-17 21:26:35 +08:00
<fastjson2.version>2.0.46</fastjson2.version>
<fastjson-version>2.0.46</fastjson-version>
<jna-version>5.12.1</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>
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>
<version>1.75</version>
</dependency>
<dependency>
<groupId>com.github.mwiede</groupId>
<artifactId>jsch</artifactId>
<version>${mwiede.jsch-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>
<!--HEADER文件-->
2024-02-29 14:10:24 +08:00
<header>HEADER-LICENSE</header>
2022-02-24 17:07:52 +08:00
<includes>
<!--取消默认排除-->
<include>**/node/**</include>
2024-02-29 14:10:24 +08:00
<include>web-vue/index.html</include>
2022-02-24 17:07:52 +08:00
</includes>
<!--排除文件-->
<excludes>
2022-03-09 10:34:15 +08:00
<!-- https://github.com/mathieucarbou/license-maven-plugin/blob/master/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/Default.java-->
2022-03-09 22:19:22 +08:00
2022-02-24 17:07:52 +08:00
<exclude>docs/**</exclude>
2024-02-29 14:10:24 +08:00
<exclude>web-vue/src/**</exclude>
<!-- <exclude>web-vue2/**</exclude>-->
<!-- <exclude>**/*.yml</exclude>-->
2022-02-24 17:07:52 +08:00
<exclude>**/*.md</exclude>
2022-03-08 22:54:42 +08:00
<exclude>**/*.txt</exclude>
2024-01-10 19:49:04 +08:00
<exclude>**/dist/assets/**</exclude>
2022-02-24 17:07:52 +08:00
</excludes>
<!--严格检查-->
<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>