Skip to content

Commit 721abb0

Browse files
Carter PageCarter Page
authored andcommitted
Updated pom.xml file for new release process.
1 parent f7ebd4b commit 721abb0

File tree

1 file changed

+33
-39
lines changed

1 file changed

+33
-39
lines changed

pom.xml

Lines changed: 33 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>org.skyscreamer</groupId>
66
<artifactId>jsonassert</artifactId>
7-
<version>1.5.3</version>
7+
<version>1.5.3-SNAPSHOT</version>
88
<packaging>jar</packaging>
99

1010
<name>JSONassert</name>
@@ -76,36 +76,6 @@
7676
<groupId>org.apache.maven.plugins</groupId>
7777
<artifactId>maven-site-plugin</artifactId>
7878
</plugin>
79-
<plugin>
80-
<groupId>org.apache.maven.plugins</groupId>
81-
<artifactId>maven-source-plugin</artifactId>
82-
<version>2.2.1</version>
83-
<executions>
84-
<execution>
85-
<id>attach-sources</id>
86-
<goals>
87-
<goal>jar-no-fork</goal>
88-
</goals>
89-
</execution>
90-
</executions>
91-
</plugin>
92-
<plugin>
93-
<groupId>org.apache.maven.plugins</groupId>
94-
<artifactId>maven-javadoc-plugin</artifactId>
95-
<version>2.9.1</version>
96-
<executions>
97-
<execution>
98-
<id>attach-javadocs</id>
99-
<goals>
100-
<goal>jar</goal>
101-
</goals>
102-
</execution>
103-
</executions>
104-
<configuration>
105-
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
106-
<source>8</source>
107-
</configuration>
108-
</plugin>
10979
<plugin>
11080
<groupId>org.sonatype.plugins</groupId>
11181
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -114,7 +84,7 @@
11484
<configuration>
11585
<serverId>ossrh</serverId>
11686
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
117-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
87+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
11888
</configuration>
11989
<dependencies>
12090
<dependency>
@@ -157,15 +127,39 @@
157127

158128
<profiles>
159129
<profile>
160-
<id>release-sign-artifacts</id>
161-
<activation>
162-
<property>
163-
<name>performRelease</name>
164-
<value>true</value>
165-
</property>
166-
</activation>
130+
<id>deploy</id>
167131
<build>
168132
<plugins>
133+
<plugin>
134+
<groupId>org.apache.maven.plugins</groupId>
135+
<artifactId>maven-source-plugin</artifactId>
136+
<version>2.2.1</version>
137+
<executions>
138+
<execution>
139+
<id>attach-sources</id>
140+
<goals>
141+
<goal>jar-no-fork</goal>
142+
</goals>
143+
</execution>
144+
</executions>
145+
</plugin>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-javadoc-plugin</artifactId>
149+
<version>2.9.1</version>
150+
<executions>
151+
<execution>
152+
<id>attach-javadocs</id>
153+
<goals>
154+
<goal>jar</goal>
155+
</goals>
156+
</execution>
157+
</executions>
158+
<configuration>
159+
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
160+
<source>${maven.compiler.release}</source>
161+
</configuration>
162+
</plugin>
169163
<plugin>
170164
<groupId>org.apache.maven.plugins</groupId>
171165
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)