Skip to content

Commit a9ee30e

Browse files
committed
Updated pom
1 parent 3d28350 commit a9ee30e

File tree

1 file changed

+38
-42
lines changed

1 file changed

+38
-42
lines changed

pom.xml

Lines changed: 38 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
</licenses>
2121

2222
<distributionManagement>
23+
<!-- Central Repository -->
2324
<snapshotRepository>
2425
<id>ossrh</id>
2526
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
@@ -50,17 +51,37 @@
5051
<id>deploy</id>
5152
<build>
5253
<plugins>
54+
<!-- Source plugin -->
5355
<plugin>
54-
<groupId>org.sonatype.plugins</groupId>
55-
<artifactId>nexus-staging-maven-plugin</artifactId>
56-
<version>1.6.7</version>
57-
<extensions>true</extensions>
58-
<configuration>
59-
<serverId>ossrh</serverId>
60-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
61-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
62-
</configuration>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<artifactId>maven-source-plugin</artifactId>
58+
<version>2.4</version>
59+
<executions>
60+
<execution>
61+
<id>attach-sources</id>
62+
<goals>
63+
<goal>jar-no-fork</goal>
64+
</goals>
65+
</execution>
66+
</executions>
6367
</plugin>
68+
69+
<!-- Javadoc plugin -->
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-javadoc-plugin</artifactId>
73+
<version>2.10.4</version>
74+
<executions>
75+
<execution>
76+
<id>attach-javadocs</id>
77+
<goals>
78+
<goal>jar</goal>
79+
</goals>
80+
</execution>
81+
</executions>
82+
</plugin>
83+
84+
<!-- GPG plugin -->
6485
<plugin>
6586
<groupId>org.apache.maven.plugins</groupId>
6687
<artifactId>maven-gpg-plugin</artifactId>
@@ -72,6 +93,13 @@
7293
<goals>
7394
<goal>sign</goal>
7495
</goals>
96+
<configuration>
97+
<!-- Prevent `gpg` from using pinentry programs -->
98+
<gpgArguments>
99+
<arg>--pinentry-mode</arg>
100+
<arg>loopback</arg>
101+
</gpgArguments>
102+
</configuration>
75103
</execution>
76104
</executions>
77105
</plugin>
@@ -189,46 +217,14 @@
189217
<plugin>
190218
<groupId>org.sonatype.plugins</groupId>
191219
<artifactId>nexus-staging-maven-plugin</artifactId>
192-
<version>1.6.7</version>
220+
<version>1.6.8</version>
193221
<extensions>true</extensions>
194222
<configuration>
195223
<serverId>ossrh</serverId>
196224
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
197225
<autoReleaseAfterClose>true</autoReleaseAfterClose>
198226
</configuration>
199227
</plugin>
200-
<plugin>
201-
<groupId>org.apache.maven.plugins</groupId>
202-
<artifactId>maven-source-plugin</artifactId>
203-
<version>3.0.1</version>
204-
<executions>
205-
<execution>
206-
<id>attach-sources</id>
207-
<goals>
208-
<goal>jar</goal>
209-
</goals>
210-
</execution>
211-
</executions>
212-
</plugin>
213-
<plugin>
214-
<groupId>org.apache.maven.plugins</groupId>
215-
<artifactId>maven-javadoc-plugin</artifactId>
216-
<version>3.1.1</version>
217-
<configuration>
218-
<additionalOptions>
219-
</additionalOptions>
220-
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
221-
<failOnError>false</failOnError>
222-
</configuration>
223-
<executions>
224-
<execution>
225-
<id>attach-javadocs</id>
226-
<goals>
227-
<goal>jar</goal>
228-
</goals>
229-
</execution>
230-
</executions>
231-
</plugin>
232228
<plugin>
233229
<groupId>org.apache.maven.plugins</groupId>
234230
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)