Skip to content

Commit

Permalink
require maven 3.8.3 minimum for MNG-7214 fix
Browse files Browse the repository at this point in the history
This is required for https://issues.apache.org/jira/browse/MNG-7214 which avoids problems with competing javax annotations (example jsr250-api and javax.annotation-api)
  • Loading branch information
jodygarnett committed Mar 14, 2024
1 parent d7d36bf commit 45ab56e
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,36 @@
<artifactId>maven-toolchains-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<!-- build enviornment -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.8.3</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
Expand All @@ -269,7 +293,6 @@

<!-- resources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
Expand All @@ -295,7 +318,6 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludedGroups>org.fao.geonet.repository.AbstractSpringDataTest</excludedGroups>
Expand Down

0 comments on commit 45ab56e

Please sign in to comment.