blob: 572054900f76e2f238c6e7417d8c03e9c17d1d82 [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell463f70e2018-01-12 10:00:59 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClunga8027392018-06-13 15:49:08 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnell463f70e2018-01-12 10:00:59 -06007 Copyright (C) 2017 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
Skip Wonnell463f70e2018-01-12 10:00:59 -060021 -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080022<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">
23 <modelVersion>4.0.0</modelVersion>
Patrick Brady32229082018-08-09 12:05:53 -070024 <parent>
25 <groupId>org.onap.appc.parent</groupId>
26 <artifactId>odlparent-lite</artifactId>
Patrick Brady19ae7802019-01-08 12:25:10 -080027 <version>1.5.0-SNAPSHOT</version>
Patrick Brady32229082018-08-09 12:05:53 -070028 <relativePath />
29 </parent>
30 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080031 <artifactId>appc-dg-shared-installer</artifactId>
32 <name>APPC DG Shared - Karaf Installer</name>
33 <packaging>pom</packaging>
34
35 <properties>
36 <application.name>appc-dg-shared</application.name>
37 <features.boot>appc-dg-shared</features.boot>
Patrick Brady32229082018-08-09 12:05:53 -070038 <features.repositories>mvn:org.onap.appc/onap-appc-dg-shared/${project.version}/xml/features</features.repositories>
Patrick Brady57b5eef2017-02-10 15:00:49 -080039 </properties>
40
41 <dependencies>
42 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080043 <groupId>org.onap.appc</groupId>
Patrick Brady32229082018-08-09 12:05:53 -070044 <artifactId>onap-appc-dg-shared</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080045 <version>${project.version}</version>
46 <classifier>features</classifier>
47 <type>xml</type>
48 </dependency>
49
50 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080051 <groupId>org.onap.appc</groupId>
Patrick Brady32229082018-08-09 12:05:53 -070052 <artifactId>onap-appc-ssh-adapter</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080053 <version>${project.version}</version>
54 <classifier>features</classifier>
55 <type>xml</type>
56 </dependency>
57 </dependencies>
58
59 <build>
60 <plugins>
61 <plugin>
62 <artifactId>maven-assembly-plugin</artifactId>
63 <executions>
64 <execution>
65 <id>mavne-repo-zip</id>
66 <goals>
67 <goal>single</goal>
68 </goals>
69 <phase>package</phase>
70 <configuration>
71 <appendAssemblyId>false</appendAssemblyId>
72 <attach>false</attach>
73 <finalName>stage/${application.name}-${project.version}</finalName>
74 <descriptors>
75 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
76 </descriptors>
77 </configuration>
78 </execution>
79 <execution>
80 <id>installer-zip</id>
81 <goals>
82 <goal>single</goal>
83 </goals>
84 <phase>package</phase>
85 <configuration>
86 <appendAssemblyId>false</appendAssemblyId>
87 <attach>true</attach>
88 <finalName>${application.name}-${project.version}</finalName>
89 <descriptors>
90 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
91 </descriptors>
92 </configuration>
93 </execution>
94 </executions>
95 </plugin>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-dependency-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>copy-dependencies</id>
102 <goals>
103 <goal>copy-dependencies</goal>
104 </goals>
105 <phase>prepare-package</phase>
106 <configuration>
107 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
108 <overWriteReleases>false</overWriteReleases>
109 <overWriteSnapshots>true</overWriteSnapshots>
110 <overWriteIfNewer>true</overWriteIfNewer>
111 <useRepositoryLayout>true</useRepositoryLayout>
112 <addParentPoms>false</addParentPoms>
113 <copyPom>false</copyPom>
114 <excludeGroupIds>org.opendaylight</excludeGroupIds>
115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <artifactId>maven-resources-plugin</artifactId>
121 <executions>
122 <execution>
123 <id>copy-version</id>
124 <goals>
125 <goal>copy-resources</goal>
126 </goals>
127 <!-- here the phase you need -->
128 <phase>validate</phase>
129 <configuration>
130 <outputDirectory>${basedir}/target/stage</outputDirectory>
131 <resources>
132 <resource>
133 <directory>src/main/resources/scripts</directory>
134 <includes>
135 <include>install-feature.sh</include>
136 </includes>
137 <filtering>true</filtering>
138 </resource>
139 </resources>
140 </configuration>
141 </execution>
142 </executions>
143 </plugin>
144 </plugins>
145 </build>
Patrick Bradyccd67e92018-11-12 12:14:11 -0800146 <version>1.5.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800147</project>