mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 11:58:01 +08:00
187 lines
7.4 KiB
XML
187 lines
7.4 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">
|
||
<parent>
|
||
<artifactId>jpom-parent</artifactId>
|
||
<groupId>io.jpom</groupId>
|
||
<version>2.10.38.8</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.10.38.8</version>
|
||
<groupId>io.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>1.6</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>
|
||
|
||
|
||
<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>jiangzeyin</name>
|
||
<email>bwcx_jzy@163.com</email>
|
||
<organization>bwcx_jzy</organization>
|
||
</developer>
|
||
</developers>
|
||
|
||
</project>
|