diff options
author | 2020-05-22 22:39:38 +0530 | |
---|---|---|
committer | 2020-05-22 22:40:55 +0530 | |
commit | 1e564b4b4e246e2a78b9406977aebbb7285882f7 (patch) | |
tree | 756d0e09d4e4e4da24358da60b5ce32c9caee4eb | |
parent | 388d1164b2cbf3435b5f38cbfd8d597d4a9567b0 (diff) |
Added enforcer maven property
Added enforcer maven property
Issue-ID: PORTAL-908
Change-Id: Ia36b91d61c564243fd558202141d35725e797c83
Signed-off-by: jz385p <jegadeesh.babu@att.com>
-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> |