Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 7 | ================================================================================ |
| 8 | Copyright (C) 2017 Amdocs |
| 9 | ============================================================================= |
| 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. |
| 21 | |
| 22 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 23 | ============LICENSE_END========================================================= |
| 24 | --> |
| 25 | <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"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <parent> |
| 28 | <groupId>org.onap.ccsdk.parent</groupId> |
| 29 | <artifactId>odlparent-lite</artifactId> |
Timoney, Dan (dt5972) | 52a06ce | 2018-06-06 13:56:45 -0400 | [diff] [blame^] | 30 | <version>1.1.0-SNAPSHOT</version> |
Timoney, Dan (dt5972) | db9fffa | 2018-04-18 15:28:17 -0400 | [diff] [blame] | 31 | <relativePath/> |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 32 | </parent> |
| 33 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 34 | <artifactId>ansible-adapter-installer</artifactId> |
Timoney, Dan (dt5972) | 52a06ce | 2018-06-06 13:56:45 -0400 | [diff] [blame^] | 35 | <version>0.3.0-SNAPSHOT</version> |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 36 | <name>ccsdk-sli-adaptors :: ansible-adapter :: ${project.artifactId}</name> |
| 37 | <packaging>pom</packaging> |
| 38 | <properties> |
| 39 | <application.name>ccsdk-ansible-adapter</application.name> |
| 40 | <features.boot>${application.name}</features.boot> |
| 41 | <features.repositories>mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features</features.repositories> |
| 42 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 43 | </properties> |
| 44 | <dependencies> |
| 45 | <dependency> |
| 46 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 47 | <artifactId>${application.name}</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | <classifier>features</classifier> |
| 50 | <type>xml</type> |
| 51 | <exclusions> |
| 52 | <exclusion> |
| 53 | <groupId>*</groupId> |
| 54 | <artifactId>*</artifactId> |
| 55 | </exclusion> |
| 56 | </exclusions> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 60 | <artifactId>ansible-adapter-bundle</artifactId> |
| 61 | <version>${project.version}</version> |
| 62 | </dependency> |
Timoney, Dan (dt5972) | 4869bd5 | 2018-04-24 11:10:08 -0400 | [diff] [blame] | 63 | |
| 64 | <dependency> |
| 65 | <groupId>javax</groupId> |
| 66 | <artifactId>javaee-api</artifactId> |
| 67 | <version>7.0</version> |
| 68 | </dependency> |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 69 | </dependencies> |
| 70 | <build> |
| 71 | <plugins> |
| 72 | <plugin> |
| 73 | <artifactId>maven-assembly-plugin</artifactId> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <id>maven-repo-zip</id> |
| 77 | <goals> |
| 78 | <goal>single</goal> |
| 79 | </goals> |
| 80 | <phase>package</phase> |
| 81 | <configuration> |
| 82 | <appendAssemblyId>false</appendAssemblyId> |
| 83 | <attach>false</attach> |
| 84 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 85 | <descriptors> |
| 86 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 87 | </descriptors> |
| 88 | </configuration> |
| 89 | </execution> |
| 90 | <execution> |
| 91 | <id>installer-zip</id> |
| 92 | <goals> |
| 93 | <goal>single</goal> |
| 94 | </goals> |
| 95 | <phase>package</phase> |
| 96 | <configuration> |
| 97 | <appendAssemblyId>false</appendAssemblyId> |
| 98 | <attach>true</attach> |
| 99 | <finalName>${application.name}-${project.version}</finalName> |
| 100 | <descriptors> |
| 101 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 102 | </descriptors> |
| 103 | </configuration> |
| 104 | </execution> |
| 105 | </executions> |
| 106 | </plugin> |
| 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-dependency-plugin</artifactId> |
| 110 | <executions> |
| 111 | <execution> |
| 112 | <id>copy-dependencies</id> |
| 113 | <goals> |
| 114 | <goal>copy-dependencies</goal> |
| 115 | </goals> |
| 116 | <phase>prepare-package</phase> |
| 117 | <configuration> |
| 118 | <transitive>false</transitive> |
| 119 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 120 | <overWriteReleases>false</overWriteReleases> |
| 121 | <overWriteSnapshots>true</overWriteSnapshots> |
| 122 | <overWriteIfNewer>true</overWriteIfNewer> |
| 123 | <useRepositoryLayout>true</useRepositoryLayout> |
| 124 | <addParentPoms>false</addParentPoms> |
| 125 | <copyPom>false</copyPom> |
| 126 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 127 | <scope>provided</scope> |
| 128 | </configuration> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | </plugin> |
| 132 | <plugin> |
| 133 | <artifactId>maven-resources-plugin</artifactId> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>copy-version</id> |
| 137 | <goals> |
| 138 | <goal>copy-resources</goal> |
| 139 | </goals> |
| 140 | <!-- here the phase you need --> |
| 141 | <phase>validate</phase> |
| 142 | <configuration> |
| 143 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 144 | <resources> |
| 145 | <resource> |
| 146 | <directory>src/main/resources/scripts</directory> |
| 147 | <includes> |
| 148 | <include>install-feature.sh</include> |
| 149 | </includes> |
| 150 | <filtering>true</filtering> |
| 151 | </resource> |
| 152 | </resources> |
| 153 | </configuration> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | </plugin> |
| 157 | </plugins> |
| 158 | </build> |
| 159 | </project> |