blob: 2015c3eff0300270adadfd5bd46a3b28c345ad1a [file] [log] [blame]
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +00001<?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">
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05003 <modelVersion>4.0.0</modelVersion>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +00004
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05005 <parent>
6 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
7 <artifactId>consumer.aggregate</artifactId>
Dan Timoneyef9ea4a2022-11-10 14:55:19 -05008 <version>1.6.1-SNAPSHOT</version>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05009 </parent>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +000010
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050011 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
12 <artifactId>consumer.installer</artifactId>
Dan Timoneyef9ea4a2022-11-10 14:55:19 -050013 <version>1.6.1-SNAPSHOT</version>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050014 <packaging>pom</packaging>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +000015
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050016 <name>ccsdk-sli-adaptors :: message-router :: ${project.artifactId}</name>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +000017
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050018 <properties>
19 <application.name>messagerouter-consumer</application.name>
20 <features.boot>messagerouter-consumer</features.boot>
21 <features.repositories>mvn:${project.groupId}/consumer.features/${project.version}/xml/features</features.repositories>
22 <include.transitive.dependencies>false</include.transitive.dependencies>
23 </properties>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +000024
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050025 <dependencies>
26 <dependency>
27 <groupId>${project.groupId}</groupId>
28 <artifactId>consumer.api</artifactId>
29 <version>${project.version}</version>
30 </dependency>
31 <dependency>
32 <groupId>${project.groupId}</groupId>
33 <artifactId>consumer.provider</artifactId>
34 <version>${project.version}</version>
35 </dependency>
36 </dependencies>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +000037
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050038 <build>
39 <plugins>
40 <plugin>
41 <artifactId>maven-assembly-plugin</artifactId>
42 <version>2.6</version>
43 <executions>
44 <execution>
45 <id>maven-repo-zip</id>
46 <goals>
47 <goal>single</goal>
48 </goals>
49 <phase>package</phase>
50 <configuration>
51 <attach>true</attach>
52 <finalName>stage/${application.name}-${project.version}</finalName>
53 <descriptors>
54 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
55 </descriptors>
56 <appendAssemblyId>true</appendAssemblyId>
57 </configuration>
58 </execution>
59 <execution>
60 <id>installer-zip</id>
61 <goals>
62 <goal>single</goal>
63 </goals>
64 <phase>package</phase>
65 <configuration>
66 <attach>true</attach>
67 <finalName>${application.name}-${project.version}-installer</finalName>
68 <descriptors>
69 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
70 </descriptors>
71 <appendAssemblyId>false</appendAssemblyId>
72 </configuration>
73 </execution>
74 </executions>
75 </plugin>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-dependency-plugin</artifactId>
79 <executions>
80 <execution>
81 <id>copy-dependencies</id>
82 <goals>
83 <goal>copy-dependencies</goal>
84 </goals>
85 <phase>prepare-package</phase>
86 <configuration>
87 <transitive>false</transitive>
88 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
89 <overWriteReleases>false</overWriteReleases>
90 <overWriteSnapshots>true</overWriteSnapshots>
91 <overWriteIfNewer>true</overWriteIfNewer>
92 <useRepositoryLayout>true</useRepositoryLayout>
93 <addParentPoms>false</addParentPoms>
94 <copyPom>false</copyPom>
95 <includeGroupIds>${project.groupId}</includeGroupIds>
96 <scope>provided</scope>
97 </configuration>
98 </execution>
99 </executions>
100 </plugin>
101 <plugin>
102 <artifactId>maven-resources-plugin</artifactId>
103 <version>2.6</version>
104 <executions>
105 <execution>
106 <id>copy-version</id>
107 <goals>
108 <goal>copy-resources</goal>
109 </goals><!-- here the phase you need -->
110 <phase>validate</phase>
111 <configuration>
112 <outputDirectory>${basedir}/target/stage</outputDirectory>
113 <resources>
114 <resource>
115 <directory>src/main/resources/scripts</directory>
116 <includes>
117 <include>install-feature.sh</include>
118 </includes>
119 <filtering>true</filtering>
120 </resource>
121 </resources>
122 </configuration>
123 </execution>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +0000124
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500125 </executions>
126 </plugin>
127
128 </plugins>
129 </build>
Smokowski, Kevin (ks6305)d14bb402019-05-30 22:23:52 +0000130</project>