Skip to content

Commit 4bd49a0

Browse files
committed
remove oss-parent upgrade deployment plugin
1 parent 171060a commit 4bd49a0

File tree

1 file changed

+28
-29
lines changed

1 file changed

+28
-29
lines changed

parent/pom.xml

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
<packaging>pom</packaging>
1010
<url>http://www.minidev.net/</url>
1111

12-
<parent>
13-
<groupId>org.sonatype.oss</groupId>
14-
<artifactId>oss-parent</artifactId>
15-
<version>7</version>
16-
</parent>
17-
1812
<organization>
1913
<name>Chemouni Uriel</name>
2014
<url>http://www.minidev.net/</url>
@@ -48,21 +42,27 @@
4842

4943
<build>
5044
<plugins>
51-
<!-- <plugin> -->
52-
<!-- <groupId>org.apache.felix</groupId> -->
53-
<!-- <artifactId>maven-bundle-plugin</artifactId> -->
54-
<!-- <extensions>true</extensions> -->
55-
<!-- <version>2.3.7</version> -->
56-
<!-- </plugin> -->
57-
<plugin>
45+
<plugin> <!-- updated on 29/07/2015 -->
46+
<groupId>org.sonatype.plugins</groupId>
47+
<artifactId>nexus-staging-maven-plugin</artifactId>
48+
<version>1.6.3</version>
49+
<extensions>true</extensions>
50+
<configuration>
51+
<serverId>ossrh</serverId>
52+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
53+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
54+
</configuration>
55+
</plugin>
56+
57+
<plugin> <!-- updated on 29/07/2015 -->
5858
<groupId>org.apache.maven.plugins</groupId>
5959
<artifactId>maven-source-plugin</artifactId>
60-
<version>2.1.2</version>
60+
<version>2.4</version>
6161
<executions>
6262
<execution>
6363
<id>bind-sources</id>
6464
<goals>
65-
<goal>jar</goal>
65+
<goal>jar-no-fork</goal>
6666
</goals>
6767
</execution>
6868
</executions>
@@ -104,10 +104,10 @@
104104
</configuration>
105105
</plugin>
106106

107-
<plugin>
107+
<plugin> <!-- updated on 29/07/2015 -->
108108
<groupId>org.apache.maven.plugins</groupId>
109109
<artifactId>maven-javadoc-plugin</artifactId>
110-
<version>2.10.1</version>
110+
<version>2.10.3</version>
111111
<!-- ONLY NEEDED With jdk 1.7+ -->
112112
<configuration>
113113
<failOnError>false</failOnError>
@@ -162,15 +162,8 @@
162162
</modules>
163163

164164
<distributionManagement>
165-
<repository>
166-
<id>sonatype-nexus-staging</id>
167-
<name>Nexus Release Repository</name>
168-
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
169-
</repository>
170-
171165
<snapshotRepository>
172-
<id>sonatype-nexus-snapshots</id>
173-
<name>My Nexus Snapshots Repository</name>
166+
<id>ossrh</id>
174167
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
175168
</snapshotRepository>
176169
</distributionManagement>
@@ -204,11 +197,11 @@
204197
- -sign - -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
205198
"mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package gpg:sign"
206199
instead; see the issue MGPG-18 -->
207-
<plugin>
200+
<plugin> <!-- updated on 29/07/2015 -->
208201
<groupId>org.apache.maven.plugins</groupId>
209202
<artifactId>maven-gpg-plugin</artifactId>
210-
<!-- <version>1.0-alpha-4</version> -->
211-
<version>1.2</version>
203+
204+
<version>1.6</version>
212205
<executions>
213206
<execution>
214207
<id>sign-artifacts</id>
@@ -239,7 +232,13 @@
239232
<plugin>
240233
<groupId>org.apache.maven.plugins</groupId>
241234
<artifactId>maven-release-plugin</artifactId>
242-
<version>2.1</version>
235+
<version>2.5.2</version>
236+
<configuration>
237+
<autoVersionSubmodules>false</autoVersionSubmodules>
238+
<useReleaseProfile>false</useReleaseProfile>
239+
<releaseProfiles>release</releaseProfiles>
240+
<goals>deploy</goals>
241+
</configuration>
243242
</plugin>
244243
</plugins>
245244
</build>

0 commit comments

Comments
 (0)