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>appc-network-inventory-client</artifactId>
7 <groupId>org.openecomp.appc</groupId>
8 <version>1.2.1-SNAPSHOT</version>
10 <name>APPC Network Inventory - Installer</name>
11 <packaging>pom</packaging>
14 <application.name>appc-network-inventory-client</application.name>
15 <features.boot>appc-network-inventory-client</features.boot>
16 <features.repositories>mvn:org.openecomp.appc/appc-network-inventory-features/${project.version}/xml/features</features.repositories>
17 <include.transitive.dependencies>false</include.transitive.dependencies>
22 <groupId>org.openecomp.appc</groupId>
23 <artifactId>appc-network-inventory-client-features</artifactId>
24 <classifier>features</classifier>
29 <artifactId>*</artifactId>
34 <groupId>org.openecomp.appc</groupId>
35 <artifactId>appc-network-inventory-client-provider</artifactId>
43 <artifactId>maven-assembly-plugin</artifactId>
46 <id>maven-repo-zip</id>
50 <phase>package</phase>
52 <appendAssemblyId>false</appendAssemblyId>
53 <attach>false</attach>
54 <finalName>stage/${application.name}-${project.version}</finalName>
56 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
61 <id>installer-zip</id>
65 <phase>package</phase>
67 <appendAssemblyId>false</appendAssemblyId>
69 <finalName>${application.name}-${project.version}</finalName>
71 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-dependency-plugin</artifactId>
82 <id>copy-dependencies</id>
84 <goal>copy-dependencies</goal>
86 <phase>prepare-package</phase>
88 <transitive>false</transitive>
89 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
90 <overWriteReleases>false</overWriteReleases>
91 <overWriteSnapshots>true</overWriteSnapshots>
92 <overWriteIfNewer>true</overWriteIfNewer>
93 <useRepositoryLayout>true</useRepositoryLayout>
94 <addParentPoms>false</addParentPoms>
95 <copyPom>false</copyPom>
96 <excludeGroupIds>org.opendaylight</excludeGroupIds>
97 <scope>provided</scope>
103 <artifactId>maven-resources-plugin</artifactId>
106 <id>copy-version</id>
108 <goal>copy-resources</goal>
110 <!-- here the phase you need -->
111 <phase>validate</phase>
113 <outputDirectory>${basedir}/target/stage</outputDirectory>
116 <directory>src/main/resources/scripts</directory>
118 <include>install-feature.sh</include>
120 <filtering>true</filtering>
130 <artifactId>appc-network-inventory-client-installer</artifactId>