Skip to content

Commit f58e79d

Browse files
committed
Add plugins for deployment
1 parent 61cd33a commit f58e79d

1 file changed

Lines changed: 32 additions & 1 deletion

File tree

pom.xml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<plugin>
3434
<groupId>org.apache.maven.plugins</groupId>
3535
<artifactId>maven-javadoc-plugin</artifactId>
36-
<version>3.1.0</version>
36+
<version>3.0.0-M1</version>
3737
<configuration>
3838
<source>${java.version}</source>
3939
<locale>en_US</locale>
@@ -48,6 +48,37 @@
4848
</execution>
4949
</executions>
5050
</plugin>
51+
<plugin>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-gpg-plugin</artifactId>
54+
<version>1.6</version>
55+
<executions>
56+
<execution>
57+
<id>sign-artifacts</id>
58+
<phase>verify</phase>
59+
<goals>
60+
<goal>sign</goal>
61+
</goals>
62+
<configuration>
63+
<gpgArguments>
64+
<arg>--pinentry-mode</arg>
65+
<arg>loopback</arg>
66+
</gpgArguments>
67+
</configuration>
68+
</execution>
69+
</executions>
70+
</plugin>
71+
<plugin>
72+
<groupId>org.sonatype.plugins</groupId>
73+
<artifactId>nexus-staging-maven-plugin</artifactId>
74+
<version>1.6.8</version>
75+
<extensions>true</extensions>
76+
<configuration>
77+
<serverId>ossrh</serverId>
78+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
79+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
80+
</configuration>
81+
</plugin>
5182
</plugins>
5283
</build>
5384
</profile>

0 commit comments

Comments
 (0)