Skip to content

Commit

Permalink
Improve Maven enforcer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Oct 25, 2022
1 parent 57afb24 commit da45d26
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -345,18 +345,30 @@
</goals>
<configuration>
<rules>
<!-- Built-In Rules -->
<banDuplicatePomDependencyVersions/>
<dependencyConvergence/>
<reactorModuleConvergence/>
<requireMavenVersion>
<version>3.6.0</version>
</requireMavenVersion>
<DependencyConvergence/>
<requireNoRepositories>
<allowSnapshotRepositories>true</allowSnapshotRepositories>
</requireNoRepositories>
<requirePluginVersions/>
<requireReleaseDeps>
<onlyWhenRelease>true</onlyWhenRelease>
</requireReleaseDeps>
<CheckMavenCentral
<requireUpperBoundDeps/>
<!-- pomchecker-enforcer-rules -->
<checkMavenCentral
implementation="org.kordamp.maven.enforcer.checker.CheckMavenCentral">
<release>false</release>
<strict>false</strict>
</CheckMavenCentral>
</checkMavenCentral>
<!-- extra-enforcer-rules -->
<banCircularDependencies/>
<banDuplicateClasses/>
<enforceBytecodeVersion>
<maxJdkVersion>8</maxJdkVersion>
<ignoredScopes>
Expand Down

0 comments on commit da45d26

Please sign in to comment.