Add back ruleset.xml referred to by v0.1.0 13/10013/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 1 Sep 2017 21:54:52 +0000 (14:54 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 1 Sep 2017 21:57:18 +0000 (14:57 -0700)
Add back ruleset.xml since it's referred to
by the released v0.1.0 artifact.

Issue-ID: INT-121
Change-Id: Ifa939b7d506ef3dd7d2d4180efba1d153645d6cf
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
versions/src/main/resources/onap-versions/README.md [new file with mode: 0644]
versions/src/main/resources/onap-versions/ruleset.xml [new file with mode: 0644]

diff --git a/versions/src/main/resources/onap-versions/README.md b/versions/src/main/resources/onap-versions/README.md
new file mode 100644 (file)
index 0000000..6387216
--- /dev/null
@@ -0,0 +1,3 @@
+The ruleset.xml file in this directory is no longer in active use, but 
+is kept here because the released oparent 0.1.0 artifact refers to it 
+via git.onap.org.
diff --git a/versions/src/main/resources/onap-versions/ruleset.xml b/versions/src/main/resources/onap-versions/ruleset.xml
new file mode 100644 (file)
index 0000000..a846008
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Copyright (C) 2017 AT&T Intellectual Property
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<ruleset comparisonMethod="maven"
+         xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0" 
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 http://www.mojohaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">
+  <rules>
+    <!-- The following rule is given as example of how to specify the only valid version of a
+         component when display-dependency-updates is invoked.
+    -->
+    <!--
+    <rule groupId="org.onap" artifactId="oparent" comparisonMethod="maven">
+      <ignoreVersions>
+        <ignoreVersion type="regex">^((?!1.0.0).)*$</ignoreVersion>
+      </ignoreVersions>
+    </rule>
+    -->
+  </rules>
+</ruleset>