summaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-package-full/pom.xml
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-07-13 14:51:10 +0100
committerDaniel Hanrahan <daniel.hanrahan@est.tech>2022-07-13 15:52:41 +0000
commit9e70ba9dc8d5b8e6f254354180b00d29a3fc7a1a (patch)
treea86921b4b4e57cae9f611a0fbbdb973d68fa4b30 /packages/apex-pdp-package-full/pom.xml
parentc0f36b8da4898e2e2b52b74e02da95a6588fe2b8 (diff)
Remove debian packaging from apex-pdp build
Issue-ID: POLICY-4285 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I599d05d19d97c70c5339c554d469c4c79b4c420e
Diffstat (limited to 'packages/apex-pdp-package-full/pom.xml')
-rw-r--r--packages/apex-pdp-package-full/pom.xml89
1 files changed, 1 insertions, 88 deletions
diff --git a/packages/apex-pdp-package-full/pom.xml b/packages/apex-pdp-package-full/pom.xml
index e5afa813f..64c61dcb9 100644
--- a/packages/apex-pdp-package-full/pom.xml
+++ b/packages/apex-pdp-package-full/pom.xml
@@ -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>
@@ -476,94 +477,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>