aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-08-09 11:36:52 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-09 11:36:52 +0000
commitf33ab1884d8c2f814c233a995965e22e63d2ca32 (patch)
tree10a3cd95a75e60b5d4c0df72fe4e69e1c12a7cd4
parentc66150dd419f6ac29b895c6880198a6cbc7ad1df (diff)
parent8860779ac1cfe86d0a62efa1406e656b7677c6b7 (diff)
Merge "move packages build + tweaking pom.xml"
-rw-r--r--controlloop/common/pom.xml1
-rw-r--r--controlloop/packages/apps/pom.xml (renamed from controlloop/common/packages/apps/pom.xml)0
-rw-r--r--controlloop/packages/apps/src/assembly/zip.xml (renamed from controlloop/common/packages/apps/src/assembly/zip.xml)0
-rw-r--r--controlloop/packages/apps/src/files/README.apps.txt (renamed from controlloop/common/packages/apps/src/files/README.apps.txt)0
-rw-r--r--controlloop/packages/artifacts/pom.xml (renamed from controlloop/common/packages/artifacts/pom.xml)20
-rw-r--r--controlloop/packages/artifacts/src/assembly/zip.xml (renamed from controlloop/common/packages/artifacts/src/assembly/zip.xml)0
-rw-r--r--controlloop/packages/basex/pom.xml (renamed from controlloop/common/packages/basex/pom.xml)0
-rw-r--r--controlloop/packages/basex/src/assembly/zip.xml (renamed from controlloop/common/packages/basex/src/assembly/zip.xml)0
-rw-r--r--[-rwxr-xr-x]controlloop/packages/basex/src/files/bin/create-closed-loop-demo.sh (renamed from controlloop/common/packages/basex/src/files/bin/create-closed-loop-demo.sh)6
-rw-r--r--controlloop/packages/basex/src/files/config/vDNS-controller.properties (renamed from controlloop/common/packages/basex/src/files/config/vDNS-controller.properties)0
-rw-r--r--controlloop/packages/basex/src/files/config/vFW-controller.properties (renamed from controlloop/common/packages/basex/src/files/config/vFW-controller.properties)0
-rw-r--r--controlloop/packages/pom.xml (renamed from controlloop/common/packages/pom.xml)2
-rw-r--r--controlloop/pom.xml1
-rw-r--r--controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/pom.xml4
-rw-r--r--controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml5
15 files changed, 26 insertions, 13 deletions
diff --git a/controlloop/common/pom.xml b/controlloop/common/pom.xml
index 76f788a38..f3975b958 100644
--- a/controlloop/common/pom.xml
+++ b/controlloop/common/pom.xml
@@ -37,7 +37,6 @@
<module>eventmanager</module>
<module>guard</module>
<module>model-impl</module>
- <module>packages</module>
<module>policy-yaml</module>
</modules>
diff --git a/controlloop/common/packages/apps/pom.xml b/controlloop/packages/apps/pom.xml
index f591bdc38..f591bdc38 100644
--- a/controlloop/common/packages/apps/pom.xml
+++ b/controlloop/packages/apps/pom.xml
diff --git a/controlloop/common/packages/apps/src/assembly/zip.xml b/controlloop/packages/apps/src/assembly/zip.xml
index f3392e130..f3392e130 100644
--- a/controlloop/common/packages/apps/src/assembly/zip.xml
+++ b/controlloop/packages/apps/src/assembly/zip.xml
diff --git a/controlloop/common/packages/apps/src/files/README.apps.txt b/controlloop/packages/apps/src/files/README.apps.txt
index aab021885..aab021885 100644
--- a/controlloop/common/packages/apps/src/files/README.apps.txt
+++ b/controlloop/packages/apps/src/files/README.apps.txt
diff --git a/controlloop/common/packages/artifacts/pom.xml b/controlloop/packages/artifacts/pom.xml
index e68b9ee6b..cce85c710 100644
--- a/controlloop/common/packages/artifacts/pom.xml
+++ b/controlloop/packages/artifacts/pom.xml
@@ -57,7 +57,7 @@
</plugins>
</build>
- <!-- The following are placed in the local repository at installation -->
+ <!-- The following are placed in the local or remote repository at installation -->
<dependencies>
<dependency>
<groupId>org.onap.policy.drools-applications</groupId>
@@ -132,5 +132,23 @@
<version>${project.version}</version>
<type>jar</type>
</dependency>
+ <dependency>
+ <groupId>org.onap.policy.drools-applications</groupId>
+ <artifactId>demo</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.drools-applications</groupId>
+ <artifactId>template.demo</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.drools-applications</groupId>
+ <artifactId>archetype-closedloop-demo-rules</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
</dependencies>
</project>
diff --git a/controlloop/common/packages/artifacts/src/assembly/zip.xml b/controlloop/packages/artifacts/src/assembly/zip.xml
index e3f018d26..e3f018d26 100644
--- a/controlloop/common/packages/artifacts/src/assembly/zip.xml
+++ b/controlloop/packages/artifacts/src/assembly/zip.xml
diff --git a/controlloop/common/packages/basex/pom.xml b/controlloop/packages/basex/pom.xml
index 7e2014b86..7e2014b86 100644
--- a/controlloop/common/packages/basex/pom.xml
+++ b/controlloop/packages/basex/pom.xml
diff --git a/controlloop/common/packages/basex/src/assembly/zip.xml b/controlloop/packages/basex/src/assembly/zip.xml
index a33f1b7e5..a33f1b7e5 100644
--- a/controlloop/common/packages/basex/src/assembly/zip.xml
+++ b/controlloop/packages/basex/src/assembly/zip.xml
diff --git a/controlloop/common/packages/basex/src/files/bin/create-closed-loop-demo.sh b/controlloop/packages/basex/src/files/bin/create-closed-loop-demo.sh
index 5fe83532c..be9801294 100755..100644
--- a/controlloop/common/packages/basex/src/files/bin/create-closed-loop-demo.sh
+++ b/controlloop/packages/basex/src/files/bin/create-closed-loop-demo.sh
@@ -29,7 +29,7 @@ echo
GROUPID="org.onap.policy.demo.rules"
ARTIFACTID="closed-loop-demo-rules"
-VERSION="1.1.0-SNAPSHOT"
+VERSION="1.1.0"
PACKAGE="org.onap.policy.demo.rules"
CLOSEDLOOPCONTROLNAME="CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8"
POLICYSCOPE="service=test;resource=FRWL;type=configuration"
@@ -232,7 +232,7 @@ fi
(
cd "${DIR_TMP}"
-"$M2_HOME"/bin/mvn archetype:generate \
+mvn archetype:generate \
-B \
-DarchetypeCatalog=local \
-DarchetypeGroupId="${ARCHETYPE_GROUP_ID}" \
@@ -299,7 +299,7 @@ fi
echo
echo "generating deployable ${ARTIFACTID} maven artifact .."
-"$M2_HOME"/bin/mvn install
+mvn install
if [ "${?}" -ne 0 ]; then
echo
diff --git a/controlloop/common/packages/basex/src/files/config/vDNS-controller.properties b/controlloop/packages/basex/src/files/config/vDNS-controller.properties
index 7da128f29..7da128f29 100644
--- a/controlloop/common/packages/basex/src/files/config/vDNS-controller.properties
+++ b/controlloop/packages/basex/src/files/config/vDNS-controller.properties
diff --git a/controlloop/common/packages/basex/src/files/config/vFW-controller.properties b/controlloop/packages/basex/src/files/config/vFW-controller.properties
index 8b8587504..8b8587504 100644
--- a/controlloop/common/packages/basex/src/files/config/vFW-controller.properties
+++ b/controlloop/packages/basex/src/files/config/vFW-controller.properties
diff --git a/controlloop/common/packages/pom.xml b/controlloop/packages/pom.xml
index ea54a3317..f4ccb14cc 100644
--- a/controlloop/common/packages/pom.xml
+++ b/controlloop/packages/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.onap.policy.drools-applications</groupId>
- <artifactId>common</artifactId>
+ <artifactId>controlloop</artifactId>
<version>1.1.0-SNAPSHOT</version>
</parent>
diff --git a/controlloop/pom.xml b/controlloop/pom.xml
index 8cb9ef415..9765f9b54 100644
--- a/controlloop/pom.xml
+++ b/controlloop/pom.xml
@@ -35,6 +35,7 @@
<modules>
<module>common</module>
<module>templates</module>
+ <module>packages</module>
</modules>
diff --git a/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/pom.xml b/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/pom.xml
index 2e43a6019..6eae97484 100644
--- a/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/pom.xml
+++ b/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/pom.xml
@@ -40,7 +40,7 @@
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
- <version>2.4</version>
+ <version>3.0.1</version>
</extension>
</extensions>
@@ -48,7 +48,7 @@
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
- <version>2.4</version>
+ <version>3.0.1</version>
</plugin>
</plugins>
</pluginManagement>
diff --git a/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml b/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml
index c023a744d..b0a7639d1 100644
--- a/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml
+++ b/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml
@@ -38,11 +38,6 @@
<dependencies>
<dependency>
<groupId>org.onap.policy.drools-applications</groupId>
- <artifactId>demo</artifactId>
- <version>${dependenciesVersion}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.drools-applications</groupId>
<artifactId>events</artifactId>
<version>${dependenciesVersion}</version>
</dependency>