blob: ee7bfd470bc36dfed2b03534a5f5eab8fcbd0f4e [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell8c4b89b2018-01-12 09:24:03 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungf6332bd2018-06-13 13:07:38 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnell8c4b89b2018-01-12 09:24:03 -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 Wonnell8c4b89b2018-01-12 09:24:03 -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>
24 <parent>
Patrick Brady7f383f92018-07-30 14:35:31 -070025 <artifactId>odlparent-lite</artifactId>
26 <groupId>org.onap.appc.parent</groupId>
Patrick Brady9d380082018-10-09 11:32:38 -070027 <version>1.4.0</version>
Patrick Brady7f383f92018-07-30 14:35:31 -070028 <relativePath />
Patrick Brady57b5eef2017-02-10 15:00:49 -080029 </parent>
Patrick Brady7f383f92018-07-30 14:35:31 -070030 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080031 <artifactId>appc-dmaap-adapter-installer</artifactId>
32 <name>dMaaP Adapter - Karaf Installer</name>
33 <packaging>pom</packaging>
34
35 <properties>
36 <application.name>appc-dmaap-adapter</application.name>
37 <features.boot>appc-dmaap-adapter</features.boot>
Patrick Brady7f383f92018-07-30 14:35:31 -070038 <features.repositories>mvn:org.onap.appc/onap-appc-dmaap-adapter/${project.version}/xml/features</features.repositories>
Patrick Brady57b5eef2017-02-10 15:00:49 -080039 <include.transitive.dependencies>false</include.transitive.dependencies>
40 </properties>
41
42 <dependencies>
43 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080044 <groupId>org.onap.appc</groupId>
Patrick Brady7f383f92018-07-30 14:35:31 -070045 <artifactId>onap-appc-dmaap-adapter</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080046 <version>${project.version}</version>
47 <classifier>features</classifier>
48 <type>xml</type>
49 <exclusions>
50 <exclusion>
51 <groupId>*</groupId>
52 <artifactId>*</artifactId>
53 </exclusion>
54 </exclusions>
55 </dependency>
56
57 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080058 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080059 <artifactId>appc-dmaap-adapter-bundle</artifactId>
60 <version>${project.version}</version>
61 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -070062 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080063 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070064 <artifactId>appc-message-adapter-api</artifactId>
65 <version>${project.version}</version>
66 </dependency>
67 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080068 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070069 <artifactId>appc-message-adapter-factory</artifactId>
70 <version>${project.version}</version>
71 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -080072 </dependencies>
73
74 <build>
75 <plugins>
76 <plugin>
77 <artifactId>maven-assembly-plugin</artifactId>
78 <executions>
79 <execution>
80 <id>maven-repo-zip</id>
81 <goals>
82 <goal>single</goal>
83 </goals>
84 <phase>package</phase>
85 <configuration>
86 <appendAssemblyId>false</appendAssemblyId>
87 <attach>false</attach>
88 <finalName>stage/${application.name}-${project.version}</finalName>
89 <descriptors>
90 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
91 </descriptors>
92 </configuration>
93 </execution>
94 <execution>
95 <id>installer-zip</id>
96 <goals>
97 <goal>single</goal>
98 </goals>
99 <phase>package</phase>
100 <configuration>
101 <appendAssemblyId>false</appendAssemblyId>
102 <attach>true</attach>
103 <finalName>${application.name}-${project.version}</finalName>
104 <descriptors>
105 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
106 </descriptors>
107 </configuration>
108 </execution>
109 </executions>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-dependency-plugin</artifactId>
114 <executions>
115 <execution>
116 <id>copy-dependencies</id>
117 <goals>
118 <goal>copy-dependencies</goal>
119 </goals>
120 <phase>prepare-package</phase>
121 <configuration>
122 <transitive>false</transitive>
123 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
124 <overWriteReleases>false</overWriteReleases>
125 <overWriteSnapshots>true</overWriteSnapshots>
126 <overWriteIfNewer>true</overWriteIfNewer>
127 <useRepositoryLayout>true</useRepositoryLayout>
128 <addParentPoms>false</addParentPoms>
129 <copyPom>false</copyPom>
130 <excludeGroupIds>org.opendaylight</excludeGroupIds>
131 <scope>provided</scope>
Patrick Brady7f383f92018-07-30 14:35:31 -0700132 <artifactItems>
133 <artifactItem>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-annotations</artifactId>
136 <version>2.5.4</version>
137 <type>jar</type>
138 </artifactItem>
139 </artifactItems>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800140 </configuration>
141 </execution>
142 </executions>
143 </plugin>
144 <plugin>
145 <artifactId>maven-resources-plugin</artifactId>
146 <executions>
147 <execution>
148 <id>copy-version</id>
149 <goals>
150 <goal>copy-resources</goal>
151 </goals>
152 <!-- here the phase you need -->
153 <phase>validate</phase>
154 <configuration>
155 <outputDirectory>${basedir}/target/stage</outputDirectory>
156 <resources>
157 <resource>
158 <directory>src/main/resources/scripts</directory>
159 <includes>
160 <include>install-feature.sh</include>
161 </includes>
162 <filtering>true</filtering>
163 </resource>
164 </resources>
165 </configuration>
166 </execution>
167 </executions>
168 </plugin>
169
170 </plugins>
171 </build>
172
Patrick Bradyccd67e92018-11-12 12:14:11 -0800173 <version>1.5.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800174</project>