aboutsummaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-package-full/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/apex-pdp-package-full/pom.xml')
-rw-r--r--packages/apex-pdp-package-full/pom.xml96
1 files changed, 7 insertions, 89 deletions
diff --git a/packages/apex-pdp-package-full/pom.xml b/packages/apex-pdp-package-full/pom.xml
index e5afa813f..e6e7b6aaf 100644
--- a/packages/apex-pdp-package-full/pom.xml
+++ b/packages/apex-pdp-package-full/pom.xml
@@ -2,7 +2,7 @@
============LICENSE_START=======================================================
Copyright (C) 2018 Ericsson. All rights reserved.
Modifications Copyright (C) 2019-2020, 2022 Nordix Foundation
- Modifications Copyright (C) 2019-2020 Bell Canada.
+ Modifications Copyright (C) 2019-2020, 2022 Bell Canada.
Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
@@ -30,6 +30,7 @@
</parent>
<artifactId>apex-pdp-package-full</artifactId>
+ <packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>[${project.parent.artifactId}] packaging, with all optional functionality, clients, servlets, and examples included</description>
@@ -79,6 +80,11 @@
<artifactId>plugins-context-schema-avro</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
+ <artifactId>plugins-context-schema-json</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<!-- Plugins for Executors -->
<dependency>
@@ -476,94 +482,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <configuration>
- <tasks>
- <untar
- src="${project.build.directory}/${project.artifactId}-${project.version}.tar.gz"
- dest="${project.build.directory}/install_hierarchy" compression="gzip" />
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- <execution>
- <id>fix-permissions</id>
- <phase>package</phase>
- <configuration>
- <tasks>
- <chmod file="${project.build.directory}/install_hierarchy/bin/*" perm="755" />
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- Build the dpkg distribution -->
- <plugin>
- <groupId>org.vafer</groupId>
- <artifactId>jdeb</artifactId>
- <version>1.5</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jdeb</goal>
- </goals>
- <configuration>
- <deb>${project.build.directory}/${project.artifactId}-${project.version}.deb</deb>
- <controlDir>${basedir}/src/main/package/control</controlDir>
- <dataSet>
- <!-- Copy the Apex run time configuration -->
- <data>
- <src>${project.build.directory}/install_hierarchy/lib</src>
- <type>directory</type>
- <dst>lib</dst>
- <mapper>
- <type>perm</type>
- <prefix>/opt/app/policy/${project.artifactId}-${project.version}/lib</prefix>
- <filemode>755</filemode>
- </mapper>
- </data>
- <data>
- <src>${project.build.directory}/install_hierarchy/bin</src>
- <type>directory</type>
- <dst>etc</dst>
- <mapper>
- <type>perm</type>
- <prefix>/opt/app/policy/${project.artifactId}-${project.version}/bin</prefix>
- </mapper>
- </data>
- <data>
- <src>${project.build.directory}/install_hierarchy/etc</src>
- <type>directory</type>
- <dst>etc</dst>
- <mapper>
- <type>perm</type>
- <prefix>/opt/app/policy/${project.artifactId}-${project.version}/etc</prefix>
- </mapper>
- </data>
- <data>
- <src>${project.build.directory}/install_hierarchy/examples</src>
- <type>directory</type>
- <dst>etc</dst>
- <mapper>
- <type>perm</type>
- <prefix>/opt/app/policy/${project.artifactId}-${project.version}/examples</prefix>
- </mapper>
- </data>
- </dataSet>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
<profiles>