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>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>odlparent-lite</artifactId>
9 <version>1.0.2-SNAPSHOT</version>
13 <groupId>org.onap.ccsdk.sli.northbound</groupId>
14 <artifactId>dataChange-installer</artifactId>
15 <version>0.2.2-SNAPSHOT</version>
16 <packaging>pom</packaging>
18 <name>ccsdk-sli-northbound :: dataChange :: ${project.artifactId}</name>
21 <application.name>ccsdk-dataChange</application.name>
22 <features.boot>${application.name}</features.boot>
23 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
24 <include.transitive.dependencies>false</include.transitive.dependencies>
30 <groupId>org.onap.ccsdk.sli.northbound</groupId>
31 <artifactId>${application.name}</artifactId>
32 <version>${project.version}</version>
34 <classifier>features</classifier>
38 <artifactId>*</artifactId>
43 <groupId>org.onap.ccsdk.sli.northbound</groupId>
44 <artifactId>dataChange-model</artifactId>
45 <version>${project.version}</version>
49 <groupId>org.onap.ccsdk.sli.northbound</groupId>
50 <artifactId>dataChange-provider</artifactId>
51 <version>${project.version}</version>
60 <artifactId>maven-assembly-plugin</artifactId>
61 <version>2.6</version>
64 <id>maven-repo-zip</id>
68 <phase>package</phase>
70 <attach>false</attach>
71 <finalName>stage/${application.name}-${project.version}</finalName>
73 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
75 <appendAssemblyId>false</appendAssemblyId>
79 <id>installer-zip</id>
83 <phase>package</phase>
86 <finalName>${application.name}-${project.version}-installer</finalName>
88 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
90 <appendAssemblyId>false</appendAssemblyId>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-dependency-plugin</artifactId>
100 <id>copy-dependencies</id>
102 <goal>copy-dependencies</goal>
104 <phase>prepare-package</phase>
106 <transitive>false</transitive>
107 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
108 <overWriteReleases>false</overWriteReleases>
109 <overWriteSnapshots>true</overWriteSnapshots>
110 <overWriteIfNewer>true</overWriteIfNewer>
111 <useRepositoryLayout>true</useRepositoryLayout>
112 <addParentPoms>false</addParentPoms>
113 <copyPom>false</copyPom>
114 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
115 <scope>provided</scope>
121 <artifactId>maven-resources-plugin</artifactId>
122 <version>2.6</version>
125 <id>copy-version</id>
127 <goal>copy-resources</goal>
128 </goals><!-- here the phase you need -->
129 <phase>validate</phase>
131 <outputDirectory>${basedir}/target/stage</outputDirectory>
134 <directory>src/main/resources/scripts</directory>
136 <include>install-feature.sh</include>
138 <filtering>true</filtering>