Introduce new property to control enforcer execution
Add new property master_enforcerCheck_skip whith default value of
master_sanityCheck_skip that controls the execution of the enforcer
plugin only.
This allows to skip enforcer rules while executing all other sanity
checks.
diff --git a/maven_plugin_config-master/pom.xml b/maven_plugin_config-master/pom.xml
index 9494c97..5f99de4 100644
--- a/maven_plugin_config-master/pom.xml
+++ b/maven_plugin_config-master/pom.xml
@@ -40,6 +40,7 @@
<master_deployAtEnd>true</master_deployAtEnd>
<master_sanityCheck_skip>false</master_sanityCheck_skip>
<master_signatureCheck_skip>${master_sanityCheck_skip}</master_signatureCheck_skip>
+ <master_enforcerCheck_skip>${master_sanityCheck_skip}</master_enforcerCheck_skip>
<!-- Test Control -->
<master_unitTest_skip>false</master_unitTest_skip>
@@ -422,7 +423,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
- <skip>${master_sanityCheck_skip}</skip>
+ <skip>${master_enforcerCheck_skip}</skip>
<rules>
<requirePluginVersions>
<message>Build reproducibility : always define plugin versions</message>