Skip to content

Commit b8914b5

Browse files
committed
Add release profile to pom
1 parent 5c28462 commit b8914b5

File tree

1 file changed

+11
-27
lines changed

1 file changed

+11
-27
lines changed

pom.xml

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,22 @@
2222
<insecure.repositories>ERROR</insecure.repositories>
2323
<log4j2.version>2.23.0</log4j2.version>
2424
<version.maven.javadoc>3.11.2</version.maven.javadoc>
25+
<nexus3.plugin.version>1.0.13</nexus3.plugin.version>
26+
<enforcer.plugin.version>3.6.2</enforcer.plugin.version>
27+
<gpg.plugin.version>3.2.8</gpg.plugin.version>
2528
</properties>
2629

2730
<organization>
28-
<name>JBoss, a division of Red Hat</name>
31+
<name>JBoss, IBM</name>
2932
<url>http://www.jboss.org</url>
3033
</organization>
3134

3235
<developers>
3336
<developer>
3437
<name>Bela Ban</name>
3538
<email>belaban@gmail.com</email>
39+
<organization>IBM</organization>
40+
<organizationUrl>http://www.ibm.com</organizationUrl>
3641
</developer>
3742
</developers>
3843

@@ -151,7 +156,7 @@
151156
<plugin>
152157
<groupId>org.sonatype.plugins</groupId>
153158
<artifactId>nxrm3-maven-plugin</artifactId>
154-
<version>1.0.7</version>
159+
<version>${nexus3.plugin.version}</version>
155160
<extensions>true</extensions>
156161
<configuration>
157162
<!-- After Nexus migration https://repository.jboss.org will be here instead -->
@@ -203,7 +208,7 @@
203208
<plugin>
204209
<groupId>org.apache.maven.plugins</groupId>
205210
<artifactId>maven-enforcer-plugin</artifactId>
206-
<version>3.4.0</version>
211+
<version>${enforcer.plugin.version}</version>
207212
<executions>
208213
<execution>
209214
<id>enforce-java</id>
@@ -315,6 +320,7 @@
315320
<addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
316321
</manifest>
317322
</archive>
323+
<defaultManifestFile/>
318324
</configuration>
319325
<executions>
320326
<execution>
@@ -336,8 +342,6 @@
336342
<addDefaultEntries>true</addDefaultEntries>
337343
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
338344
<addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
339-
<!--addClasspath>true</addClasspath-->
340-
<!--classpathPrefix>libs/</classpathPrefix-->
341345
<mainClass>org.jgroups.Version</mainClass>
342346
</manifest>
343347
<manifestEntries>
@@ -362,16 +366,6 @@
362366
</executions>
363367
</plugin>
364368

365-
<plugin>
366-
<groupId>org.apache.maven.plugins</groupId>
367-
<artifactId>maven-release-plugin</artifactId>
368-
<configuration>
369-
<arguments>-DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true</arguments>
370-
<preparationGoals>clean</preparationGoals>
371-
</configuration>
372-
373-
</plugin>
374-
375369
<!-- Disable default tests: they won't run since they are lacking configuration -->
376370
<plugin>
377371
<groupId>org.apache.maven.plugins</groupId>
@@ -389,16 +383,6 @@
389383
</plugins>
390384
<pluginManagement>
391385
<plugins>
392-
<plugin>
393-
<groupId>org.apache.maven.plugins</groupId>
394-
<artifactId>maven-release-plugin</artifactId>
395-
<version>3.0.1</version>
396-
</plugin>
397-
<plugin>
398-
<groupId>org.sonatype.plugins</groupId>
399-
<artifactId>nexus-staging-maven-plugin</artifactId>
400-
<version>1.7.0</version>
401-
</plugin>
402386
<plugin>
403387
<groupId>org.apache.maven.plugins</groupId>
404388
<artifactId>maven-antrun-plugin</artifactId>
@@ -498,7 +482,7 @@
498482

499483
<profiles>
500484
<profile>
501-
<id>community-release</id>
485+
<id>release</id>
502486
<activation>
503487
<activeByDefault>false</activeByDefault>
504488
</activation>
@@ -507,7 +491,7 @@
507491
<plugin>
508492
<groupId>org.apache.maven.plugins</groupId>
509493
<artifactId>maven-gpg-plugin</artifactId>
510-
<version>3.2.7</version>
494+
<version>${gpg.plugin.version}</version>
511495
<executions>
512496
<execution>
513497
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)