Add a banRepositories rule
--------------------------

                 Key: MENFORCER-86
                 URL: http://jira.codehaus.org/browse/MENFORCER-86
             Project: Maven 2.x Enforcer Plugin
          Issue Type: New Feature
          Components: Standard Rules
            Reporter: Stephen Connolly


This rule is needed so that we can enforce the "no repositories" requirement of 
Maven Central Repository.

I would see something like (these would be defaults>

<banRepositories>
  <allowSnapshots>true</allowSnapshots> <!-- if a repo can resolve -SNAPSHOTs, 
I'm ok with it being in the pom -->
  <allowReleases>false</allowReleases> <!-- if a repo can resolve releases, 
these two defaults would result in -SNAPSHOT only repositories being allowed by 
default -->
  <ignoreRepositories>
    <!--ignoreRepository>id of repository</ignoreRepository-->  
  </ignoreRepositories>
</banRepositories>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to