aboutsummaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-package-full/pom.xml
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2020-03-25 12:09:54 +0000
committerliamfallon <liam.fallon@est.tech>2020-03-25 15:33:30 +0000
commit9aa62b777ddcd25665fdc1544934c133e0124230 (patch)
tree415919023708f855fb332deab9719b734a934a7a /packages/apex-pdp-package-full/pom.xml
parent2f75e9d08d1e47e2b9b39ec21653bc3b4d65d00a (diff)
Reduce size of client artifacts
This change: - Removes separate packaging of the three clients - Reduces the size of the combined client by suppressing unused dependencies - Removes the Servlet code from the Docker packaging - Removes the client WARs from the docker package Issue-ID: POLICY-2443 Change-Id: If0a0c2dddc3f05f2815b84ae04fcc029b1c4fe08 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'packages/apex-pdp-package-full/pom.xml')
-rw-r--r--packages/apex-pdp-package-full/pom.xml80
1 files changed, 5 insertions, 75 deletions
diff --git a/packages/apex-pdp-package-full/pom.xml b/packages/apex-pdp-package-full/pom.xml
index 6710c6ee3..facb4f6bd 100644
--- a/packages/apex-pdp-package-full/pom.xml
+++ b/packages/apex-pdp-package-full/pom.xml
@@ -47,32 +47,7 @@
<artifactId>services-onappf</artifactId>
<version>${project.version}</version>
</dependency>
- <!-- Client Servlet applications -->
- <dependency>
- <groupId>org.onap.policy.apex-pdp.client</groupId>
- <artifactId>apex-client-full</artifactId>
- <type>war</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.apex-pdp.client</groupId>
- <artifactId>apex-client-editor</artifactId>
- <type>war</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.apex-pdp.client</groupId>
- <artifactId>apex-client-deployment</artifactId>
- <type>war</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.apex-pdp.client</groupId>
- <artifactId>apex-client-monitoring</artifactId>
- <type>war</type>
- <version>${project.version}</version>
- </dependency>
-
+
<!-- Plugins for Context Distribution -->
<dependency>
<groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
@@ -200,7 +175,7 @@
<artifactId>cli-editor</artifactId>
<version>${project.version}</version>
</dependency>
-
+
<!-- Tools -->
<dependency>
<groupId>org.onap.policy.apex-pdp.tools</groupId>
@@ -212,14 +187,14 @@
<artifactId>model-generator</artifactId>
<version>${project.version}</version>
</dependency>
-
+
<!-- Test Data used by examples -->
<dependency>
<groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
<artifactId>integration-common</artifactId>
<version>${project.version}</version>
</dependency>
-
+
<!-- Sample Examples -->
<dependency>
<groupId>org.onap.policy.apex-pdp.examples</groupId>
@@ -258,12 +233,6 @@
</dependency>
<dependency>
<groupId>org.onap.policy.apex-pdp.examples</groupId>
- <artifactId>examples-servlet</artifactId>
- <type>war</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.apex-pdp.examples</groupId>
<artifactId>examples-onap-bbs</artifactId>
<version>${project.version}</version>
</dependency>
@@ -434,15 +403,6 @@
<includes>NomadicONTPolicyModel.json</includes>
</artifactItem>
<artifactItem>
- <groupId>org.onap.policy.apex-pdp.examples</groupId>
- <artifactId>examples-servlet</artifactId>
- <version>${project.version}</version>
- <type>war</type>
- <overWrite>false</overWrite>
- <outputDirectory>${project.build.directory}/examples/servlet</outputDirectory>
- <includes>readme_examples-servlet.txt</includes>
- </artifactItem>
- <artifactItem>
<groupId>org.onap.policy.apex-pdp.tools</groupId>
<artifactId>tools-common</artifactId>
<version>${project.version}</version>
@@ -492,27 +452,6 @@
</artifactItem>
<artifactItem>
<groupId>org.onap.policy.apex-pdp.client</groupId>
- <artifactId>apex-client-monitoring</artifactId>
- <version>${project.version}</version>
- <classifier>monitoring</classifier>
- <outputDirectory>${project.build.directory}/lib/applications</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.onap.policy.apex-pdp.client</groupId>
- <artifactId>apex-client-editor</artifactId>
- <version>${project.version}</version>
- <classifier>editor</classifier>
- <outputDirectory>${project.build.directory}/lib/applications</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.onap.policy.apex-pdp.client</groupId>
- <artifactId>apex-client-deployment</artifactId>
- <version>${project.version}</version>
- <classifier>deployment</classifier>
- <outputDirectory>${project.build.directory}/lib/applications</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.onap.policy.apex-pdp.client</groupId>
<artifactId>apex-client-full</artifactId>
<version>${project.version}</version>
<classifier>full</classifier>
@@ -526,7 +465,7 @@
</executions>
</plugin>
-
+
<!-- Build the tar ball -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -623,15 +562,6 @@
</mapper>
</data>
<data>
- <src>${project.build.directory}/install_hierarchy/war</src>
- <type>directory</type>
- <dst>etc</dst>
- <mapper>
- <type>perm</type>
- <prefix>/opt/app/policy/${install.package.name}-${project.version}/war</prefix>
- </mapper>
- </data>
- <data>
<src>${project.build.directory}/install_hierarchy/examples</src>
<type>directory</type>
<dst>etc</dst>