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 <artifactId>appc-netconf-adapter</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0</version>
9 <artifactId>appc-netconf-adapter-installer</artifactId>
10 <name>NETCONF Adapter - Karaf Installer</name>
11 <packaging>pom</packaging>
14 <application.name>appc-netconf-adapter</application.name>
15 <features.boot>appc-netconf-adapter</features.boot>
16 <features.repositories>mvn:org.openecomp.appc/appc-netconf-adapter-features/${project.version}/xml/features</features.repositories>
17 <include.transitive.dependencies>false</include.transitive.dependencies>
22 <groupId>org.openecomp.appc</groupId>
23 <artifactId>appc-netconf-adapter-features</artifactId>
24 <classifier>features</classifier>
29 <artifactId>*</artifactId>
35 <groupId>org.openecomp.appc</groupId>
36 <artifactId>appc-netconf-adapter-bundle</artifactId>
37 <version>${project.version}</version>
44 <artifactId>maven-assembly-plugin</artifactId>
47 <id>maven-repo-zip</id>
51 <phase>package</phase>
53 <appendAssemblyId>false</appendAssemblyId>
54 <attach>false</attach>
55 <finalName>stage/${application.name}-${project.version}</finalName>
57 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
62 <id>installer-zip</id>
66 <phase>package</phase>
68 <appendAssemblyId>false</appendAssemblyId>
70 <finalName>${application.name}-${project.version}</finalName>
72 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-dependency-plugin</artifactId>
83 <id>copy-dependencies</id>
85 <goal>copy-dependencies</goal>
87 <phase>prepare-package</phase>
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>
102 <artifactId>maven-resources-plugin</artifactId>
105 <id>copy-version</id>
107 <goal>copy-resources</goal>
109 <!-- here the phase you need -->
110 <phase>validate</phase>
112 <outputDirectory>${basedir}/target/stage</outputDirectory>
115 <directory>src/main/resources/scripts</directory>
117 <include>install-feature.sh</include>
119 <filtering>true</filtering>