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>0.5.4</version>
11 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
12 <artifactId>publisher.installer</artifactId>
13 <version>0.5.4</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>ccsdk-messagerouter-publisher</artifactId>
27 <version>${project.version}</version>
29 <classifier>features</classifier>
32 <groupId>${project.groupId}</groupId>
33 <artifactId>publisher.api</artifactId>
34 <version>${project.version}</version>
37 <groupId>${project.groupId}</groupId>
38 <artifactId>publisher.provider</artifactId>
39 <version>${project.version}</version>
42 <groupId>${project.groupId}</groupId>
43 <artifactId>sample.client</artifactId>
44 <version>${project.version}</version>
51 <artifactId>maven-assembly-plugin</artifactId>
52 <version>2.6</version>
55 <id>maven-repo-zip</id>
59 <phase>package</phase>
62 <finalName>stage/${application.name}-${project.version}</finalName>
64 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
66 <appendAssemblyId>true</appendAssemblyId>
70 <id>installer-zip</id>
74 <phase>package</phase>
77 <finalName>${application.name}-${project.version}-installer</finalName>
79 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
81 <appendAssemblyId>false</appendAssemblyId>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-dependency-plugin</artifactId>
91 <id>copy-dependencies</id>
93 <goal>copy-dependencies</goal>
95 <phase>prepare-package</phase>
97 <transitive>false</transitive>
98 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
99 <overWriteReleases>false</overWriteReleases>
100 <overWriteSnapshots>true</overWriteSnapshots>
101 <overWriteIfNewer>true</overWriteIfNewer>
102 <useRepositoryLayout>true</useRepositoryLayout>
103 <addParentPoms>false</addParentPoms>
104 <copyPom>false</copyPom>
105 <includeGroupIds>${project.groupId}</includeGroupIds>
106 <scope>provided</scope>
112 <artifactId>maven-resources-plugin</artifactId>
113 <version>2.6</version>
116 <id>copy-version</id>
118 <goal>copy-resources</goal>
119 </goals><!-- here the phase you need -->
120 <phase>validate</phase>
122 <outputDirectory>${basedir}/target/stage</outputDirectory>
125 <directory>src/main/resources/scripts</directory>
127 <include>install-feature.sh</include>
129 <filtering>true</filtering>