Update to Neon
[ccsdk/features.git] / sdnr / wt / featureaggregator / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START=======================================================
4  * ONAP : CCSDK.feature.sdnr.wt
5  * ================================================================================
6  * Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
7  * All rights reserved.
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=========================================================
21 -->
22 <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
25   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
26   <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
27   <version>0.6.0-SNAPSHOT</version>
28   <packaging>pom</packaging>
29   <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
30
31   <parent>
32     <groupId>org.onap.ccsdk.parent</groupId>
33     <artifactId>odlparent-lite</artifactId>
34     <version>1.4.0-SNAPSHOT</version>
35     <relativePath/>
36   </parent>
37
38   <properties>
39     <application.name>sdnr-wt-feature-aggregator</application.name>
40     <include.transitive.dependencies>true</include.transitive.dependencies>
41     <ccsdk.features.version>${project.version}</ccsdk.features.version>
42   </properties>
43
44   <dependencies>
45     <dependency>
46       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
47       <artifactId>${application.name}</artifactId>
48       <version>${project.version}</version>
49       <type>xml</type>
50       <classifier>features</classifier>
51 <!--       <exclusions> -->
52 <!--         <exclusion> -->
53 <!--           <groupId>*</groupId> -->
54 <!--           <artifactId>*</artifactId> -->
55 <!--         </exclusion> -->
56 <!--       </exclusions> -->
57     </dependency>
58   </dependencies>
59
60   <build>
61     <plugins>
62       <plugin>
63         <artifactId>maven-assembly-plugin</artifactId>
64         <executions>
65           <execution>
66             <id>maven-repo-zip</id>
67             <goals>
68               <goal>single</goal>
69             </goals>
70             <phase>package</phase>
71             <configuration>
72               <attach>true</attach>
73               <finalName>stage/${application.name}-${project.version}</finalName>
74               <descriptors>
75                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
76               </descriptors>
77               <appendAssemblyId>true</appendAssemblyId>
78             </configuration>
79           </execution>
80         </executions>
81       </plugin>
82       <plugin>
83         <groupId>org.apache.maven.plugins</groupId>
84         <artifactId>maven-dependency-plugin</artifactId>
85         <executions>
86 <!--           <execution> -->
87 <!--             <id>copy-dependencies</id> -->
88 <!--             <goals> -->
89 <!--               <goal>copy-dependencies</goal> -->
90 <!--             </goals> -->
91 <!--             <phase>prepare-package</phase> -->
92 <!--             <configuration> -->
93 <!--               <transitive>false</transitive> -->
94 <!--               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> -->
95 <!--               <overWriteReleases>false</overWriteReleases> -->
96 <!--               <overWriteSnapshots>true</overWriteSnapshots> -->
97 <!--               <overWriteIfNewer>true</overWriteIfNewer> -->
98 <!--               <useRepositoryLayout>true</useRepositoryLayout> -->
99 <!--               <addParentPoms>false</addParentPoms> -->
100 <!--               <copyPom>false</copyPom> -->
101 <!--               <includeArtifactIds>${application.name}-model,${application.name}-provider,${application.name}</includeArtifactIds> -->
102 <!--               <scope>provided</scope> -->
103 <!--             </configuration> -->
104 <!--           </execution> -->
105           <execution>
106             <id>copy-nested-dependencies</id>
107             <goals>
108               <goal>copy-dependencies</goal>
109             </goals>
110             <phase>prepare-package</phase>
111             <configuration>
112               <transitive>true</transitive>
113               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
114               <overWriteReleases>false</overWriteReleases>
115               <overWriteSnapshots>true</overWriteSnapshots>
116               <overWriteIfNewer>true</overWriteIfNewer>
117               <useRepositoryLayout>true</useRepositoryLayout>
118               <addParentPoms>false</addParentPoms>
119               <copyPom>false</copyPom>
120             </configuration>
121           </execution>
122           <execution>
123             <id>unpack-cache-schema</id>
124             <goals>
125               <goal>unpack</goal>
126             </goals>
127             <phase>prepare-package</phase>
128             <configuration>
129               <artifactItems>
130                 <artifactItem>
131                   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
132                   <artifactId>sdnr-wt-devicemanager-provider</artifactId>
133                   <version>${project.version}</version>
134                   <type>jar</type>
135                 </artifactItem>
136               </artifactItems>
137               <outputDirectory>${project.build.directory}/assembly</outputDirectory>
138               <includes>preload.cache.schema/**</includes>
139               <overWriteReleases>false</overWriteReleases>
140               <overWriteSnapshots>true</overWriteSnapshots>
141             </configuration>
142           </execution>
143         </executions>
144       </plugin>
145     </plugins>
146   </build>
147
148 </project>