Merge "fixed some issues from sonar"
[portal.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 7c48401..157db9e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <hibernate.version>4.3.11.Final</hibernate.version>
                <fasterxml.version>2.8.11.4</fasterxml.version>
                <!-- NOT provided by OParent, unfortunately -->
-               <jacocoVersion>0.7.6.201602180812</jacocoVersion>
+               <jacocoVersion>0.8.1</jacocoVersion>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <encoding>UTF-8</encoding>
                <!-- <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions>  -->
                <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 
                      <message>No Snapshots Allowed!</message>
                     </requireReleaseVersion>
                     </rules>
-                    <fail>false</fail>
+                    <fail>${enforcerToDisableSnapshot}</fail>
                     </configuration>
                   </execution>
                  </executions>