Package io.quarkus.enforcer
Class RequiresMinimalDeploymentDependency
java.lang.Object
io.quarkus.enforcer.DeploymentDependencyRuleSupport
io.quarkus.enforcer.RequiresMinimalDeploymentDependency
- All Implemented Interfaces:
org.apache.maven.enforcer.rule.api.EnforcerRule,org.apache.maven.enforcer.rule.api.EnforcerRule2
Enforces that for each direct "runtime" dependency the current project also defines a direct minimal "*-deployment"
dependency to produce a consistent build order.
-
Field Summary
Fields inherited from class io.quarkus.enforcer.DeploymentDependencyRuleSupport
DEPLOYMENT_ARTIFACT_ID_SUFFIX, GROUP_ID_PREFIX, logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.quarkus.enforcer.DeploymentDependencyRuleSupport
buildGAVKey, execute, getCacheId, getLevel, isCacheable, isCheckRequired, isResultValid, parseDeploymentGAV, setLevel
-
Constructor Details
-
RequiresMinimalDeploymentDependency
public RequiresMinimalDeploymentDependency()
-
-
Method Details
-
execute
public void execute(org.apache.maven.project.MavenProject project, Map<String, org.apache.maven.artifact.Artifact> nonDeploymentArtifactsByGAV, Map<String, throws org.apache.maven.enforcer.rule.api.EnforcerRuleExceptionorg.apache.maven.model.Dependency> directDepsByGAV) - Specified by:
executein classDeploymentDependencyRuleSupport- Throws:
org.apache.maven.enforcer.rule.api.EnforcerRuleException
-