blob: 0815039f84071032b2a1e997097375d1850841f9 [file] [log] [blame]
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -04001<?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 Timoney8bc36962020-08-06 15:17:17 -040025
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040026<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 Timoneya612cdd2020-03-05 11:51:01 -050028
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040029 <parent>
Dan Timoney5de81962021-01-26 13:15:47 -050030 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>odlparent-lite</artifactId>
32 <version>2.1.1-SNAPSHOT</version>
33 <relativePath/>
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040034 </parent>
Dan Timoneya612cdd2020-03-05 11:51:01 -050035
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040036 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
37 <artifactId>ansible-adapter-installer</artifactId>
Dan Timoney8f2fcda2020-12-02 07:48:49 -050038 <version>1.2.0-SNAPSHOT</version>
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040039 <packaging>pom</packaging>
Dan Timoneya612cdd2020-03-05 11:51:01 -050040
41 <name>ccsdk-sli-adaptors :: ansible-adapter :: ${project.artifactId}</name>
42
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040043 <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 Timoneya612cdd2020-03-05 11:51:01 -050049
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040050 <dependencies>
Timoney, Dan (dt5972)bc18e2c2019-12-13 12:42:39 -050051
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040052 <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)4869bd52018-04-24 11:10:08 -040057
Timoney, Dan (dt5972)793f7142019-06-20 19:16:28 -040058
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040059 </dependencies>
Dan Timoneya612cdd2020-03-05 11:51:01 -050060
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040061 <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)153b6c22018-06-22 15:50:29 -040073 <appendAssemblyId>true</appendAssemblyId>
74 <attach>true</attach>
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -040075 <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)98e280c2019-12-05 14:09:05 -0500117 <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds>
118
Timoney, Dan (dt5972)99fe1a52018-03-29 12:31:45 -0400119 <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>