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>2.1.0</version>
12 <groupId>org.onap.ccsdk.sli.northbound</groupId>
13 <artifactId>slinorthbound-features-installer</artifactId>
14 <version>1.1.1-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ccsdk-sli-northbound :: features :: ${project.artifactId}</name>
20 <application.name>ccsdk-sli-northbound-all</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
28 <groupId>org.onap.ccsdk.sli.northbound</groupId>
29 <artifactId>ccsdk-asdcApi</artifactId>
30 <version>${project.version}</version>
32 <classifier>features</classifier>
36 <artifactId>*</artifactId>
41 <groupId>org.onap.ccsdk.sli.northbound</groupId>
42 <artifactId>ccsdk-daexim-offsite-backup</artifactId>
43 <version>${project.version}</version>
45 <classifier>features</classifier>
49 <artifactId>*</artifactId>
54 <groupId>org.onap.ccsdk.sli.northbound</groupId>
55 <artifactId>ccsdk-dataChange</artifactId>
56 <version>${project.version}</version>
58 <classifier>features</classifier>
62 <artifactId>*</artifactId>
67 <groupId>org.onap.ccsdk.sli.northbound</groupId>
68 <artifactId>ccsdk-lcm</artifactId>
69 <version>${project.version}</version>
71 <classifier>features</classifier>
75 <artifactId>*</artifactId>
82 <groupId>org.onap.ccsdk.sli.northbound</groupId>
83 <artifactId>${application.name}</artifactId>
84 <version>${project.version}</version>
86 <classifier>features</classifier>
90 <artifactId>*</artifactId>
101 <artifactId>maven-assembly-plugin</artifactId>
104 <id>maven-repo-zip</id>
108 <phase>package</phase>
110 <attach>true</attach>
111 <finalName>stage/${application.name}-${project.version}</finalName>
113 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
115 <appendAssemblyId>true</appendAssemblyId>
119 <id>installer-zip</id>
123 <phase>package</phase>
125 <attach>true</attach>
126 <finalName>${application.name}-${project.version}-installer</finalName>
128 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
130 <appendAssemblyId>false</appendAssemblyId>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-dependency-plugin</artifactId>
140 <id>copy-dependencies</id>
142 <goal>copy-dependencies</goal>
144 <phase>prepare-package</phase>
146 <transitive>false</transitive>
147 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
148 <overWriteReleases>false</overWriteReleases>
149 <overWriteSnapshots>true</overWriteSnapshots>
150 <overWriteIfNewer>true</overWriteIfNewer>
151 <useRepositoryLayout>true</useRepositoryLayout>
152 <addParentPoms>false</addParentPoms>
153 <copyPom>false</copyPom>
154 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
155 <scope>provided</scope>
161 <artifactId>maven-resources-plugin</artifactId>
162 <version>2.6</version>
165 <id>copy-version</id>
167 <goal>copy-resources</goal>
168 </goals><!-- here the phase you need -->
169 <phase>validate</phase>
171 <outputDirectory>${basedir}/target/stage</outputDirectory>
174 <directory>src/main/resources/scripts</directory>
176 <include>install-feature.sh</include>
178 <filtering>true</filtering>