aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-07-30 09:09:53 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-07-30 09:09:53 +0200
commitdf165ab527037528e3a1531bd80073e45fdbf7ee (patch)
tree536f03e27bb591f1e41452da7eedb239b5a23286 /pom.xml
parentc1b25dea78482e61120549431622c5efa7ae5099 (diff)
downloadsonarqube-df165ab527037528e3a1531bd80073e45fdbf7ee.tar.gz
sonarqube-df165ab527037528e3a1531bd80073e45fdbf7ee.zip
Merge enforcer rules
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml16
1 files changed, 1 insertions, 15 deletions
diff --git a/pom.xml b/pom.xml
index 2f3542b3a3a..240715163b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -349,22 +349,8 @@
</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>