Class BanDistributionManagement.DistributionManagementCheck

java.lang.Object
org.apache.maven.enforcer.rules.BanDistributionManagement.DistributionManagementCheck
Enclosing class:
BanDistributionManagement

private static class BanDistributionManagement.DistributionManagementCheck extends Object
  • Field Details

    • distributionManagement

      private org.apache.maven.model.DistributionManagement distributionManagement
  • Constructor Details

    • DistributionManagementCheck

      DistributionManagementCheck(org.apache.maven.project.MavenProject project)
  • Method Details

    • execute

      public void execute(boolean isAllowRepository, boolean isAllowSnapshotRepository, boolean isAllowSite) throws EnforcerRuleException
      Throws:
      EnforcerRuleException
    • hasRepository

      private boolean hasRepository()
    • getDistributionManagement

      public org.apache.maven.model.DistributionManagement getDistributionManagement()
    • setDistributionManagement

      public void setDistributionManagement(org.apache.maven.model.DistributionManagement distributionManagement)
    • hasSnapshotRepository

      private boolean hasSnapshotRepository()
    • hasSite

      private boolean hasSite()
    • hasDistributionManagement

      private boolean hasDistributionManagement()