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