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

public class RequiresMinimalDeploymentDependency extends DeploymentDependencyRuleSupport
Enforces that for each direct "runtime" dependency the current project also defines a direct minimal "*-deployment" dependency to produce a consistent build order.
  • 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,org.apache.maven.model.Dependency> directDepsByGAV) throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
      Specified by:
      execute in class DeploymentDependencyRuleSupport
      Throws:
      org.apache.maven.enforcer.rule.api.EnforcerRuleException