add maven central deploy config

pull/18/head
hengyunabc 6 years ago
parent 7d0e75baaa
commit 9245b693e4

@ -3,12 +3,57 @@
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>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE Version 3</name>
<url>https://www.gnu.org/licenses/gpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git@github.com:alibaba/arthas.git</connection>
<developerConnection>scm:git:git@github.com:alibaba/arthas.git</developerConnection>
<url>https://github.com/alibaba/arthas</url>
</scm>
<developers>
<developer>
<id>beiwei30</id>
<name>beiwei30</name>
<email>ian.luo@gmail.com</email>
</developer>
<developer>
<id>Jerrik Zhu</id>
<name>Jerrik Zhu</name>
<email>diecui1202@gmail.com</email>
</developer>
<developer>
<id>ralf0131</id>
<name>ralf0131</name>
<email>huxing.zhang@gmail.com</email>
</developer>
<developer>
<id>hengyunabc</id>
<name>hengyunabc</name>
<email>hengyunabc@gmail.com</email>
</developer>
</developers>
<groupId>com.taobao.arthas</groupId>
<artifactId>arthas-all</artifactId>
<version>3.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>arthas-all</name>
<description>arthas</description>
<url>https://github.com/alibaba/arthas</url>
<modules>
<module>spy</module>
@ -22,6 +67,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.6</maven.compiler.target>
<maven.compiler.source>1.6</maven.compiler.source>
</properties>
<dependencyManagement>
@ -96,22 +143,40 @@
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

Loading…
Cancel
Save