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>
6 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
7 <artifactId>publisher.aggregate</artifactId>
8 <version>1.0.2-SNAPSHOT</version>
11 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
12 <artifactId>publisher.installer</artifactId>
13 <version>1.0.2-SNAPSHOT</version>
14 <packaging>pom</packaging>
17 <application.name>messagerouter-publisher</application.name>
18 <features.boot>messagerouter-publisher</features.boot>
19 <features.repositories>mvn:${project.groupId}/publisher.features/${project.version}/xml/features</features.repositories>
20 <include.transitive.dependencies>false</include.transitive.dependencies>
25 <groupId>${project.groupId}</groupId>
26 <artifactId>publisher.api</artifactId>
27 <version>${project.version}</version>
30 <groupId>${project.groupId}</groupId>
31 <artifactId>publisher.provider</artifactId>
32 <version>${project.version}</version>
35 <groupId>${project.groupId}</groupId>
36 <artifactId>sample.client</artifactId>
37 <version>${project.version}</version>
44 <artifactId>maven-assembly-plugin</artifactId>
45 <version>2.6</version>
48 <id>maven-repo-zip</id>
52 <phase>package</phase>
55 <finalName>stage/${application.name}-${project.version}</finalName>
57 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
59 <appendAssemblyId>true</appendAssemblyId>
63 <id>installer-zip</id>
67 <phase>package</phase>
70 <finalName>${application.name}-${project.version}-installer</finalName>
72 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
74 <appendAssemblyId>false</appendAssemblyId>
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 <includeGroupIds>${project.groupId}</includeGroupIds>
99 <scope>provided</scope>
105 <artifactId>maven-resources-plugin</artifactId>
106 <version>2.6</version>
109 <id>copy-version</id>
111 <goal>copy-resources</goal>
112 </goals><!-- 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>