Skip to content
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

Use Enforcer 3.0.0 and matching extra enforcer rules #456

Merged
merged 8 commits into from
Nov 16, 2021
7 changes: 5 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version> <!-- TODO 3.0.0 when released -->
<version>3.0.0</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
Expand Down Expand Up @@ -537,8 +537,11 @@
</bannedDependencies>
<requireUpperBoundDeps>
<excludes>
<exclude>javax.servlet:javax.servlet-api</exclude>
<exclude>javax.servlet:servlet-api</exclude>
<exclude>com.google.guava:guava</exclude> <!-- TODO needed for Jenkins 2.71 and earlier -->
<exclude>commons-logging:commons-logging</exclude> <!-- ditto -->
<exclude>com.google.code.findbugs:annotations</exclude>
<exclude>com.google.code.findbugs:jsr305</exclude> <!-- ditto -->
<exclude>net.java.dev.jna:jna</exclude> <!-- needed for Jenkins 1.585 and earlier -->
</excludes>
Expand Down Expand Up @@ -572,7 +575,7 @@
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.3</version>
<version>1.4</version>
</dependency>
</dependencies>
</plugin>
Expand Down