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>
5 <artifactId>dataChange</artifactId>
6 <groupId>org.onap.ccsdk.sli.northbound</groupId>
7 <version>0.2.0-SNAPSHOT</version>
9 <artifactId>dataChange-installer</artifactId>
10 <name>dataChange - Karaf Installer</name>
11 <packaging>pom</packaging>
14 <application.name>sdnc-dataChange</application.name>
15 <features.boot>sdnc-dataChange</features.boot>
16 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/dataChange-features/${project.version}/xml/features</features.repositories>
17 <include.transitive.dependencies>false</include.transitive.dependencies>
23 <groupId>org.onap.ccsdk.sli.northbound</groupId>
24 <artifactId>dataChange-features</artifactId>
25 <version>${project.version}</version>
26 <classifier>features</classifier>
31 <artifactId>*</artifactId>
37 <groupId>org.onap.ccsdk.sli.northbound</groupId>
38 <artifactId>dataChange-provider</artifactId>
39 <version>${project.version}</version>
48 <artifactId>maven-assembly-plugin</artifactId>
49 <version>2.6</version>
52 <id>maven-repo-zip</id>
56 <phase>package</phase>
58 <attach>false</attach>
59 <finalName>stage/${application.name}-${project.version}</finalName>
61 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
63 <appendAssemblyId>false</appendAssemblyId>
67 <id>installer-zip</id>
71 <phase>package</phase>
74 <finalName>${application.name}-${project.version}-installer</finalName>
76 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
78 <appendAssemblyId>false</appendAssemblyId>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-dependency-plugin</artifactId>
88 <id>copy-dependencies</id>
90 <goal>copy-dependencies</goal>
92 <phase>prepare-package</phase>
94 <transitive>false</transitive>
95 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
96 <overWriteReleases>false</overWriteReleases>
97 <overWriteSnapshots>true</overWriteSnapshots>
98 <overWriteIfNewer>true</overWriteIfNewer>
99 <useRepositoryLayout>true</useRepositoryLayout>
100 <addParentPoms>false</addParentPoms>
101 <copyPom>false</copyPom>
102 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
103 <excludeArtifactIds>sli-common,sli-provider,dblib-provider</excludeArtifactIds>
104 <scope>provided</scope>
110 <artifactId>maven-resources-plugin</artifactId>
111 <version>2.6</version>
114 <id>copy-version</id>
116 <goal>copy-resources</goal>
117 </goals><!-- here the phase you need -->
118 <phase>validate</phase>
120 <outputDirectory>${basedir}/target/stage</outputDirectory>
123 <directory>src/main/resources/scripts</directory>
125 <include>install-feature.sh</include>
127 <filtering>true</filtering>