Refactoring POM as per tidy:pom
[ccsdk/features.git] / sdnr / wt / odlux / core / 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-odlux-core-installer</artifactId>
14     <version>0.7.0-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
18     <licenses>
19         <license>
20             <name>Apache License, Version 2.0</name>
21             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
22         </license>
23     </licenses>
24
25     <properties>
26         <application.name>sdnr-wt-odlux-core</application.name>
27         <include.transitive.dependencies>false</include.transitive.dependencies>
28     </properties>
29
30     <dependencies>
31         <dependency>
32             <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
33             <artifactId>${application.name}-feature</artifactId>
34             <version>${project.version}</version>
35             <type>xml</type>
36             <classifier>features</classifier>
37             <exclusions>
38                 <exclusion>
39                     <groupId>*</groupId>
40                     <artifactId>*</artifactId>
41                 </exclusion>
42             </exclusions>
43         </dependency>
44         <dependency>
45             <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
46             <artifactId>${application.name}-provider</artifactId>
47             <version>${project.version}</version>
48         </dependency>
49     </dependencies>
50
51     <build>
52         <plugins>
53             <plugin>
54                 <artifactId>maven-assembly-plugin</artifactId>
55                 <executions>
56                     <execution>
57                         <id>maven-repo-zip</id>
58                         <goals>
59                             <goal>single</goal>
60                         </goals>
61                         <phase>package</phase>
62                         <configuration>
63                             <attach>true</attach>
64                             <finalName>stage/${application.name}-${project.version}</finalName>
65                             <descriptors>
66                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
67                             </descriptors>
68                             <appendAssemblyId>true</appendAssemblyId>
69                         </configuration>
70                     </execution>
71                 </executions>
72             </plugin>
73             <plugin>
74                 <groupId>org.apache.maven.plugins</groupId>
75                 <artifactId>maven-dependency-plugin</artifactId>
76                 <executions>
77                     <execution>
78                         <id>copy-nested-dependencies</id>
79                         <goals>
80                             <goal>copy-dependencies</goal>
81                         </goals>
82                         <phase>prepare-package</phase>
83                         <configuration>
84                             <transitive>true</transitive>
85                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
86                             <overWriteReleases>false</overWriteReleases>
87                             <overWriteSnapshots>true</overWriteSnapshots>
88                             <overWriteIfNewer>true</overWriteIfNewer>
89                             <useRepositoryLayout>true</useRepositoryLayout>
90                             <addParentPoms>false</addParentPoms>
91                             <copyPom>false</copyPom>
92                             <!--<includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
93                             <!--<scope>provided</scope> -->
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99     </build>
100 </project>