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>
5 <groupId>org.openecomp.appc</groupId>
6 <artifactId>appc-dg-shared</artifactId>
7 <version>1.2.0-SNAPSHOT</version>
9 <artifactId>appc-dg-shared-installer</artifactId>
10 <name>APPC DG Shared - Karaf Installer</name>
11 <packaging>pom</packaging>
14 <application.name>appc-dg-shared</application.name>
15 <features.boot>appc-dg-shared</features.boot>
16 <features.repositories>mvn:org.openecomp.appc/appc-dg-shared-features/${project.version}/xml/features</features.repositories>
21 <groupId>org.openecomp.appc</groupId>
22 <artifactId>appc-dg-shared-features</artifactId>
23 <version>${project.version}</version>
24 <classifier>features</classifier>
29 <groupId>org.openecomp.appc</groupId>
30 <artifactId>appc-ssh-adapter-features</artifactId>
31 <version>${project.version}</version>
32 <classifier>features</classifier>
37 <groupId>org.openecomp.appc</groupId>
38 <artifactId>appc-netconf-adapter-features</artifactId>
39 <version>${project.version}</version>
40 <classifier>features</classifier>
48 <artifactId>maven-assembly-plugin</artifactId>
51 <id>mavne-repo-zip</id>
55 <phase>package</phase>
57 <appendAssemblyId>false</appendAssemblyId>
58 <attach>false</attach>
59 <finalName>stage/${application.name}-${project.version}</finalName>
61 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
66 <id>installer-zip</id>
70 <phase>package</phase>
72 <appendAssemblyId>false</appendAssemblyId>
74 <finalName>${application.name}-${project.version}</finalName>
76 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-dependency-plugin</artifactId>
87 <id>copy-dependencies</id>
89 <goal>copy-dependencies</goal>
91 <phase>prepare-package</phase>
93 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
94 <overWriteReleases>false</overWriteReleases>
95 <overWriteSnapshots>true</overWriteSnapshots>
96 <overWriteIfNewer>true</overWriteIfNewer>
97 <useRepositoryLayout>true</useRepositoryLayout>
98 <addParentPoms>false</addParentPoms>
99 <copyPom>false</copyPom>
100 <excludeGroupIds>org.opendaylight</excludeGroupIds>
106 <artifactId>maven-resources-plugin</artifactId>
109 <id>copy-version</id>
111 <goal>copy-resources</goal>
113 <!-- here the phase you need -->
114 <phase>validate</phase>
116 <outputDirectory>${basedir}/target/stage</outputDirectory>
119 <directory>src/main/resources/scripts</directory>
121 <include>install-feature.sh</include>
123 <filtering>true</filtering>