Merge "YANG Model update for A1 Adapter"
[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     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>odlparent-lite</artifactId>
8         <version>1.5.1-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
13     <artifactId>sdnr-wt-apigateway-installer</artifactId>
14     <version>0.7.0-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>ccsdk-features :: ${project.artifactId}</name>
18
19     <properties>
20         <application.name>sdnr-wt-apigateway</application.name>
21         <include.transitive.dependencies>false</include.transitive.dependencies>
22     </properties>
23
24     <dependencies>
25
26         <dependency>
27             <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
28             <artifactId>${application.name}-feature</artifactId>
29             <version>${project.version}</version>
30             <type>xml</type>
31             <classifier>features</classifier>
32             <exclusions>
33                 <exclusion>
34                     <groupId>*</groupId>
35                     <artifactId>*</artifactId>
36                 </exclusion>
37             </exclusions>
38         </dependency>
39         <dependency>
40             <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
41             <artifactId>${application.name}-provider</artifactId>
42             <version>${project.version}</version>
43         </dependency>
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>