Merge "Application name changes in meta json"
[ccsdk/features.git] / sdnr / wt / apigateway / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4
5   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
6   <artifactId>sdnr-wt-apigateway-installer</artifactId>
7   <version>0.5.2-SNAPSHOT</version>
8   <packaging>pom</packaging>
9   <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
10
11   <parent>
12     <groupId>org.onap.ccsdk.parent</groupId>
13     <artifactId>odlparent-lite</artifactId>
14     <version>1.3.3-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <properties>
19     <application.name>sdnr-wt-apigateway</application.name>
20     <include.transitive.dependencies>false</include.transitive.dependencies>
21   </properties>
22
23   <dependencies>
24
25     <dependency>
26       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
27       <artifactId>${application.name}-feature</artifactId>
28       <version>${project.version}</version>
29       <type>xml</type>
30       <classifier>features</classifier>
31       <exclusions>
32         <exclusion>
33           <groupId>*</groupId>
34           <artifactId>*</artifactId>
35         </exclusion>
36       </exclusions>
37     </dependency>
38     <dependency>
39       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
40       <artifactId>${application.name}-provider</artifactId>
41       <version>${project.version}</version>
42     </dependency>
43
44
45   </dependencies>
46
47   <build>
48     <plugins>
49       <plugin>
50         <artifactId>maven-assembly-plugin</artifactId>
51         <executions>
52           <execution>
53             <id>maven-repo-zip</id>
54             <goals>
55               <goal>single</goal>
56             </goals>
57             <phase>package</phase>
58             <configuration>
59               <attach>true</attach>
60               <finalName>stage/${application.name}-${project.version}</finalName>
61               <descriptors>
62                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
63               </descriptors>
64               <appendAssemblyId>true</appendAssemblyId>
65             </configuration>
66           </execution>
67         </executions>
68       </plugin>
69       <plugin>
70         <groupId>org.apache.maven.plugins</groupId>
71         <artifactId>maven-dependency-plugin</artifactId>
72         <executions>
73 <!--           <execution> -->
74 <!--             <id>copy-dependencies</id> -->
75 <!--             <goals> -->
76 <!--               <goal>copy-dependencies</goal> -->
77 <!--             </goals> -->
78 <!--             <phase>prepare-package</phase> -->
79 <!--             <configuration> -->
80 <!--               <transitive>true</transitive> -->
81 <!--               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> -->
82 <!--               <overWriteReleases>false</overWriteReleases> -->
83 <!--               <overWriteSnapshots>true</overWriteSnapshots> -->
84 <!--               <overWriteIfNewer>true</overWriteIfNewer> -->
85 <!--               <useRepositoryLayout>true</useRepositoryLayout> -->
86 <!--               <addParentPoms>false</addParentPoms> -->
87 <!--               <copyPom>false</copyPom> -->
88 <!--               <includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
89 <!--               <scope>provided</scope> -->
90 <!--             </configuration> -->
91 <!--           </execution> -->
92           <execution>
93             <id>copy-nested-dependencies</id>
94             <goals>
95               <goal>copy-dependencies</goal>
96             </goals>
97             <phase>prepare-package</phase>
98             <configuration>
99               <transitive>true</transitive>
100               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
101               <overWriteReleases>false</overWriteReleases>
102               <overWriteSnapshots>true</overWriteSnapshots>
103               <overWriteIfNewer>true</overWriteIfNewer>
104               <useRepositoryLayout>true</useRepositoryLayout>
105               <addParentPoms>false</addParentPoms>
106               <copyPom>false</copyPom>
107               <!--<includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds>-->
108               <!--<scope>provided</scope>-->
109             </configuration>
110           </execution>
111         </executions>
112       </plugin>
113     </plugins>
114   </build>
115 </project>