blob: 46f99023438bafae495dbde0912ee30d0d2472e9 [file] [log] [blame]
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -05002<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>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -04004
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -05005 <parent>
Dan Timoney5de81962021-01-26 13:15:47 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoneye93adc22021-02-22 14:11:46 -05008 <version>2.1.1</version>
Dan Timoney5de81962021-01-26 13:15:47 -05009 <relativePath/>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050010 </parent>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040011
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050012 <groupId>org.onap.ccsdk.sli.northbound</groupId>
13 <artifactId>slinorthbound-features-installer</artifactId>
Dan Timoney3f3e6892021-02-23 11:37:18 -050014 <version>1.2.1-SNAPSHOT</version>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050015 <packaging>pom</packaging>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040016
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050017 <name>ccsdk-sli-northbound :: features :: ${project.artifactId}</name>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040018
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050019 <properties>
20 <application.name>ccsdk-sli-northbound-all</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040025
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050026 <dependencies>
Timoney, Dan (dt5972)893680f2019-12-13 14:48:58 -050027 <dependency>
28 <groupId>org.onap.ccsdk.sli.northbound</groupId>
29 <artifactId>ccsdk-asdcApi</artifactId>
30 <version>${project.version}</version>
31 <type>xml</type>
32 <classifier>features</classifier>
33 <exclusions>
34 <exclusion>
35 <groupId>*</groupId>
36 <artifactId>*</artifactId>
37 </exclusion>
38 </exclusions>
39 </dependency>
40 <dependency>
41 <groupId>org.onap.ccsdk.sli.northbound</groupId>
42 <artifactId>ccsdk-daexim-offsite-backup</artifactId>
43 <version>${project.version}</version>
44 <type>xml</type>
45 <classifier>features</classifier>
46 <exclusions>
47 <exclusion>
48 <groupId>*</groupId>
49 <artifactId>*</artifactId>
50 </exclusion>
51 </exclusions>
52 </dependency>
53 <dependency>
54 <groupId>org.onap.ccsdk.sli.northbound</groupId>
55 <artifactId>ccsdk-dataChange</artifactId>
56 <version>${project.version}</version>
57 <type>xml</type>
58 <classifier>features</classifier>
59 <exclusions>
60 <exclusion>
61 <groupId>*</groupId>
62 <artifactId>*</artifactId>
63 </exclusion>
64 </exclusions>
65 </dependency>
66 <dependency>
67 <groupId>org.onap.ccsdk.sli.northbound</groupId>
68 <artifactId>ccsdk-lcm</artifactId>
69 <version>${project.version}</version>
70 <type>xml</type>
71 <classifier>features</classifier>
72 <exclusions>
73 <exclusion>
74 <groupId>*</groupId>
75 <artifactId>*</artifactId>
76 </exclusion>
77 </exclusions>
78 </dependency>
79
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050080 <dependency>
81 <groupId>org.onap.ccsdk.sli.northbound</groupId>
82 <artifactId>${application.name}</artifactId>
83 <version>${project.version}</version>
84 <type>xml</type>
85 <classifier>features</classifier>
86 <exclusions>
87 <exclusion>
88 <groupId>*</groupId>
89 <artifactId>*</artifactId>
90 </exclusion>
91 </exclusions>
92 </dependency>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040093
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050094 </dependencies>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040095
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050096 <build>
97 <plugins>
98 <plugin>
99 <artifactId>maven-assembly-plugin</artifactId>
100 <executions>
101 <execution>
102 <id>maven-repo-zip</id>
103 <goals>
104 <goal>single</goal>
105 </goals>
106 <phase>package</phase>
107 <configuration>
108 <attach>true</attach>
109 <finalName>stage/${application.name}-${project.version}</finalName>
110 <descriptors>
111 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
112 </descriptors>
113 <appendAssemblyId>true</appendAssemblyId>
114 </configuration>
115 </execution>
116 <execution>
117 <id>installer-zip</id>
118 <goals>
119 <goal>single</goal>
120 </goals>
121 <phase>package</phase>
122 <configuration>
123 <attach>true</attach>
124 <finalName>${application.name}-${project.version}-installer</finalName>
125 <descriptors>
126 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
127 </descriptors>
128 <appendAssemblyId>false</appendAssemblyId>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-dependency-plugin</artifactId>
136 <executions>
137 <execution>
138 <id>copy-dependencies</id>
139 <goals>
140 <goal>copy-dependencies</goal>
141 </goals>
142 <phase>prepare-package</phase>
143 <configuration>
144 <transitive>false</transitive>
145 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
146 <overWriteReleases>false</overWriteReleases>
147 <overWriteSnapshots>true</overWriteSnapshots>
148 <overWriteIfNewer>true</overWriteIfNewer>
149 <useRepositoryLayout>true</useRepositoryLayout>
150 <addParentPoms>false</addParentPoms>
151 <copyPom>false</copyPom>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500152 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -0500153 <scope>provided</scope>
154 </configuration>
155 </execution>
156 </executions>
157 </plugin>
158 <plugin>
159 <artifactId>maven-resources-plugin</artifactId>
160 <version>2.6</version>
161 <executions>
162 <execution>
163 <id>copy-version</id>
164 <goals>
165 <goal>copy-resources</goal>
166 </goals><!-- here the phase you need -->
167 <phase>validate</phase>
168 <configuration>
169 <outputDirectory>${basedir}/target/stage</outputDirectory>
170 <resources>
171 <resource>
172 <directory>src/main/resources/scripts</directory>
173 <includes>
174 <include>install-feature.sh</include>
175 </includes>
176 <filtering>true</filtering>
177 </resource>
178 </resources>
179 </configuration>
180 </execution>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -0400181
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -0500182 </executions>
183 </plugin>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -0400184
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -0500185 </plugins>
186 </build>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -0400187</project>