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.3.3</version>
12 <groupId>org.onap.sdnc.northbound</groupId>
13 <artifactId>generic-resource-api-installer</artifactId>
14 <version>2.3.1-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>sdnc-northbound :: generic-resource-api :: ${project.artifactId}</name>
20 <application.name>sdnc-generic-resource-api</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.sdnc.northbound/${application.name}/${project.version}/xml/features
23 </features.repositories>
24 <include.transitive.dependencies>false</include.transitive.dependencies>
29 <groupId>org.onap.sdnc.northbound</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
33 <classifier>features</classifier>
37 <artifactId>*</artifactId>
42 <groupId>org.onap.sdnc.northbound</groupId>
43 <artifactId>generic-resource-api-provider</artifactId>
44 <version>${project.version}</version>
51 <artifactId>maven-assembly-plugin</artifactId>
52 <version>2.6</version>
55 <id>maven-repo-zip</id>
59 <phase>package</phase>
62 <finalName>stage/${application.name}-${project.version}</finalName>
64 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
69 <id>installer-zip</id>
73 <phase>package</phase>
76 <finalName>${application.name}-${project.version}-installer</finalName>
78 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
80 <appendAssemblyId>false</appendAssemblyId>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-dependency-plugin</artifactId>
90 <id>copy-dependencies</id>
92 <goal>copy-dependencies</goal>
94 <phase>prepare-package</phase>
96 <transitive>false</transitive>
97 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
98 <overWriteReleases>false</overWriteReleases>
99 <overWriteSnapshots>true</overWriteSnapshots>
100 <overWriteIfNewer>true</overWriteIfNewer>
101 <useRepositoryLayout>true</useRepositoryLayout>
102 <addParentPoms>false</addParentPoms>
103 <copyPom>false</copyPom>
104 <includeGroupIds>org.onap.sdnc.northbound</includeGroupIds>
105 <scope>provided</scope>
111 <artifactId>maven-resources-plugin</artifactId>
112 <version>2.6</version>
115 <id>copy-version</id>
117 <goal>copy-resources</goal>
118 </goals><!-- here the phase you need -->
119 <phase>validate</phase>
121 <outputDirectory>${basedir}/target/stage</outputDirectory>
124 <directory>src/main/resources/scripts</directory>
126 <include>install-feature.sh</include>
128 <filtering>true</filtering>