blob: 0f73e25abfe7b9f5951d653752697a59a1d3ea49 [file] [log] [blame]
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +05301<?xml version="1.0"?>
Kalpesh Chaniyaraa51cfa52017-08-29 04:38:52 -04002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungfb3eec22018-06-14 10:17:19 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Kalpesh Chaniyaraa51cfa52017-08-29 04:38:52 -04007 ================================================================================
8 Copyright (C) 2017 Amdocs
9 =============================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
Kalpesh Chaniyaraa51cfa52017-08-29 04:38:52 -040022 ============LICENSE_END=========================================================
23-->
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053024<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26 <modelVersion>4.0.0</modelVersion>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070027 <parent>
28 <groupId>org.onap.appc.parent</groupId>
29 <artifactId>odlparent-lite</artifactId>
30 <version>1.4.0-SNAPSHOT</version>
31 <relativePath />
32 </parent>
33 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053034 <artifactId>appc-sequence-generator-installer</artifactId>
35 <name>Appc Sequence Generator : Karaf Installer</name>
36 <packaging>pom</packaging>
37
38 <properties>
39 <application.name>appc-sequence-generator</application.name>
40 <features.boot>appc-sequence-generator</features.boot>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070041 <features.repositories>mvn:org.onap.appc/onap-appc-sequence-generator/${project.version}/xml/features</features.repositories>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053042 <include.transitive.dependencies>false</include.transitive.dependencies>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070043 <feature-name>appc-sequence-generator</feature-name>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053044 </properties>
45
46 <dependencies>
47
48 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080049 <groupId>org.onap.appc</groupId>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070050 <artifactId>onap-appc-sequence-generator</artifactId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053051 <version>${project.version}</version>
52 <classifier>features</classifier>
53 <type>xml</type>
54 <exclusions>
55 <exclusion>
56 <groupId>*</groupId>
57 <artifactId>*</artifactId>
58 </exclusion>
59 </exclusions>
60 </dependency>
61
62 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080063 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053064 <artifactId>appc-sequence-generator-bundle</artifactId>
65 <version>${project.version}</version>
66 </dependency>
67
68 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080069 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053070 <artifactId>appc-sequence-generator-bundle</artifactId>
71 <classifier>config</classifier>
72 <version>${project.version}</version>
73 <type>xml</type>
74 </dependency>
75
76 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080077 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053078 <artifactId>appc-sequence-generator-model</artifactId>
79 <version>${project.version}</version>
80 <!--<type>properties</type>-->
81 </dependency>
82
83 </dependencies>
84
85 <build>
86 <plugins>
87 <plugin>
88 <artifactId>maven-assembly-plugin</artifactId>
89 <executions>
90 <execution>
91 <id>maven-repo-zip</id>
92 <goals>
93 <goal>single</goal>
94 </goals>
95 <phase>package</phase>
96 <configuration>
97 <appendAssemblyId>false</appendAssemblyId>
98 <attach>false</attach>
99 <finalName>stage/${application.name}-${project.version}</finalName>
100 <descriptors>
101 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
102 </descriptors>
103 </configuration>
104 </execution>
105 <execution>
106 <id>installer-zip</id>
107 <goals>
108 <goal>single</goal>
109 </goals>
110 <phase>package</phase>
111 <configuration>
112 <appendAssemblyId>false</appendAssemblyId>
113 <attach>true</attach>
114 <finalName>${application.name}-${project.version}</finalName>
115 <descriptors>
116 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
117 </descriptors>
118 </configuration>
119 </execution>
120 </executions>
121 </plugin>
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-dependency-plugin</artifactId>
125 <executions>
126 <execution>
127 <id>copy-dependencies</id>
128 <goals>
129 <goal>copy-dependencies</goal>
130 </goals>
131 <phase>prepare-package</phase>
132 <configuration>
133 <transitive>false</transitive>
134 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
135 <overWriteReleases>false</overWriteReleases>
136 <overWriteSnapshots>true</overWriteSnapshots>
137 <overWriteIfNewer>true</overWriteIfNewer>
138 <useRepositoryLayout>true</useRepositoryLayout>
139 <addParentPoms>false</addParentPoms>
140 <copyPom>false</copyPom>
141 <excludeGroupIds>org.opendaylight</excludeGroupIds>
142 <scope>provided</scope>
143 </configuration>
144 </execution>
145 </executions>
146 </plugin>
147 <plugin>
148 <artifactId>maven-resources-plugin</artifactId>
149 <executions>
150 <execution>
151 <id>copy-version</id>
152 <goals>
153 <goal>copy-resources</goal>
154 </goals>
155 <!-- here the phase you need -->
156 <phase>validate</phase>
157 <configuration>
158 <outputDirectory>${basedir}/target/stage</outputDirectory>
159 <resources>
160 <resource>
161 <directory>src/main/resources/scripts</directory>
162 <includes>
163 <include>install-feature.sh</include>
164 </includes>
165 <filtering>true</filtering>
166 </resource>
167 </resources>
168 </configuration>
169 </execution>
170 </executions>
171 </plugin>
172 </plugins>
173 </build>
Kalpesh Chaniyaraa51cfa52017-08-29 04:38:52 -0400174</project>