|
20 | 20 | </licenses> |
21 | 21 |
|
22 | 22 | <distributionManagement> |
| 23 | + <!-- Central Repository --> |
23 | 24 | <snapshotRepository> |
24 | 25 | <id>ossrh</id> |
25 | 26 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
|
50 | 51 | <id>deploy</id> |
51 | 52 | <build> |
52 | 53 | <plugins> |
| 54 | + <!-- Source plugin --> |
53 | 55 | <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> |
63 | 67 | </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 --> |
64 | 85 | <plugin> |
65 | 86 | <groupId>org.apache.maven.plugins</groupId> |
66 | 87 | <artifactId>maven-gpg-plugin</artifactId> |
|
72 | 93 | <goals> |
73 | 94 | <goal>sign</goal> |
74 | 95 | </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> |
75 | 103 | </execution> |
76 | 104 | </executions> |
77 | 105 | </plugin> |
|
189 | 217 | <plugin> |
190 | 218 | <groupId>org.sonatype.plugins</groupId> |
191 | 219 | <artifactId>nexus-staging-maven-plugin</artifactId> |
192 | | - <version>1.6.7</version> |
| 220 | + <version>1.6.8</version> |
193 | 221 | <extensions>true</extensions> |
194 | 222 | <configuration> |
195 | 223 | <serverId>ossrh</serverId> |
196 | 224 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
197 | 225 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
198 | 226 | </configuration> |
199 | 227 | </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> |
232 | 228 | <plugin> |
233 | 229 | <groupId>org.apache.maven.plugins</groupId> |
234 | 230 | <artifactId>maven-gpg-plugin</artifactId> |
|
0 commit comments