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>consumer.aggregate</artifactId>
8 <version>1.1.0</version>
11 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
12 <artifactId>consumer.installer</artifactId>
13 <version>1.1.0</version>
14 <packaging>pom</packaging>
17 <application.name>messagerouter-consumer</application.name>
18 <features.boot>messagerouter-consumer</features.boot>
19 <features.repositories>mvn:${project.groupId}/consumer.features/${project.version}/xml/features</features.repositories>
20 <include.transitive.dependencies>false</include.transitive.dependencies>
25 <groupId>${project.groupId}</groupId>
26 <artifactId>consumer.api</artifactId>
27 <version>${project.version}</version>
30 <groupId>${project.groupId}</groupId>
31 <artifactId>consumer.provider</artifactId>
32 <version>${project.version}</version>
39 <artifactId>maven-assembly-plugin</artifactId>
40 <version>2.6</version>
43 <id>maven-repo-zip</id>
47 <phase>package</phase>
50 <finalName>stage/${application.name}-${project.version}</finalName>
52 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
54 <appendAssemblyId>true</appendAssemblyId>
58 <id>installer-zip</id>
62 <phase>package</phase>
65 <finalName>${application.name}-${project.version}-installer</finalName>
67 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
69 <appendAssemblyId>false</appendAssemblyId>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-dependency-plugin</artifactId>
79 <id>copy-dependencies</id>
81 <goal>copy-dependencies</goal>
83 <phase>prepare-package</phase>
85 <transitive>false</transitive>
86 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
87 <overWriteReleases>false</overWriteReleases>
88 <overWriteSnapshots>true</overWriteSnapshots>
89 <overWriteIfNewer>true</overWriteIfNewer>
90 <useRepositoryLayout>true</useRepositoryLayout>
91 <addParentPoms>false</addParentPoms>
92 <copyPom>false</copyPom>
93 <includeGroupIds>${project.groupId}</includeGroupIds>
94 <scope>provided</scope>
100 <artifactId>maven-resources-plugin</artifactId>
101 <version>2.6</version>
104 <id>copy-version</id>
106 <goal>copy-resources</goal>
107 </goals><!-- here the phase you need -->
108 <phase>validate</phase>
110 <outputDirectory>${basedir}/target/stage</outputDirectory>
113 <directory>src/main/resources/scripts</directory>
115 <include>install-feature.sh</include>
117 <filtering>true</filtering>