Class DistributionManagementCheck

java.lang.Object
org.apache.maven.plugins.enforcer.utils.DistributionManagementCheck

public class DistributionManagementCheck extends Object
  • Field Details

    • distributionManagement

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

    • DistributionManagementCheck

      public 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()