summaryrefslogtreecommitdiffstats
path: root/abi-check-plugin/pom.xml
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2018-12-03 12:37:38 +0100
committergjoranv <gv@oath.com>2019-01-21 15:09:29 +0100
commitc792cbb756feef9dd45bda7f9bd884bff73b4585 (patch)
treecbad0b9eec7af8d8756d48aeefa394fd879ff6fd /abi-check-plugin/pom.xml
parent001f1ad706f7ff40db3bcf80dcc86054bdf11447 (diff)
JDK 11 updates.
- Use Opcodes.ASM7 - Inherit maven-plugin-api version from parent (currently 3.6.0) - Use enforcer-plugin instead of Maven 2 prerequisites - Require maven 3.5 as for the rest of Vespa - Inherit asm version from parent to stay updated
Diffstat (limited to 'abi-check-plugin/pom.xml')
-rw-r--r--abi-check-plugin/pom.xml24
1 files changed, 19 insertions, 5 deletions
diff --git a/abi-check-plugin/pom.xml b/abi-check-plugin/pom.xml
index f844661ba5a..6931e0b9b2d 100644
--- a/abi-check-plugin/pom.xml
+++ b/abi-check-plugin/pom.xml
@@ -14,14 +14,10 @@
<packaging>maven-plugin</packaging>
<name>${project.artifactId}</name>
<description>Maven Plugin for ensuring ABI stability.</description>
- <prerequisites>
- <maven>2.2.1</maven>
- </prerequisites>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
- <version>3.5.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
@@ -35,7 +31,6 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
- <version>7.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
@@ -76,6 +71,25 @@
<artifactId>clover-maven-plugin</artifactId>
<version>4.3.1</version>
</plugin>
+ <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.5, )</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>