14c4022b8978d67c657cfab50aab027bc63c1578
[ccsdk/features.git] / sdnr / wt / websocketmanager2 / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4  * ============LICENSE_START=======================================================
5  * ONAP : CCSDK.sdnr.wt.websocketmanager.installer
6  * ================================================================================
7  * Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
8  * All rights reserved.
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  * ============LICENSE_END=========================================================
22
23 -->
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26   <modelVersion>4.0.0</modelVersion>
27
28   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
29   <artifactId>sdnr-wt-websocketmanager2-installer</artifactId>
30   <version>0.4.1-SNAPSHOT</version>
31   <packaging>pom</packaging>
32   <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
33
34   <parent>
35     <groupId>org.onap.ccsdk.parent</groupId>
36     <artifactId>odlparent-lite</artifactId>
37     <version>1.2.1-SNAPSHOT</version>
38     <relativePath />
39   </parent>
40
41   <properties>
42     <application.name>sdnr-wt-websocketmanager2</application.name>
43     <include.transitive.dependencies>false</include.transitive.dependencies>
44   </properties>
45
46   <dependencies>
47     <dependency>
48       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
49       <artifactId>${application.name}-feature</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     <dependency>
61       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
62       <artifactId>${application.name}-provider</artifactId>
63       <version>${project.version}</version>
64     </dependency>
65   </dependencies>
66
67   <build>
68     <plugins>
69       <plugin>
70         <artifactId>maven-assembly-plugin</artifactId>
71         <executions>
72           <execution>
73             <id>maven-repo-zip</id>
74             <goals>
75               <goal>single</goal>
76             </goals>
77             <phase>package</phase>
78             <configuration>
79               <attach>true</attach>
80               <finalName>stage/${application.name}-${project.version}</finalName>
81               <descriptors>
82                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
83               </descriptors>
84               <appendAssemblyId>true</appendAssemblyId>
85             </configuration>
86           </execution>
87         </executions>
88       </plugin>
89       <plugin>
90         <groupId>org.apache.maven.plugins</groupId>
91         <artifactId>maven-dependency-plugin</artifactId>
92         <executions>
93 <!--           <execution> -->
94 <!--             <id>copy-dependencies</id> -->
95 <!--             <goals> -->
96 <!--               <goal>copy-dependencies</goal> -->
97 <!--             </goals> -->
98 <!--             <phase>prepare-package</phase> -->
99 <!--             <configuration> -->
100 <!--               <transitive>false</transitive> -->
101 <!--               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> -->
102 <!--               <overWriteReleases>false</overWriteReleases> -->
103 <!--               <overWriteSnapshots>true</overWriteSnapshots> -->
104 <!--               <overWriteIfNewer>true</overWriteIfNewer> -->
105 <!--               <useRepositoryLayout>true</useRepositoryLayout> -->
106 <!--               <addParentPoms>false</addParentPoms> -->
107 <!--               <copyPom>false</copyPom> -->
108 <!--               <includeArtifactIds>${application.name}-model,${application.name}-provider,${application.name}</includeArtifactIds> -->
109 <!--               <scope>provided</scope> -->
110 <!--             </configuration> -->
111 <!--           </execution> -->
112           <execution>
113             <id>copy-nested-dependencies</id>
114             <goals>
115               <goal>copy-dependencies</goal>
116             </goals>
117             <phase>prepare-package</phase>
118             <configuration>
119               <transitive>true</transitive>
120               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
121               <overWriteReleases>false</overWriteReleases>
122               <overWriteSnapshots>true</overWriteSnapshots>
123               <overWriteIfNewer>true</overWriteIfNewer>
124               <useRepositoryLayout>true</useRepositoryLayout>
125               <addParentPoms>false</addParentPoms>
126               <copyPom>false</copyPom>
127             </configuration>
128           </execution>
129         </executions>
130       </plugin>
131     </plugins>
132   </build>
133 </project>