Skip to content

Fixed #3102 - Prerequisites usages in pom.xml #3103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion antlr4-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<description>Maven plugin for ANTLR 4 grammars</description>

<prerequisites>
<maven>3.0</maven>
<maven>3.0.5</maven>
</prerequisites>

<!-- Ancilliary information for completeness -->
Expand Down
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,31 @@
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<!--
! The following only needed because the oss-parent uses the version hard coded in
! the build area instead of controlling that via pluginManagement.
! Solution: Do not use oss-parent anymore.
-->
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.3.9</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
Expand Down Expand Up @@ -161,6 +186,11 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down
4 changes: 0 additions & 4 deletions runtime-testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
<name>ANTLR 4 Runtime Tests (2nd generation)</name>
<description>A collection of tests for ANTLR 4 Runtime libraries.</description>

<prerequisites>
<maven>3.0</maven>
</prerequisites>

<inceptionYear>2009</inceptionYear>

<dependencies>
Expand Down
4 changes: 0 additions & 4 deletions tool-testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
<name>ANTLR 4 Tool Tests</name>
<description>A collection of tests for ANTLR 4 Runtime libraries.</description>

<prerequisites>
<maven>3.0</maven>
</prerequisites>

<inceptionYear>2009</inceptionYear>

<dependencies>
Expand Down