From 9ab3bc578adf6f095b3da4f8e5b388d8268babbc Mon Sep 17 00:00:00 2001 From: Anaël Closson Date: Mon, 28 Aug 2017 15:35:58 +0200 Subject: Warn project for outdated dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Projects using oparent as parent should have information about outdated dependencies. This is done at validation phase. A (template of a) list of rules is provided to ignore certain versions, a more importantly to ignore all versions of an artifact but one. This might be use to warn projects not using the needed dependency of an artifact when preparing for an specific release of ONAP. Current rule file is commented as it breaks it's not available on the git repository. Change-Id: I30bbbe5d14d8f297f046700963cc5a238e41901f Issue-id:INT-121 Signed-off-by: Anaël Closson --- pom.xml | 22 +++++++++++++++ versions/pom.xml | 27 ++++++++++++++++++ .../src/main/resources/onap-versions/ruleset.xml | 33 ++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 versions/pom.xml create mode 100644 versions/src/main/resources/onap-versions/ruleset.xml diff --git a/pom.xml b/pom.xml index ebab15a..ab67a2f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,7 @@ + + + + @@ -96,6 +114,10 @@ org.apache.maven.plugins maven-site-plugin + + org.codehaus.mojo + versions-maven-plugin + diff --git a/versions/pom.xml b/versions/pom.xml new file mode 100644 index 0000000..fb568f4 --- /dev/null +++ b/versions/pom.xml @@ -0,0 +1,27 @@ + + + + 4.0.0 + + org.onap.oparent + version + 1.0.0-SNAPSHOT + .. + + versions + oparent/versions + diff --git a/versions/src/main/resources/onap-versions/ruleset.xml b/versions/src/main/resources/onap-versions/ruleset.xml new file mode 100644 index 0000000..a846008 --- /dev/null +++ b/versions/src/main/resources/onap-versions/ruleset.xml @@ -0,0 +1,33 @@ + + + + + + + + -- cgit 1.2.3-korg