summaryrefslogtreecommitdiffstats
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.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/apex-pdp-package-full/pom.xml b/packages/apex-pdp-package-full/pom.xml
index bb0beee9f..2ec77f73a 100644
--- a/packages/apex-pdp-package-full/pom.xml
+++ b/packages/apex-pdp-package-full/pom.xml
@@ -210,6 +210,12 @@
<artifactId>examples-onap-vcpe</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.onap.policy.apex-pdp.examples</groupId>
+ <artifactId>examples-servlet</artifactId>
+ <type>war</type>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
<build>
@@ -308,6 +314,15 @@
<outputDirectory>${project.build.directory}/examples/models/ONAPvCPE</outputDirectory>
<includes>/ONAPvCPEPolicyModel.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}/etc</outputDirectory>
+ <includes>/readme_examples-servlet.txt</includes>
+ </artifactItem>
</artifactItems>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
@@ -411,6 +426,15 @@
</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/apex-pdp/${install.package.name}-${project.version}/war</prefix>
+ </mapper>
+ </data>
+ <data>
<src>${project.build.directory}/install_hierarchy/examples</src>
<type>directory</type>
<dst>etc</dst>
@@ -498,6 +522,16 @@
</sources>
</mapping>
<mapping>
+ <directory>/opt/app/policy/apex-pdp/${install.package.name}-${project.version}/war</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <sources>
+ <source>
+ <location>${project.build.directory}/install_hierarchy/war</location>
+ </source>
+ </sources>
+ </mapping>
+ <mapping>
<directory>/opt/app/policy/apex-pdp/${project.artifactId}-${project.version}/examples</directory>
<username>root</username>
<groupname>root</groupname>