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>vnfapi</artifactId>
7 <groupId>org.openecomp.sdnc.northbound</groupId>
8 <version>1.1.2-SNAPSHOT</version>
10 <artifactId>vnfapi-installer</artifactId>
11 <name>VNF API - Karaf Installer</name>
12 <packaging>pom</packaging>
15 <application.name>sdnc-vnfapi</application.name>
16 <features.boot>sdnc-vnfapi</features.boot>
17 <features.repositories>mvn:org.openecomp.sdnc.northbound/vnfapi-features/${project.version}/xml/features</features.repositories>
18 <include.transitive.dependencies>false</include.transitive.dependencies>
24 <groupId>org.openecomp.sdnc.northbound</groupId>
25 <artifactId>vnfapi-features</artifactId>
26 <version>${project.version}</version>
27 <classifier>features</classifier>
32 <artifactId>*</artifactId>
38 <groupId>org.openecomp.sdnc.northbound</groupId>
39 <artifactId>vnfapi-provider</artifactId>
40 <version>${project.version}</version>
49 <artifactId>maven-assembly-plugin</artifactId>
50 <version>2.6</version>
53 <id>maven-repo-zip</id>
57 <phase>package</phase>
59 <attach>false</attach>
60 <finalName>stage/${application.name}-${project.version}</finalName>
62 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
64 <appendAssemblyId>false</appendAssemblyId>
68 <id>installer-zip</id>
72 <phase>package</phase>
75 <finalName>${application.name}-${project.version}-installer</finalName>
77 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
79 <appendAssemblyId>false</appendAssemblyId>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-dependency-plugin</artifactId>
89 <id>copy-dependencies</id>
91 <goal>copy-dependencies</goal>
93 <phase>prepare-package</phase>
95 <transitive>false</transitive>
96 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
97 <overWriteReleases>false</overWriteReleases>
98 <overWriteSnapshots>true</overWriteSnapshots>
99 <overWriteIfNewer>true</overWriteIfNewer>
100 <useRepositoryLayout>true</useRepositoryLayout>
101 <addParentPoms>false</addParentPoms>
102 <copyPom>false</copyPom>
103 <includeGroupIds>org.openecomp.sdnc</includeGroupIds>
104 <excludeArtifactIds>sli-common,sli-provider,dblib-common,dblib-provider</excludeArtifactIds>
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>