Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit ec5d127

Browse files
author
nomiero
committed
Merge pull request #3 from aliuy/master
Update pom.xml
2 parents 98959fa + d3ed0df commit ec5d127

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

pom.xml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,75 @@
4343
<target>1.7</target>
4444
</configuration>
4545
</plugin>
46+
<plugin>
47+
<artifactId>maven-assembly-plugin</artifactId>
48+
<version>2.2</version>
49+
<configuration>
50+
<descriptorRefs>
51+
<descriptorRef>bin</descriptorRef>
52+
</descriptorRefs>
53+
</configuration>
54+
<executions>
55+
<execution>
56+
<id>make-assembly</id>
57+
<phase>package</phase>
58+
<goals>
59+
<goal>single</goal>
60+
</goals>
61+
</execution>
62+
</executions>
63+
</plugin>
64+
<plugin>
65+
<groupId>org.sonatype.plugins</groupId>
66+
<artifactId>nexus-staging-maven-plugin</artifactId>
67+
<version>1.6.3</version>
68+
<extensions>true</extensions>
69+
<configuration>
70+
<serverId>ossrh</serverId>
71+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
72+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
73+
</configuration>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-source-plugin</artifactId>
78+
<version>2.2.1</version>
79+
<executions>
80+
<execution>
81+
<id>attach-sources</id>
82+
<goals>
83+
<goal>jar-no-fork</goal>
84+
</goals>
85+
</execution>
86+
</executions>
87+
</plugin>
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-javadoc-plugin</artifactId>
91+
<version>2.9.1</version>
92+
<executions>
93+
<execution>
94+
<id>attach-javadocs</id>
95+
<goals>
96+
<goal>jar</goal>
97+
</goals>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-gpg-plugin</artifactId>
104+
<version>1.5</version>
105+
<executions>
106+
<execution>
107+
<id>sign-artifacts</id>
108+
<phase>verify</phase>
109+
<goals>
110+
<goal>sign</goal>
111+
</goals>
112+
</execution>
113+
</executions>
114+
</plugin>
46115
</plugins>
47116
<resources>
48117
<resource>
@@ -165,4 +234,14 @@
165234
<version>0.13.0</version>
166235
</dependency>
167236
</dependencies>
237+
<distributionManagement>
238+
<snapshotRepository>
239+
<id>ossrh</id>
240+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
241+
</snapshotRepository>
242+
<repository>
243+
<id>ossrh</id>
244+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
245+
</repository>
246+
</distributionManagement>
168247
</project>

0 commit comments

Comments
 (0)