blob: c65c973b65594b5c529fe5e1ffa1718303f4ac4e [file] [log] [blame]
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)21ec6552019-01-08 12:14:12 -05002<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">
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05003 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -04004
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoneyb5a1f492022-11-07 13:38:17 -05008 <version>2.5.0</version>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05009 <relativePath/>
10 </parent>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -040011
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050012 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
13 <artifactId>sliadaptors-features-installer</artifactId>
Dan Timoneyef9ea4a2022-11-10 14:55:19 -050014 <version>1.6.1-SNAPSHOT</version>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050015 <packaging>pom</packaging>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -040016
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050017 <name>ccsdk-sli-adaptors :: features :: ${project.artifactId}</name>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -040018
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050019 <properties>
20 <application.name>ccsdk-sli-adaptors-all</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -040025
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050026 <dependencies>
27 <dependency>
28 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
29 <artifactId>ccsdk-aai-service</artifactId>
30 <version>${project.version}</version>
31 <type>xml</type>
32 <classifier>features</classifier>
33 <exclusions>
34 <exclusion>
35 <groupId>*</groupId>
36 <artifactId>*</artifactId>
37 </exclusion>
38 </exclusions>
39 </dependency>
40 <dependency>
41 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
Singal, Kapil (ks220y)cb075002021-03-16 00:30:22 -040042 <artifactId>ccsdk-ansible-adaptor</artifactId>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050043 <version>${project.version}</version>
44 <type>xml</type>
45 <classifier>features</classifier>
46 <exclusions>
47 <exclusion>
48 <groupId>*</groupId>
49 <artifactId>*</artifactId>
50 </exclusion>
51 </exclusions>
52 </dependency>
53 <dependency>
54 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
55 <artifactId>ccsdk-base-http</artifactId>
56 <version>${project.version}</version>
57 <type>xml</type>
58 <classifier>features</classifier>
59 <exclusions>
60 <exclusion>
61 <groupId>*</groupId>
62 <artifactId>*</artifactId>
63 </exclusion>
64 </exclusions>
65 </dependency>
66 <dependency>
67 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
68 <artifactId>ccsdk-mdsal-resource</artifactId>
69 <version>${project.version}</version>
70 <type>xml</type>
71 <classifier>features</classifier>
72 <exclusions>
73 <exclusion>
74 <groupId>*</groupId>
75 <artifactId>*</artifactId>
76 </exclusion>
77 </exclusions>
78 </dependency>
79 <dependency>
80 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
81 <artifactId>ccsdk-messagerouter-consumer</artifactId>
82 <version>${project.version}</version>
83 <type>xml</type>
84 <classifier>features</classifier>
85 <exclusions>
86 <exclusion>
87 <groupId>*</groupId>
88 <artifactId>*</artifactId>
89 </exclusion>
90 </exclusions>
91 </dependency>
92 <dependency>
93 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
94 <artifactId>ccsdk-messagerouter-publisher</artifactId>
95 <version>${project.version}</version>
96 <type>xml</type>
97 <classifier>features</classifier>
98 <exclusions>
99 <exclusion>
100 <groupId>*</groupId>
101 <artifactId>*</artifactId>
102 </exclusion>
103 </exclusions>
104 </dependency>
105 <dependency>
106 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
107 <artifactId>ccsdk-netbox-client</artifactId>
108 <version>${project.version}</version>
109 <type>xml</type>
110 <classifier>features</classifier>
111 <exclusions>
112 <exclusion>
113 <groupId>*</groupId>
114 <artifactId>*</artifactId>
115 </exclusion>
116 </exclusions>
117 </dependency>
118 <dependency>
119 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
120 <artifactId>ccsdk-resource-assignment</artifactId>
121 <version>${project.version}</version>
122 <type>xml</type>
123 <classifier>features</classifier>
124 <exclusions>
125 <exclusion>
126 <groupId>*</groupId>
127 <artifactId>*</artifactId>
128 </exclusion>
129 </exclusions>
130 </dependency>
131 <dependency>
132 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
Singal, Kapil (ks220y)cb075002021-03-16 00:30:22 -0400133 <artifactId>ccsdk-saltstack-adaptor</artifactId>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500134 <version>${project.version}</version>
135 <type>xml</type>
136 <classifier>features</classifier>
137 <exclusions>
138 <exclusion>
139 <groupId>*</groupId>
140 <artifactId>*</artifactId>
141 </exclusion>
142 </exclusions>
143 </dependency>
144 <dependency>
145 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
146 <artifactId>ccsdk-sql-resource</artifactId>
147 <version>${project.version}</version>
148 <type>xml</type>
149 <classifier>features</classifier>
150 <exclusions>
151 <exclusion>
152 <groupId>*</groupId>
153 <artifactId>*</artifactId>
154 </exclusion>
155 </exclusions>
156 </dependency>
157 <dependency>
158 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
159 <artifactId>${application.name}</artifactId>
160 <version>${project.version}</version>
161 <type>xml</type>
162 <classifier>features</classifier>
163 <exclusions>
164 <exclusion>
165 <groupId>*</groupId>
166 <artifactId>*</artifactId>
167 </exclusion>
168 </exclusions>
169 </dependency>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -0400170
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500171 </dependencies>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -0400172
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500173 <build>
174 <plugins>
175 <plugin>
176 <artifactId>maven-assembly-plugin</artifactId>
177 <executions>
178 <execution>
179 <id>maven-repo-zip</id>
180 <goals>
181 <goal>single</goal>
182 </goals>
183 <phase>package</phase>
184 <configuration>
185 <attach>true</attach>
186 <finalName>stage/${application.name}-${project.version}</finalName>
187 <descriptors>
188 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
189 </descriptors>
190 <appendAssemblyId>true</appendAssemblyId>
191 </configuration>
192 </execution>
193 <execution>
194 <id>installer-zip</id>
195 <goals>
196 <goal>single</goal>
197 </goals>
198 <phase>package</phase>
199 <configuration>
200 <attach>true</attach>
201 <finalName>${application.name}-${project.version}-installer</finalName>
202 <descriptors>
203 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
204 </descriptors>
205 <appendAssemblyId>false</appendAssemblyId>
206 </configuration>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-dependency-plugin</artifactId>
213 <executions>
214 <execution>
215 <id>copy-dependencies</id>
216 <goals>
217 <goal>copy-dependencies</goal>
218 </goals>
219 <phase>prepare-package</phase>
220 <configuration>
221 <transitive>false</transitive>
222 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
223 <overWriteReleases>false</overWriteReleases>
224 <overWriteSnapshots>true</overWriteSnapshots>
225 <overWriteIfNewer>true</overWriteIfNewer>
226 <useRepositoryLayout>true</useRepositoryLayout>
227 <addParentPoms>false</addParentPoms>
228 <copyPom>false</copyPom>
229 <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds>
230 <scope>provided</scope>
231 </configuration>
232 </execution>
233 </executions>
234 </plugin>
235 <plugin>
236 <artifactId>maven-resources-plugin</artifactId>
237 <version>2.6</version>
238 <executions>
239 <execution>
240 <id>copy-version</id>
241 <goals>
242 <goal>copy-resources</goal>
243 </goals><!-- here the phase you need -->
244 <phase>validate</phase>
245 <configuration>
246 <outputDirectory>${basedir}/target/stage</outputDirectory>
247 <resources>
248 <resource>
249 <directory>src/main/resources/scripts</directory>
250 <includes>
251 <include>install-feature.sh</include>
252 </includes>
253 <filtering>true</filtering>
254 </resource>
255 </resources>
256 </configuration>
257 </execution>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -0400258
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500259 </executions>
260 </plugin>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -0400261
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500262 </plugins>
263 </build>
Timoney, Dan (dt5972)153b6c22018-06-22 15:50:29 -0400264</project>