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 | --> |
Dan Timoney | 8bc3696 | 2020-08-06 15:17:17 -0400 | [diff] [blame] | 25 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 26 | <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"> |
| 27 | <modelVersion>4.0.0</modelVersion> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 28 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 29 | <parent> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame^] | 30 | <groupId>org.onap.ccsdk.parent</groupId> |
| 31 | <artifactId>odlparent-lite</artifactId> |
| 32 | <version>2.1.1-SNAPSHOT</version> |
| 33 | <relativePath/> |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 34 | </parent> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 35 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 36 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 37 | <artifactId>ansible-adapter-installer</artifactId> |
Dan Timoney | 8f2fcda | 2020-12-02 07:48:49 -0500 | [diff] [blame] | 38 | <version>1.2.0-SNAPSHOT</version> |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 39 | <packaging>pom</packaging> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 40 | |
| 41 | <name>ccsdk-sli-adaptors :: ansible-adapter :: ${project.artifactId}</name> |
| 42 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 43 | <properties> |
| 44 | <application.name>ccsdk-ansible-adapter</application.name> |
| 45 | <features.boot>${application.name}</features.boot> |
| 46 | <features.repositories>mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features</features.repositories> |
| 47 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 48 | </properties> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 49 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 50 | <dependencies> |
Timoney, Dan (dt5972) | bc18e2c | 2019-12-13 12:42:39 -0500 | [diff] [blame] | 51 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 52 | <dependency> |
| 53 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 54 | <artifactId>ansible-adapter-bundle</artifactId> |
| 55 | <version>${project.version}</version> |
| 56 | </dependency> |
Timoney, Dan (dt5972) | 4869bd5 | 2018-04-24 11:10:08 -0400 | [diff] [blame] | 57 | |
Timoney, Dan (dt5972) | 793f714 | 2019-06-20 19:16:28 -0400 | [diff] [blame] | 58 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 59 | </dependencies> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 60 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 61 | <build> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <artifactId>maven-assembly-plugin</artifactId> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <id>maven-repo-zip</id> |
| 68 | <goals> |
| 69 | <goal>single</goal> |
| 70 | </goals> |
| 71 | <phase>package</phase> |
| 72 | <configuration> |
Timoney, Dan (dt5972) | 153b6c2 | 2018-06-22 15:50:29 -0400 | [diff] [blame] | 73 | <appendAssemblyId>true</appendAssemblyId> |
| 74 | <attach>true</attach> |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 75 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 76 | <descriptors> |
| 77 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 78 | </descriptors> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | <execution> |
| 82 | <id>installer-zip</id> |
| 83 | <goals> |
| 84 | <goal>single</goal> |
| 85 | </goals> |
| 86 | <phase>package</phase> |
| 87 | <configuration> |
| 88 | <appendAssemblyId>false</appendAssemblyId> |
| 89 | <attach>true</attach> |
| 90 | <finalName>${application.name}-${project.version}</finalName> |
| 91 | <descriptors> |
| 92 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 93 | </descriptors> |
| 94 | </configuration> |
| 95 | </execution> |
| 96 | </executions> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-dependency-plugin</artifactId> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>copy-dependencies</id> |
| 104 | <goals> |
| 105 | <goal>copy-dependencies</goal> |
| 106 | </goals> |
| 107 | <phase>prepare-package</phase> |
| 108 | <configuration> |
| 109 | <transitive>false</transitive> |
| 110 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 111 | <overWriteReleases>false</overWriteReleases> |
| 112 | <overWriteSnapshots>true</overWriteSnapshots> |
| 113 | <overWriteIfNewer>true</overWriteIfNewer> |
| 114 | <useRepositoryLayout>true</useRepositoryLayout> |
| 115 | <addParentPoms>false</addParentPoms> |
| 116 | <copyPom>false</copyPom> |
Timoney, Dan (dt5972) | 98e280c | 2019-12-05 14:09:05 -0500 | [diff] [blame] | 117 | <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds> |
| 118 | |
Timoney, Dan (dt5972) | 99fe1a5 | 2018-03-29 12:31:45 -0400 | [diff] [blame] | 119 | <scope>provided</scope> |
| 120 | </configuration> |
| 121 | </execution> |
| 122 | </executions> |
| 123 | </plugin> |
| 124 | <plugin> |
| 125 | <artifactId>maven-resources-plugin</artifactId> |
| 126 | <executions> |
| 127 | <execution> |
| 128 | <id>copy-version</id> |
| 129 | <goals> |
| 130 | <goal>copy-resources</goal> |
| 131 | </goals> |
| 132 | <!-- here the phase you need --> |
| 133 | <phase>validate</phase> |
| 134 | <configuration> |
| 135 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 136 | <resources> |
| 137 | <resource> |
| 138 | <directory>src/main/resources/scripts</directory> |
| 139 | <includes> |
| 140 | <include>install-feature.sh</include> |
| 141 | </includes> |
| 142 | <filtering>true</filtering> |
| 143 | </resource> |
| 144 | </resources> |
| 145 | </configuration> |
| 146 | </execution> |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
| 151 | </project> |