Skip to content

Commit 9bcdf62

Browse files
committed
force using Maven deploy plugin
1 parent 4bd49a0 commit 9bcdf62

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

parent/pom.xml

+15-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242

4343
<build>
4444
<plugins>
45-
<plugin> <!-- updated on 29/07/2015 -->
45+
<!--
46+
<plugin> updated on 29/07/2015
4647
<groupId>org.sonatype.plugins</groupId>
4748
<artifactId>nexus-staging-maven-plugin</artifactId>
4849
<version>1.6.3</version>
@@ -53,7 +54,7 @@
5354
<autoReleaseAfterClose>true</autoReleaseAfterClose>
5455
</configuration>
5556
</plugin>
56-
57+
-->
5758
<plugin> <!-- updated on 29/07/2015 -->
5859
<groupId>org.apache.maven.plugins</groupId>
5960
<artifactId>maven-source-plugin</artifactId>
@@ -166,6 +167,16 @@
166167
<id>ossrh</id>
167168
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
168169
</snapshotRepository>
170+
<repository>
171+
<id>ossrh</id>
172+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
173+
</repository>
174+
<!--
175+
<snapshotRepository>
176+
<id>ossrh</id>
177+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
178+
</snapshotRepository>
179+
-->
169180
</distributionManagement>
170181

171182
<profiles>
@@ -234,6 +245,8 @@
234245
<artifactId>maven-release-plugin</artifactId>
235246
<version>2.5.2</version>
236247
<configuration>
248+
<mavenExecutorId>forked-path</mavenExecutorId>
249+
<arguments>-Psonatype-oss-release</arguments>
237250
<autoVersionSubmodules>false</autoVersionSubmodules>
238251
<useReleaseProfile>false</useReleaseProfile>
239252
<releaseProfiles>release</releaseProfiles>

0 commit comments

Comments
 (0)