Stephan Herrmann | aec6bf0 | 2016-12-31 17:25:42 +0100 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <groupId>org.eclipse.cbi</groupId> |
| 5 | <artifactId>org.eclipse.platform.publish2maven</artifactId> |
| 6 | <version>0.0.1-SNAPSHOT</version> |
| 7 | <packaging>pom</packaging> |
| 8 | |
| 9 | <properties> |
| 10 | <gpg.key.id>CC641282</gpg.key.id> |
| 11 | </properties> |
| 12 | |
| 13 | <distributionManagement> |
| 14 | <snapshotRepository> |
| 15 | <id>ossrh</id> |
| 16 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 17 | </snapshotRepository> |
| 18 | </distributionManagement> |
| 19 | |
| 20 | <build> |
| 21 | <plugins> |
| 22 | <plugin> |
| 23 | <groupId>org.apache.maven.plugins</groupId> |
| 24 | <artifactId>maven-gpg-plugin</artifactId> |
| 25 | <version>1.6</version> |
| 26 | <configuration> |
| 27 | <gpgArguments> |
| 28 | <arg>--default-key</arg> |
| 29 | <arg>${gpg.key.id}</arg> |
| 30 | </gpgArguments> |
Stephan Herrmann | 862ec7d | 2017-08-22 21:59:39 +0200 | [diff] [blame] | 31 | <retryFailedDeploymentCount>5</retryFailedDeploymentCount> |
Stephan Herrmann | aec6bf0 | 2016-12-31 17:25:42 +0100 | [diff] [blame] | 32 | </configuration> |
| 33 | </plugin> |
| 34 | <plugin> |
| 35 | <groupId>org.sonatype.plugins</groupId> |
| 36 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 37 | <version>1.1</version> |
| 38 | <extensions>true</extensions> |
| 39 | <configuration> |
| 40 | <!-- The Base URL of Nexus instance where we want to stage --> |
| 41 | <nexusUrl>https://oss.sonatype.org/service/local/staging/deploy/maven2/</nexusUrl> |
| 42 | <!-- The server "id" element from settings to use authentication from --> |
| 43 | <serverId>ossrh</serverId> |
| 44 | </configuration> |
| 45 | </plugin> |
| 46 | </plugins> |
| 47 | </build> |
| 48 | </project> |