summaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-package-full/pom.xml
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@ericsson.com>2018-07-30 19:13:47 +0100
committerramverma <ram.krishna.verma@ericsson.com>2018-07-30 19:40:15 +0100
commit9e318f20f2e64970bf3c2e3a5532c516231a6f8a (patch)
treefe2bb55099bc12c1b5315bad1db0553375a9895b /packages/apex-pdp-package-full/pom.xml
parentdf417ab0b34912e153532373fd2c0af33e4b2179 (diff)
Adding examples-servlet module to apex-pdp
Adding examples-servlet module to demonstrate the capability that apex-pdp can be simply started as a servlet deployed in any application server. Change-Id: I5c9e323f1468cc14c6277c0037029679d00cd751 Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
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>