Skip to content

Commit

Permalink
Fix maven build stability by removing incorrect <requirements> elemen…
Browse files Browse the repository at this point in the history
…t - maven version is correctly already being enforced by maven-enforcer-plugin.

Avoids the [WARNING] The project org.jgroups:jgroups:jar:5.3.1.Final-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
  • Loading branch information
rhusar committed Dec 14, 2023
1 parent 6b24ab0 commit 5a3bd5a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@
</snapshotRepository>
</distributionManagement>

<prerequisites>
<maven>3.0.4</maven>
</prerequisites>

<repositories>
<repository>
<id>jboss-public-repository-group</id>
Expand Down Expand Up @@ -99,8 +95,6 @@
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>


</repositories>

<dependencies>
Expand Down

0 comments on commit 5a3bd5a

Please sign in to comment.