diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,6 +41,7 @@ <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> <enforcer.skip>false</enforcer.skip> <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled> + <enforcerToDisableSnapshot>false</enforcerToDisableSnapshot> </properties> <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml @@ -313,7 +314,7 @@ <message>No Snapshots Allowed!</message> </requireReleaseVersion> </rules> - <fail>false</fail> + <fail>${enforcerToDisableSnapshot}</fail> </configuration> </execution> </executions> |