blob: 4347a66db2dc0589fe46e6616eb4b824e7d7f694 [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 ================================================================================
Patrick Bradybb0e4882019-01-29 10:41:18 -08006 Copyright (C) 2017-2019 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>
Patrick Brady19ae7802019-01-08 12:25:10 -080030 <version>1.5.0-SNAPSHOT</version>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070031 <relativePath />
32 </parent>
33 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053034 <artifactId>appc-sequence-generator-installer</artifactId>
Patrick Bradyccd67e92018-11-12 12:14:11 -080035 <version>1.5.0-SNAPSHOT</version>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053036 <name>Appc Sequence Generator : Karaf Installer</name>
37 <packaging>pom</packaging>
38
39 <properties>
40 <application.name>appc-sequence-generator</application.name>
41 <features.boot>appc-sequence-generator</features.boot>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070042 <features.repositories>mvn:org.onap.appc/onap-appc-sequence-generator/${project.version}/xml/features</features.repositories>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053043 <include.transitive.dependencies>false</include.transitive.dependencies>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070044 <feature-name>appc-sequence-generator</feature-name>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053045 </properties>
46
47 <dependencies>
48
49 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080050 <groupId>org.onap.appc</groupId>
Patrick Bradyd3ef5472018-08-10 15:14:38 -070051 <artifactId>onap-appc-sequence-generator</artifactId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053052 <version>${project.version}</version>
53 <classifier>features</classifier>
54 <type>xml</type>
55 <exclusions>
56 <exclusion>
57 <groupId>*</groupId>
58 <artifactId>*</artifactId>
59 </exclusion>
60 </exclusions>
61 </dependency>
62
63 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080064 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053065 <artifactId>appc-sequence-generator-bundle</artifactId>
66 <version>${project.version}</version>
67 </dependency>
68
69 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080070 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053071 <artifactId>appc-sequence-generator-model</artifactId>
72 <version>${project.version}</version>
73 <!--<type>properties</type>-->
74 </dependency>
75
76 </dependencies>
77
78 <build>
79 <plugins>
80 <plugin>
81 <artifactId>maven-assembly-plugin</artifactId>
82 <executions>
83 <execution>
84 <id>maven-repo-zip</id>
85 <goals>
86 <goal>single</goal>
87 </goals>
88 <phase>package</phase>
89 <configuration>
90 <appendAssemblyId>false</appendAssemblyId>
91 <attach>false</attach>
92 <finalName>stage/${application.name}-${project.version}</finalName>
93 <descriptors>
94 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
95 </descriptors>
96 </configuration>
97 </execution>
98 <execution>
99 <id>installer-zip</id>
100 <goals>
101 <goal>single</goal>
102 </goals>
103 <phase>package</phase>
104 <configuration>
105 <appendAssemblyId>false</appendAssemblyId>
106 <attach>true</attach>
107 <finalName>${application.name}-${project.version}</finalName>
108 <descriptors>
109 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
110 </descriptors>
111 </configuration>
112 </execution>
113 </executions>
114 </plugin>
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-dependency-plugin</artifactId>
118 <executions>
119 <execution>
120 <id>copy-dependencies</id>
121 <goals>
122 <goal>copy-dependencies</goal>
123 </goals>
124 <phase>prepare-package</phase>
125 <configuration>
126 <transitive>false</transitive>
127 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
128 <overWriteReleases>false</overWriteReleases>
129 <overWriteSnapshots>true</overWriteSnapshots>
130 <overWriteIfNewer>true</overWriteIfNewer>
131 <useRepositoryLayout>true</useRepositoryLayout>
132 <addParentPoms>false</addParentPoms>
133 <copyPom>false</copyPom>
134 <excludeGroupIds>org.opendaylight</excludeGroupIds>
135 <scope>provided</scope>
136 </configuration>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <artifactId>maven-resources-plugin</artifactId>
142 <executions>
143 <execution>
144 <id>copy-version</id>
145 <goals>
146 <goal>copy-resources</goal>
147 </goals>
148 <!-- here the phase you need -->
149 <phase>validate</phase>
150 <configuration>
151 <outputDirectory>${basedir}/target/stage</outputDirectory>
152 <resources>
153 <resource>
154 <directory>src/main/resources/scripts</directory>
155 <includes>
156 <include>install-feature.sh</include>
157 </includes>
158 <filtering>true</filtering>
159 </resource>
160 </resources>
161 </configuration>
162 </execution>
163 </executions>
164 </plugin>
165 </plugins>
166 </build>
Kalpesh Chaniyaraa51cfa52017-08-29 04:38:52 -0400167</project>