-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
enhancementNew feature or requestNew feature or request
Description
New feature, improvement proposal
I was using both of these custom rules to requirement all versions to be managed in a dependencyManagement section.
<requireManagedDeps implementation="org.commonjava.maven.enforcer.rule.EnforceManagedDepsRule">
<checkProfiles>true</checkProfiles>
<failOnViolation>true</failOnViolation>
</requireManagedDeps>
<dependencyManagementRule implementation="com.hubspot.maven.plugins.dependency.management.DependencyManagementRule">
<requireManagement>
<dependencies>true</dependencies>
<plugins>true</plugins>
<allowVersions>false</allowVersions>
<allowExclusions>true</allowExclusions>
</requireManagement>
</dependencyManagementRule>
But with the new enforcer plugin I get warnings
[WARNING] ruleName requireManagedDeps with implementation org.commonjava.maven.enforcer.rule.EnforceManagedDepsRuleuses the deprecated Maven Enforcer Plugin API. This will not be supported in a future version of the plugin. Please contact the rule mainta iner to upgrade the rule implementation to the current API.
Could there be a builtin rule rather?
estekhin
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request