summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunder Tattavarada <statta@research.att.com>2020-05-26 19:06:18 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-26 19:06:18 +0000
commit40741524ce4371f6d1b0c4faef80018af405aac4 (patch)
tree78caf5cb180651e3ef91ecd1a604964342bc4dbd
parent91625da3bd1581c14a5d32fc67065db0116fd545 (diff)
parent1e564b4b4e246e2a78b9406977aebbb7285882f7 (diff)
Merge "Added enforcer maven property"
-rw-r--r--pom.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 7c484016..e988633d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>