|
32 | 32 | </scm>
|
33 | 33 |
|
34 | 34 | <distributionManagement>
|
35 |
| - <!-- You'll probably want to test this out with a local copy of Nexus OSS. --> |
36 |
| - <!-- Remove these entries and uncomment the Sonatype Nexus repositories |
37 |
| - below when you actually want to release. --> |
38 | 35 | <snapshotRepository>
|
39 |
| - <id>localhost-nexus-snapshots</id> |
40 |
| - <name>Local Nexus snapshot repository</name> |
41 |
| - <url>http://localhost:8081/nexus/content/repositories/snapshots/</url> |
| 36 | + <id>sonatype-nexus-snapshots</id> |
| 37 | + <name>Sonatype Nexus snapshot repository</name> |
| 38 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
42 | 39 | </snapshotRepository>
|
43 | 40 | <repository>
|
44 |
| - <id>localhost-nexus-staging</id> |
45 |
| - <name>Local Nexus release repository</name> |
46 |
| - <url>http://localhost:8081/nexus/content/repositories/releases/</url> |
| 41 | + <id>sonatype-nexus-staging</id> |
| 42 | + <name>Sonatype Nexus release repository</name> |
| 43 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
47 | 44 | </repository>
|
48 |
| -<!-- <snapshotRepository> --> |
49 |
| -<!-- <id>sonatype-nexus-snapshots</id> --> |
50 |
| -<!-- <name>Sonatype Nexus snapshot repository</name> --> |
51 |
| -<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url> --> |
52 |
| -<!-- </snapshotRepository> --> |
53 |
| -<!-- <repository> --> |
54 |
| -<!-- <id>sonatype-nexus-staging</id> --> |
55 |
| -<!-- <name>Sonatype Nexus release repository</name> --> |
56 |
| -<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> --> |
57 |
| -<!-- </repository> --> |
58 | 45 | </distributionManagement>
|
59 | 46 |
|
60 | 47 | <properties>
|
|
151 | 138 | </executions>
|
152 | 139 | </plugin>
|
153 | 140 |
|
| 141 | + <plugin> |
| 142 | + <groupId>org.apache.maven.plugins</groupId> |
| 143 | + <artifactId>maven-deploy-plugin</artifactId> |
| 144 | + <version>2.8.1</version> |
| 145 | + </plugin> |
| 146 | + |
154 | 147 | <!-- Release configuration: -->
|
155 | 148 | <plugin>
|
156 | 149 | <groupId>org.apache.maven.plugins</groupId>
|
157 | 150 | <artifactId>maven-release-plugin</artifactId>
|
158 |
| - <version>2.4.1</version> |
| 151 | + <version>2.4.2</version> |
159 | 152 | <configuration>
|
160 | 153 | <mavenExecutorId>forked-path</mavenExecutorId>
|
161 | 154 | </configuration>
|
|
0 commit comments