Merge "Add SDN-R odlux performance"
[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"
23   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25   <modelVersion>4.0.0</modelVersion>
26
27   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
28   <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
29   <version>0.4.2-SNAPSHOT</version>
30   <packaging>pom</packaging>
31   <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
32
33   <parent>
34     <groupId>org.onap.ccsdk.parent</groupId>
35     <artifactId>odlparent-lite</artifactId>
36     <version>1.2.2-SNAPSHOT</version>
37     <relativePath />
38   </parent>
39
40   <properties>
41     <application.name>sdnr-wt-feature-aggregator</application.name>
42     <include.transitive.dependencies>true</include.transitive.dependencies>
43     <ccsdk.features.version>${project.version}</ccsdk.features.version>
44   </properties>
45
46   <dependencies>
47     <dependency>
48       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
49       <artifactId>${application.name}</artifactId>
50       <version>${project.version}</version>
51       <type>xml</type>
52       <classifier>features</classifier>
53 <!--       <exclusions> -->
54 <!--         <exclusion> -->
55 <!--           <groupId>*</groupId> -->
56 <!--           <artifactId>*</artifactId> -->
57 <!--         </exclusion> -->
58 <!--       </exclusions> -->
59     </dependency>
60   </dependencies>
61
62   <build>
63     <plugins>
64       <plugin>
65         <artifactId>maven-assembly-plugin</artifactId>
66         <executions>
67           <execution>
68             <id>maven-repo-zip</id>
69             <goals>
70               <goal>single</goal>
71             </goals>
72             <phase>package</phase>
73             <configuration>
74               <attach>true</attach>
75               <finalName>stage/${application.name}-${project.version}</finalName>
76               <descriptors>
77                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
78               </descriptors>
79               <appendAssemblyId>true</appendAssemblyId>
80             </configuration>
81           </execution>
82         </executions>
83       </plugin>
84       <plugin>
85         <groupId>org.apache.maven.plugins</groupId>
86         <artifactId>maven-dependency-plugin</artifactId>
87         <executions>
88 <!--           <execution> -->
89 <!--             <id>copy-dependencies</id> -->
90 <!--             <goals> -->
91 <!--               <goal>copy-dependencies</goal> -->
92 <!--             </goals> -->
93 <!--             <phase>prepare-package</phase> -->
94 <!--             <configuration> -->
95 <!--               <transitive>false</transitive> -->
96 <!--               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> -->
97 <!--               <overWriteReleases>false</overWriteReleases> -->
98 <!--               <overWriteSnapshots>true</overWriteSnapshots> -->
99 <!--               <overWriteIfNewer>true</overWriteIfNewer> -->
100 <!--               <useRepositoryLayout>true</useRepositoryLayout> -->
101 <!--               <addParentPoms>false</addParentPoms> -->
102 <!--               <copyPom>false</copyPom> -->
103 <!--               <includeArtifactIds>${application.name}-model,${application.name}-provider,${application.name}</includeArtifactIds> -->
104 <!--               <scope>provided</scope> -->
105 <!--             </configuration> -->
106 <!--           </execution> -->
107           <execution>
108             <id>copy-nested-dependencies</id>
109             <goals>
110               <goal>copy-dependencies</goal>
111             </goals>
112             <phase>prepare-package</phase>
113             <configuration>
114               <transitive>true</transitive>
115               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
116               <overWriteReleases>false</overWriteReleases>
117               <overWriteSnapshots>true</overWriteSnapshots>
118               <overWriteIfNewer>true</overWriteIfNewer>
119               <useRepositoryLayout>true</useRepositoryLayout>
120               <addParentPoms>false</addParentPoms>
121               <copyPom>false</copyPom>
122             </configuration>
123           </execution>
124           <execution>
125             <id>unpack-cache-schema</id>
126             <goals>
127               <goal>unpack</goal>
128             </goals>
129             <phase>prepare-package</phase>
130             <configuration>
131               <artifactItems>
132                 <artifactItem>
133                   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
134                   <artifactId>sdnr-wt-devicemanager-provider</artifactId>
135                   <version>0.4.2-SNAPSHOT</version>
136                   <type>jar</type>
137                 </artifactItem>
138               </artifactItems>
139               <outputDirectory>${project.build.directory}/assembly</outputDirectory>
140               <includes>preload.cache.schema/**</includes>
141               <overWriteReleases>false</overWriteReleases>
142               <overWriteSnapshots>true</overWriteSnapshots>
143             </configuration>
144           </execution>
145         </executions>
146       </plugin>
147     </plugins>
148   </build>
149
150 </project>