1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
8 <version>1.5.1</version>
12 <groupId>org.onap.ccsdk.sli.plugins</groupId>
13 <artifactId>sliplugins-features-installer</artifactId>
14 <version>0.7.0-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ccsdk-sli-plugins :: features :: ${project.artifactId}</name>
20 <application.name>ccsdk-sli-plugins-all</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.plugins/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
28 <groupId>org.onap.ccsdk.sli.plugins</groupId>
29 <artifactId>ccsdk-gr-toolkit</artifactId>
30 <version>${project.version}</version>
32 <classifier>features</classifier>
36 <artifactId>*</artifactId>
41 <groupId>org.onap.ccsdk.sli.plugins</groupId>
42 <artifactId>ccsdk-properties-node</artifactId>
43 <version>${project.version}</version>
45 <classifier>features</classifier>
49 <artifactId>*</artifactId>
54 <groupId>org.onap.ccsdk.sli.plugins</groupId>
55 <artifactId>ccsdk-restapi-call-node</artifactId>
56 <version>${project.version}</version>
58 <classifier>features</classifier>
62 <artifactId>*</artifactId>
67 <groupId>org.onap.ccsdk.sli.plugins</groupId>
68 <artifactId>ccsdk-restconf-client</artifactId>
69 <version>${project.version}</version>
71 <classifier>features</classifier>
75 <artifactId>*</artifactId>
80 <groupId>org.onap.ccsdk.sli.plugins</groupId>
81 <artifactId>ccsdk-sshapi-call-node</artifactId>
82 <version>${project.version}</version>
84 <classifier>features</classifier>
88 <artifactId>*</artifactId>
93 <groupId>org.onap.ccsdk.sli.plugins</groupId>
94 <artifactId>ccsdk-template-node</artifactId>
95 <version>${project.version}</version>
97 <classifier>features</classifier>
101 <artifactId>*</artifactId>
106 <groupId>org.onap.ccsdk.sli.plugins</groupId>
107 <artifactId>${application.name}</artifactId>
108 <version>${project.version}</version>
110 <classifier>features</classifier>
114 <artifactId>*</artifactId>
125 <artifactId>maven-assembly-plugin</artifactId>
128 <id>maven-repo-zip</id>
132 <phase>package</phase>
134 <attach>true</attach>
135 <finalName>stage/${application.name}-${project.version}</finalName>
137 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
139 <appendAssemblyId>true</appendAssemblyId>
143 <id>installer-zip</id>
147 <phase>package</phase>
149 <attach>true</attach>
150 <finalName>${application.name}-${project.version}-installer</finalName>
152 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
154 <appendAssemblyId>false</appendAssemblyId>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-dependency-plugin</artifactId>
164 <id>copy-dependencies</id>
166 <goal>copy-dependencies</goal>
168 <phase>prepare-package</phase>
170 <transitive>false</transitive>
171 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
172 <overWriteReleases>false</overWriteReleases>
173 <overWriteSnapshots>true</overWriteSnapshots>
174 <overWriteIfNewer>true</overWriteIfNewer>
175 <useRepositoryLayout>true</useRepositoryLayout>
176 <addParentPoms>false</addParentPoms>
177 <copyPom>false</copyPom>
178 <includeGroupIds>org.onap.ccsdk.sli.plugins</includeGroupIds>
179 <scope>provided</scope>
185 <artifactId>maven-resources-plugin</artifactId>
186 <version>2.6</version>
189 <id>copy-version</id>
191 <goal>copy-resources</goal>
192 </goals><!-- here the phase you need -->
193 <phase>validate</phase>
195 <outputDirectory>${basedir}/target/stage</outputDirectory>
198 <directory>src/main/resources/scripts</directory>
200 <include>install-feature.sh</include>
202 <filtering>true</filtering>