]> source.dussan.org Git - sonarqube.git/commitdiff
Merge enforcer rules
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 30 Jul 2013 07:09:53 +0000 (09:09 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 30 Jul 2013 07:09:53 +0000 (09:09 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index 2f3542b3a3a768ba124014ef2f13adf2b585e7be..240715163b3c6c1600f0b62ecf278882387191e8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                   </excludes>
                   <searchTransitive>true</searchTransitive>
                 </bannedDependencies>
-              </rules>
-            </configuration>
-          </execution>
-          <execution>
-            <!-- TODO Merge with execution enforce-rules as soon as we will remove exclusions for this rule - see SONAR-2938 -->
-            <id>enforce-no-repositories</id>
-            <goals>
-              <goal>enforce</goal>
-            </goals>
-            <configuration>
-              <rules>
                 <requireNoRepositories>
-                  <!-- Also see SONAR-2849 -->
-                  <message>The rules for repo1.maven.org are that pom.xml files should not include repository
-                    definitions.
-                  </message>
+                  <message>Definition of new repositories is not allowed in order to deploy to central repository.</message>
                 </requireNoRepositories>
               </rules>
             </configuration>