Make SNAPSHOT dependency checks WARN only for now
[oparent.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index cc9da52..2728d55 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -27,6 +27,7 @@
     <module>checkstyle</module>
     <module>license</module>
     <module>oparent</module>
+    <module>version-check-maven-plugin</module>
   </modules>
   <properties>
     <maven.compiler.source>1.8</maven.compiler.source>
                   <requireReleaseDeps>
                     <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
                     <onlyWhenRelease>true</onlyWhenRelease>
+                    <level>WARN</level>
                   </requireReleaseDeps>
                 </rules>
               </configuration>
             </execution>
           </executions>
         </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>versions-maven-plugin</artifactId>
-          <version>2.4</version>
-          <executions>
-            <execution>
-              <id>check-dependencies-version</id>
-              <phase>validate</phase>
-              <goals>
-                <goal>display-dependency-updates</goal>
-              </goals>
-              <configuration>
-                <!--<rulesUri>https://git.onap.org/oparent/plain/oparent/versions/src/main/resources/onap-versions/ruleset.xml</rulesUri>-->
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>versions-maven-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 </project>