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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <artifactId>dataChange</artifactId>
7 <groupId>org.openecomp.sdnc.northbound</groupId>
8 <version>1.1.0-SNAPSHOT</version>
10 <artifactId>dataChange-installer</artifactId>
11 <name>dataChange - Karaf Installer</name>
12 <packaging>pom</packaging>
15 <application.name>sdnc-dataChange</application.name>
16 <features.boot>sdnc-dataChange</features.boot>
17 <features.repositories>mvn:org.openecomp.sdnc.northbound/dataChange-features/${project.version}/xml/features</features.repositories>
18 <include.transitive.dependencies>false</include.transitive.dependencies>
24 <groupId>org.openecomp.sdnc.northbound</groupId>
25 <artifactId>dataChange-features</artifactId>
26 <version>${project.version}</version>
27 <classifier>features</classifier>
32 <artifactId>*</artifactId>
38 <groupId>org.openecomp.sdnc.northbound</groupId>
39 <artifactId>dataChange-provider</artifactId>
40 <version>${project.version}</version>
49 <artifactId>maven-assembly-plugin</artifactId>
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.openecomp.sdnc</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>