blob: 7ab192b9194089947a3cd22977b12d23d594b5b9 [file] [log] [blame]
Herbert Eiseltac33bcd2019-01-25 14:50:52 +01001<?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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
7 <artifactId>sdnr-wt-apigateway-installer</artifactId>
8 <version>0.4.1-SNAPSHOT</version>
9 <packaging>pom</packaging>
10 <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
11
12 <parent>
13 <groupId>org.onap.ccsdk.parent</groupId>
14 <artifactId>odlparent-lite</artifactId>
15 <version>1.2.1-SNAPSHOT</version>
Herbert Eiselt46b1c762019-02-28 19:12:14 +010016 <relativePath />
Herbert Eiseltac33bcd2019-01-25 14:50:52 +010017 </parent>
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
46 </dependencies>
47
48 <build>
49 <plugins>
50 <plugin>
51 <artifactId>maven-assembly-plugin</artifactId>
52 <executions>
53 <execution>
54 <id>maven-repo-zip</id>
55 <goals>
56 <goal>single</goal>
57 </goals>
58 <phase>package</phase>
59 <configuration>
60 <attach>true</attach>
61 <finalName>stage/${application.name}-${project.version}</finalName>
62 <descriptors>
63 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
64 </descriptors>
65 <appendAssemblyId>true</appendAssemblyId>
66 </configuration>
67 </execution>
68 </executions>
69 </plugin>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-dependency-plugin</artifactId>
73 <executions>
74<!-- <execution> -->
75<!-- <id>copy-dependencies</id> -->
76<!-- <goals> -->
77<!-- <goal>copy-dependencies</goal> -->
78<!-- </goals> -->
79<!-- <phase>prepare-package</phase> -->
80<!-- <configuration> -->
81<!-- <transitive>true</transitive> -->
82<!-- <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> -->
83<!-- <overWriteReleases>false</overWriteReleases> -->
84<!-- <overWriteSnapshots>true</overWriteSnapshots> -->
85<!-- <overWriteIfNewer>true</overWriteIfNewer> -->
86<!-- <useRepositoryLayout>true</useRepositoryLayout> -->
87<!-- <addParentPoms>false</addParentPoms> -->
88<!-- <copyPom>false</copyPom> -->
89<!-- <includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
90<!-- <scope>provided</scope> -->
91<!-- </configuration> -->
92<!-- </execution> -->
93 <execution>
94 <id>copy-nested-dependencies</id>
95 <goals>
96 <goal>copy-dependencies</goal>
97 </goals>
98 <phase>prepare-package</phase>
99 <configuration>
100 <transitive>true</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>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds>-->
109 <!--<scope>provided</scope>-->
110 </configuration>
111 </execution>
112 </executions>
113 </plugin>
114 </plugins>
115 </build>
116</project>