Disallow SNAPSHOT dependencies 49/21049/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 27 Oct 2017 17:53:27 +0000 (10:53 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 27 Oct 2017 17:53:27 +0000 (10:53 -0700)
Fail the build if SNAPSHOT dependencies are detected.

Change-Id: If2acd1ea46d013c632dcc1897e09bc853e236518
Issue-ID: INT-309
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index de75c2b..95ddde6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                   <requireReleaseDeps>
                     <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
                     <onlyWhenRelease>true</onlyWhenRelease>
-                    <level>WARN</level>
+                    <level>ERROR</level>
                   </requireReleaseDeps>
                 </rules>
               </configuration>