Skip to content

Commit

Permalink
Merge pull request #147 from basil/enforcer
Browse files Browse the repository at this point in the history
Enable Maven Enforcer checks
  • Loading branch information
oleg-nenashev authored Jul 23, 2019
2 parents c739e79 + e971153 commit 4d1d212
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ THE SOFTWARE.
<jetty.version>9.4.5.v20170502</jetty.version>
<java.level>8</java.level>
<concurrency>1</concurrency> <!-- may use e.g. 2C for 2 × (number of cores) -->
<!--TODO: fix upper bounds -->
<!--Upper bounds: com.google.guava:guava:11.0.1, and com.google.code.findbugs:jsr305:1.3.9. Core update is needed-->
<enforcer.skip>true</enforcer.skip>
<!--TODO: fix FindBugs-->
<findbugs.failOnError>false</findbugs.failOnError>
</properties>
Expand Down Expand Up @@ -190,6 +187,25 @@ THE SOFTWARE.
<!-- version specified in grandparent pom -->
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<requireUpperBoundDeps>
<excludes combine.children="append">
<!--
Stapler requests Guava 14.0 and Jenkins core requests Guice 4.0 which requests
Guava 16.0.1. Core actually provides 11.0.1. Work around this mess by just
excluding Guava from the RequireUpperBoundDeps check. The long-term fix is
tracked in JENKINS-36779.
-->
<exclude>com.google.guava:guava</exclude>
</excludes>
</requireUpperBoundDeps>
</rules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 4d1d212

Please sign in to comment.