Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
Patrick Brady | 10bba35 | 2017-07-19 12:09:28 -0700 | [diff] [blame] | 4 | ONAP : APPC |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 5 | ================================================================================ |
John McClung | f6332bd | 2018-06-13 13:07:38 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 7 | ================================================================================ |
Patrick Brady | 10bba35 | 2017-07-19 12:09:28 -0700 | [diff] [blame] | 8 | Copyright (C) 2017 Amdocs |
| 9 | ============================================================================= |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 10 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | you may not use this file except in compliance with the License. |
| 12 | You may obtain a copy of the License at |
| 13 | |
| 14 | http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | |
| 16 | Unless required by applicable law or agreed to in writing, software |
| 17 | distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | See the License for the specific language governing permissions and |
| 20 | limitations under the License. |
Patrick Brady | 10bba35 | 2017-07-19 12:09:28 -0700 | [diff] [blame] | 21 | |
Patrick Brady | 10bba35 | 2017-07-19 12:09:28 -0700 | [diff] [blame] | 22 | ============LICENSE_END========================================================= |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 23 | --> |
| 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <parent> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 27 | <groupId>org.onap.appc.parent</groupId> |
| 28 | <artifactId>odlparent-lite</artifactId> |
Patrick Brady | 9d38008 | 2018-10-09 11:32:38 -0700 | [diff] [blame] | 29 | <version>1.4.0</version> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 30 | <relativePath /> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 31 | </parent> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 32 | <groupId>org.onap.appc</groupId> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 33 | <artifactId>appc-ansible-adapter-installer</artifactId> |
| 34 | <name>Ansible Adapter - Karaf Installer</name> |
| 35 | <packaging>pom</packaging> |
| 36 | <properties> |
| 37 | <application.name>appc-ansible-adapter</application.name> |
| 38 | <features.boot>appc-ansible-adapter</features.boot> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 39 | <features.repositories>mvn:org.onap.appc/onap-appc-ansible-adapter/${project.version}/xml/features</features.repositories> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 40 | <include.transitive.dependencies>false</include.transitive.dependencies> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 41 | <feature-name>appc-ansible-adapter</feature-name> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 42 | </properties> |
| 43 | <dependencies> |
| 44 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 45 | <groupId>org.onap.appc</groupId> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 46 | <artifactId>onap-appc-ansible-adapter</artifactId> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 47 | <classifier>features</classifier> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 48 | <version>${project.version}</version> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 49 | <type>xml</type> |
| 50 | <exclusions> |
| 51 | <exclusion> |
| 52 | <groupId>*</groupId> |
| 53 | <artifactId>*</artifactId> |
| 54 | </exclusion> |
| 55 | </exclusions> |
| 56 | </dependency> |
| 57 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 58 | <groupId>org.onap.appc</groupId> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 59 | <artifactId>appc-ansible-adapter-bundle</artifactId> |
| 60 | <version>${project.version}</version> |
| 61 | </dependency> |
| 62 | </dependencies> |
| 63 | <build> |
| 64 | <plugins> |
| 65 | <plugin> |
| 66 | <artifactId>maven-assembly-plugin</artifactId> |
| 67 | <executions> |
| 68 | <execution> |
| 69 | <id>maven-repo-zip</id> |
| 70 | <goals> |
| 71 | <goal>single</goal> |
| 72 | </goals> |
| 73 | <phase>package</phase> |
| 74 | <configuration> |
| 75 | <appendAssemblyId>false</appendAssemblyId> |
| 76 | <attach>false</attach> |
| 77 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 78 | <descriptors> |
| 79 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 80 | </descriptors> |
| 81 | </configuration> |
| 82 | </execution> |
| 83 | <execution> |
| 84 | <id>installer-zip</id> |
| 85 | <goals> |
| 86 | <goal>single</goal> |
| 87 | </goals> |
| 88 | <phase>package</phase> |
| 89 | <configuration> |
| 90 | <appendAssemblyId>false</appendAssemblyId> |
| 91 | <attach>true</attach> |
| 92 | <finalName>${application.name}-${project.version}</finalName> |
| 93 | <descriptors> |
| 94 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 95 | </descriptors> |
| 96 | </configuration> |
| 97 | </execution> |
| 98 | </executions> |
| 99 | </plugin> |
| 100 | <plugin> |
| 101 | <groupId>org.apache.maven.plugins</groupId> |
| 102 | <artifactId>maven-dependency-plugin</artifactId> |
| 103 | <executions> |
| 104 | <execution> |
| 105 | <id>copy-dependencies</id> |
| 106 | <goals> |
| 107 | <goal>copy-dependencies</goal> |
| 108 | </goals> |
| 109 | <phase>prepare-package</phase> |
| 110 | <configuration> |
| 111 | <transitive>false</transitive> |
| 112 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 113 | <overWriteReleases>false</overWriteReleases> |
| 114 | <overWriteSnapshots>true</overWriteSnapshots> |
| 115 | <overWriteIfNewer>true</overWriteIfNewer> |
| 116 | <useRepositoryLayout>true</useRepositoryLayout> |
| 117 | <addParentPoms>false</addParentPoms> |
| 118 | <copyPom>false</copyPom> |
| 119 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 120 | <scope>provided</scope> |
| 121 | </configuration> |
| 122 | </execution> |
| 123 | </executions> |
| 124 | </plugin> |
| 125 | <plugin> |
| 126 | <artifactId>maven-resources-plugin</artifactId> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <id>copy-version</id> |
| 130 | <goals> |
| 131 | <goal>copy-resources</goal> |
| 132 | </goals> |
| 133 | <!-- here the phase you need --> |
| 134 | <phase>validate</phase> |
| 135 | <configuration> |
| 136 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 137 | <resources> |
| 138 | <resource> |
| 139 | <directory>src/main/resources/scripts</directory> |
| 140 | <includes> |
| 141 | <include>install-feature.sh</include> |
| 142 | </includes> |
| 143 | <filtering>true</filtering> |
| 144 | </resource> |
| 145 | </resources> |
| 146 | </configuration> |
| 147 | </execution> |
| 148 | </executions> |
| 149 | </plugin> |
| 150 | </plugins> |
| 151 | </build> |
Patrick Brady | ccd67e9 | 2018-11-12 12:14:11 -0800 | [diff] [blame^] | 152 | <version>1.5.0-SNAPSHOT</version> |
Ashwin Sridharan | 0414b3e | 2017-06-14 23:11:25 -0400 | [diff] [blame] | 153 | </project> |