|
40 | 40 | <version.compiler.plugin>3.11.0</version.compiler.plugin>
|
41 | 41 | <version.enforcer.plugin>3.2.1</version.enforcer.plugin>
|
42 | 42 | <version.surefire.plugin>3.1.2</version.surefire.plugin>
|
43 |
| - <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> |
44 | 43 | <jandex.version>3.1.3</jandex.version>
|
45 | 44 |
|
46 | 45 | <!-- Dependency versions -->
|
|
283 | 282 | <format.skip>true</format.skip>
|
284 | 283 | </properties>
|
285 | 284 | </profile>
|
286 |
| - <profile> |
287 |
| - <id>release</id> |
288 |
| - <build> |
289 |
| - <plugins> |
290 |
| - <plugin> |
291 |
| - <groupId>org.sonatype.plugins</groupId> |
292 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
293 |
| - <version>${nexus-staging-maven-plugin.version}</version> |
294 |
| - <extensions>true</extensions> |
295 |
| - <configuration> |
296 |
| - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
297 |
| - <serverId>ossrh</serverId> |
298 |
| - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
299 |
| - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
300 |
| - </configuration> |
301 |
| - </plugin> |
302 |
| - <plugin> |
303 |
| - <groupId>org.apache.maven.plugins</groupId> |
304 |
| - <artifactId>maven-source-plugin</artifactId> |
305 |
| - <executions> |
306 |
| - <execution> |
307 |
| - <id>attach-sources</id> |
308 |
| - <goals> |
309 |
| - <goal>jar-no-fork</goal> |
310 |
| - </goals> |
311 |
| - </execution> |
312 |
| - </executions> |
313 |
| - </plugin> |
314 |
| - <plugin> |
315 |
| - <groupId>org.apache.maven.plugins</groupId> |
316 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
317 |
| - <executions> |
318 |
| - <execution> |
319 |
| - <id>attach-javadocs</id> |
320 |
| - <goals> |
321 |
| - <goal>jar</goal> |
322 |
| - </goals> |
323 |
| - </execution> |
324 |
| - </executions> |
325 |
| - </plugin> |
326 |
| - <plugin> |
327 |
| - <!-- ## IMPORTANT ## In your ~/.m2/settings.xml you |
328 |
| - need to add and edit the following profile: |
329 |
| - <profile> |
330 |
| - <id>release</id> |
331 |
| - <properties> |
332 |
| - <gpg.useagent>false</gpg.useagent> |
333 |
| - <gpg.executable>/usr/local/Cellar/[email protected]/1.4.23_1/bin/gpg1</gpg.executable> <- use gpg1 on Mac OS X |
334 |
| - <gpg.homedir>~/.gnupg</gpg.homedir> <- Update to your own directory <gpg.passphrase>******</gpg.passphrase> <- Add your passphrase |
335 |
| - </properties> |
336 |
| - </profile> |
337 |
| - --> |
338 |
| - <groupId>org.apache.maven.plugins</groupId> |
339 |
| - <artifactId>maven-gpg-plugin</artifactId> |
340 |
| - <executions> |
341 |
| - <execution> |
342 |
| - <id>sign-artifacts</id> |
343 |
| - <phase>verify</phase> |
344 |
| - <goals> |
345 |
| - <goal>sign</goal> |
346 |
| - </goals> |
347 |
| - </execution> |
348 |
| - </executions> |
349 |
| - </plugin> |
350 |
| - </plugins> |
351 |
| - </build> |
352 |
| - </profile> |
353 | 285 | <profile>
|
354 | 286 | <id>format</id>
|
355 | 287 | <activation>
|
|
0 commit comments