Stephan Herrmann | 9a98101 | 2017-01-01 11:05:54 +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.jdt.publish2maven</artifactId> |
| 6 | <version>0.0.1-SNAPSHOT</version> |
| 7 | <packaging>pom</packaging> |
| 8 | |
| 9 | <properties> |
| 10 | <gpg.key.id>B414F87E</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> |
| 31 | </configuration> |
| 32 | </plugin> |
| 33 | <plugin> |
| 34 | <groupId>org.sonatype.plugins</groupId> |
| 35 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 36 | <version>1.1</version> |
| 37 | <extensions>true</extensions> |
| 38 | <configuration> |
| 39 | <!-- The Base URL of Nexus instance where we want to stage --> |
| 40 | <nexusUrl>https://oss.sonatype.org/service/local/staging/deploy/maven2/</nexusUrl> |
| 41 | <!-- The server "id" element from settings to use authentication from --> |
| 42 | <serverId>ossrh</serverId> |
| 43 | </configuration> |
| 44 | </plugin> |
| 45 | </plugins> |
| 46 | </build> |
| 47 | </project> |