mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-29 18:38:32 +08:00
279 lines
11 KiB
XML
279 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>pom</packaging>
|
|
<modules>
|
|
<module>modules/agent</module>
|
|
<module>modules/server</module>
|
|
<module>modules/common</module>
|
|
<module>modules/sub-plugin</module>
|
|
<module>modules/agent-transport</module>
|
|
<module>modules/storage-module</module>
|
|
</modules>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.7.18</version>
|
|
<relativePath/>
|
|
</parent>
|
|
<groupId>org.dromara.jpom</groupId>
|
|
<artifactId>jpom-parent</artifactId>
|
|
<name>Jpom (Java Project Online Manage)</name>
|
|
<description>
|
|
简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
|
|
</description>
|
|
<inceptionYear>2017</inceptionYear>
|
|
<version>2.11.0.9</version>
|
|
<url>https://gitee.com/dromara/Jpom</url>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>1.8</java.version>
|
|
<!--当前程序兼容 jpom 最新版本号-->
|
|
<jpom-min-version>2.10.0</jpom-min-version>
|
|
|
|
<!-- 跳过测试 -->
|
|
<skipTests>true</skipTests>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
<!-- <maven.javadoc.skip>true</maven.javadoc.skip>-->
|
|
<hutool.version>5.8.24</hutool.version>
|
|
<fastjson2.version>2.0.43</fastjson2.version>
|
|
<fastjson-version>2.0.43</fastjson-version>
|
|
<jna-version>5.12.1</jna-version>
|
|
<mwiede.jsch-version>0.2.15</mwiede.jsch-version>
|
|
<oshi.version>6.4.8</oshi.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- 性能测试 -->
|
|
<dependency>
|
|
<groupId>org.databene</groupId>
|
|
<artifactId>contiperf</artifactId>
|
|
<version>2.3.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-bom</artifactId>
|
|
<version>${hutool.version}</version>
|
|
<type>pom</type>
|
|
<!-- 注意这里是import -->
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>${fastjson2.version}</version>
|
|
</dependency>
|
|
|
|
<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>
|
|
<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>
|
|
<!-- <path>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
|
|
<!-- </path>-->
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>4.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>remove</goal>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
<!--HEADER文件-->
|
|
<header>LICENSE</header>
|
|
<includes>
|
|
<!--取消默认排除-->
|
|
<include>**/node/**</include>
|
|
</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>
|
|
<exclude>web-vue/**</exclude>
|
|
<exclude>web-vue3/**</exclude>
|
|
<exclude>**/*.yml</exclude>
|
|
<exclude>**/*.md</exclude>
|
|
<exclude>**/*.txt</exclude>
|
|
</excludes>
|
|
<!--严格检查-->
|
|
<strictCheck>true</strictCheck>
|
|
<mapping>
|
|
<java>SLASHSTAR_STYLE</java>
|
|
</mapping>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<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>
|
|
<!-- GPG -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>verify-gpg</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<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>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>MIT License</name>
|
|
<url>https://opensource.org/licenses/MIT</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
</project>
|