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-dmaap-adapter</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0</version>
9 <artifactId>appc-dmaap-adapter-installer</artifactId>
10 <name>dMaaP Adapter - Karaf Installer</name>
11 <packaging>pom</packaging>
14 <application.name>appc-dmaap-adapter</application.name>
15 <features.boot>appc-dmaap-adapter</features.boot>
16 <features.repositories>mvn:org.openecomp.appc/appc-dmaap-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-dmaap-adapter-features</artifactId>
24 <version>${project.version}</version>
25 <classifier>features</classifier>
30 <artifactId>*</artifactId>
36 <groupId>org.openecomp.appc</groupId>
37 <artifactId>appc-dmaap-adapter-bundle</artifactId>
38 <version>${project.version}</version>
45 <artifactId>maven-assembly-plugin</artifactId>
48 <id>maven-repo-zip</id>
52 <phase>package</phase>
54 <appendAssemblyId>false</appendAssemblyId>
55 <attach>false</attach>
56 <finalName>stage/${application.name}-${project.version}</finalName>
58 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
63 <id>installer-zip</id>
67 <phase>package</phase>
69 <appendAssemblyId>false</appendAssemblyId>
71 <finalName>${application.name}-${project.version}</finalName>
73 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-dependency-plugin</artifactId>
84 <id>copy-dependencies</id>
86 <goal>copy-dependencies</goal>
88 <phase>prepare-package</phase>
90 <transitive>false</transitive>
91 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
92 <overWriteReleases>false</overWriteReleases>
93 <overWriteSnapshots>true</overWriteSnapshots>
94 <overWriteIfNewer>true</overWriteIfNewer>
95 <useRepositoryLayout>true</useRepositoryLayout>
96 <addParentPoms>false</addParentPoms>
97 <copyPom>false</copyPom>
98 <excludeGroupIds>org.opendaylight</excludeGroupIds>
99 <scope>provided</scope>
105 <artifactId>maven-resources-plugin</artifactId>
108 <id>copy-version</id>
110 <goal>copy-resources</goal>
112 <!-- here the phase you need -->
113 <phase>validate</phase>
115 <outputDirectory>${basedir}/target/stage</outputDirectory>
118 <directory>src/main/resources/scripts</directory>
120 <include>install-feature.sh</include>
122 <filtering>true</filtering>