1ab5cc5d64ae062710554bd103817c3021e24912
[ccsdk/features.git] / sdnr / northbound / features / 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.2-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
13     <artifactId>sdnr-northbound-features-installer</artifactId>
14     <version>0.7.1-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>ccsdk-features :: sdnr-northbound :: features :: ${project.artifactId}</name>
18
19     <properties>
20         <application.name>sdnr-northbound-all</application.name>
21         <include.transitive.dependencies>false</include.transitive.dependencies>
22     </properties>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
27             <artifactId>${application.name}</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     </dependencies>
39
40     <build>
41         <plugins>
42             <plugin>
43                 <groupId>org.apache.maven.plugins</groupId>
44                 <artifactId>maven-dependency-plugin</artifactId>
45                 <executions>
46                     <execution>
47                         <id>copy-dependencies</id>
48                         <goals>
49                             <goal>copy-dependencies</goal>
50                         </goals>
51                         <phase>prepare-package</phase>
52                         <configuration>
53                             <transitive>false</transitive>
54                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
55                             <overWriteReleases>false</overWriteReleases>
56                             <overWriteSnapshots>true</overWriteSnapshots>
57                             <overWriteIfNewer>true</overWriteIfNewer>
58                             <useRepositoryLayout>true</useRepositoryLayout>
59                             <addParentPoms>false</addParentPoms>
60                             <copyPom>false</copyPom>
61                             <includeGroupIds>org.onap.ccsdk.features.sdnr.northbound</includeGroupIds>
62                             <scope>provided</scope>
63                         </configuration>
64                     </execution>
65                 </executions>
66             </plugin>
67             <plugin>
68                 <artifactId>maven-assembly-plugin</artifactId>
69                 <executions>
70                     <execution>
71                         <id>maven-repo-zip</id>
72                         <goals>
73                             <goal>single</goal>
74                         </goals>
75                         <phase>package</phase>
76                         <configuration>
77                             <attach>true</attach>
78                             <finalName>stage/${application.name}-${project.version}</finalName>
79                             <descriptors>
80                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
81                             </descriptors>
82                             <appendAssemblyId>true</appendAssemblyId>
83                         </configuration>
84                     </execution>
85                 </executions>
86             </plugin>
87         </plugins>
88     </build>
89 </project>