mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 11:58:01 +08:00
174 lines
6.8 KiB
XML
174 lines
6.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!--
|
||
|
||
Copyright (c) 2019 Of Him Code Technology Studio
|
||
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.
|
||
|
||
-->
|
||
<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">
|
||
<parent>
|
||
<artifactId>jpom-parent</artifactId>
|
||
<groupId>org.dromara.jpom</groupId>
|
||
<version>2.11.4.2</version>
|
||
<relativePath>../../pom.xml</relativePath>
|
||
</parent>
|
||
<packaging>pom</packaging>
|
||
<modules>
|
||
<module>agent-transport-common</module>
|
||
<module>agent-transport-http</module>
|
||
</modules>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<version>2.11.4.2</version>
|
||
<groupId>org.dromara.jpom.agent-transport</groupId>
|
||
<artifactId>jpom-agent-transport-parent</artifactId>
|
||
<name>Jpom Agent Transport</name>
|
||
<description>
|
||
Jpom java 插件传输模块
|
||
</description>
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<java.version>1.8</java.version>
|
||
<!-- 跳过测试 -->
|
||
<skipTests>true</skipTests>
|
||
<maven.test.skip>true</maven.test.skip>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- 编译插件, 设定JDK版本 -->
|
||
<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>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<!--surefire插件,避免mvn test console乱码-->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>2.22.0</version>
|
||
<configuration>
|
||
<forkMode>once</forkMode>
|
||
<argLine>-Dfile.encoding=UTF-8</argLine>
|
||
</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>
|
||
<!-- 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>
|
||
<!-- 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>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<tags>
|
||
<tag>
|
||
<name>date</name>
|
||
<placement>a</placement>
|
||
<head>创建时间</head>
|
||
</tag>
|
||
</tags>
|
||
</configuration>
|
||
</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.13</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>
|
||
|
||
|
||
<scm>
|
||
<tag>master</tag>
|
||
<url>git@gitee.com:dromara/Jpom.git</url>
|
||
<connection>scm:git:git@gitee.com:dromara/Jpom.git</connection>
|
||
<developerConnection>scm:git:git@gitee.com:dromara/Jpom.git</developerConnection>
|
||
</scm>
|
||
<developers>
|
||
<developer>
|
||
<name>bwcx_jzy</name>
|
||
<email>bwcx_jzy@163.com</email>
|
||
<organization>bwcx_jzy</organization>
|
||
</developer>
|
||
</developers>
|
||
|
||
</project>
|