diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-06-06 18:56:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-06 18:56:10 +0000 |
commit | 46c6d88b3002afef0a05b10c73bceb0c6c9d0c51 (patch) | |
tree | 9052f5fd2808023a5b24366c0cbd3ec2101b3213 /packages/apex-pdp-package-full/pom.xml | |
parent | 7e541b0e47ba57207c86b3e10c206c0f99d7f872 (diff) | |
parent | 42e492682bfed635e24db7b2924ee05b7c3b5ca8 (diff) |
Merge "Removing rpm build option from apex-pdp"
Diffstat (limited to 'packages/apex-pdp-package-full/pom.xml')
-rw-r--r-- | packages/apex-pdp-package-full/pom.xml | 155 |
1 files changed, 2 insertions, 153 deletions
diff --git a/packages/apex-pdp-package-full/pom.xml b/packages/apex-pdp-package-full/pom.xml index 9fb9444b6..d0a2c15bc 100644 --- a/packages/apex-pdp-package-full/pom.xml +++ b/packages/apex-pdp-package-full/pom.xml @@ -1,6 +1,7 @@ <!-- ============LICENSE_START======================================================= Copyright (C) 2018 Ericsson. All rights reserved. + Modifications Copyright (C) 2019 Nordix Foundation ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -405,7 +406,7 @@ </artifactItem> <artifactItem> <groupId>org.onap.policy.apex-pdp.examples</groupId> - <artifactId>examples-onap-bbs</artifactId> + <artifactId>examples-onap-bbs</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>false</overWrite> @@ -618,158 +619,6 @@ </build> <profiles> <profile> - <id>Linux</id> - <activation> - <os> - <family>Linux</family> - </os> - </activation> - <build> - <plugins> - <!-- Build the rpm distribution --> - <!-- Skiping RPM Build for now, due to rpmbuild package not available on Jenkins servers --> - <!-- <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rpm-maven-plugin</artifactId> - <version>2.2.0</version> - <extensions>true</extensions> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>rpm</goal> - </goals> - </execution> - </executions> - <configuration> - <name>${project.artifactId}</name> - <copyright>2015 Ericsson AB All rights reserved</copyright> - <distribution>${project.parent.artifactId}</distribution> - <group>ERI-APEX</group> - <packager>Ericsson</packager> - <prefix>/opt/app/policy/apex-pdp</prefix> - <changelogFile>src/rpm/changelog</changelogFile> - <needarch>noarch</needarch> - <targetVendor>redhat</targetVendor> - <targetOS>linux</targetOS> - <version>${project.version}</version> - <defineStatements> - <defineStatement>install_dir /opt/app/policy/apex-pdp</defineStatement> - </defineStatements> - <mappings> - <mapping> - <directory>/opt/app/policy/${project.artifactId}-${project.version}/lib</directory> - <username>root</username> - <groupname>root</groupname> - <sources> - <source> - <location>${project.build.directory}/install_hierarchy/lib</location> - </source> - </sources> - </mapping> - <mapping> - <directory>/opt/app/policy/${project.artifactId}-${project.version}/bin</directory> - <username>root</username> - <groupname>root</groupname> - <sources> - <source> - <location>${project.build.directory}/install_hierarchy/bin</location> - </source> - </sources> - </mapping> - <mapping> - <directory>/opt/app/policy/${project.artifactId}-${project.version}/etc</directory> - <username>root</username> - <groupname>root</groupname> - <sources> - <source> - <location>${project.build.directory}/install_hierarchy/etc</location> - </source> - </sources> - </mapping> - <mapping> - <directory>/opt/app/policy/${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/${project.artifactId}-${project.version}/examples</directory> - <username>root</username> - <groupname>root</groupname> - <sources> - <source> - <location>${project.build.directory}/install_hierarchy/examples</location> - </source> - </sources> - </mapping> - </mappings> - <preinstallScriptlet> - <scriptFile>src/main/package/control/preinst</scriptFile> - </preinstallScriptlet> - <postinstallScriptlet> - <scriptFile>src/main/package/control/postinst</scriptFile> - </postinstallScriptlet> - <preremoveScriptlet> - <scriptFile>src/main/package/control/prerm</scriptFile> - </preremoveScriptlet> - <postremoveScriptlet> - <scriptFile>src/main/package/control/postrm</scriptFile> - </postremoveScriptlet> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>exec</goal> - </goals> - </execution> - </executions> - <configuration> - <executable>sh</executable> - <arguments> - <argument>-c</argument> - <argument>cp \ - ${project.build.directory}/rpm/${project.artifactId}/RPMS/noarch/${project.artifactId}-${project.version}*.noarch.rpm \ - \ - ${project.build.directory}/${project.artifactId}-${project.version}.rpm</argument> - </arguments> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>3.0.0</version> - <executions> - <execution> - <id>attach-artifacts</id> - <phase>package</phase> - <goals> - <goal>attach-artifact</goal> - </goals> - <configuration> - <artifacts> - <artifact> - <file>${project.build.directory}/${project.artifactId}-${project.version}.rpm</file> - <type>rpm</type> - </artifact> - </artifacts> - </configuration> - </execution> - </executions> - </plugin> --> - </plugins> - </build> - </profile> - <profile> <id>only-eclipse</id> <activation> <property> |