Use latest released parent pom
[ccsdk/features.git] / sdnr / wt / odlux / core / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
7   ~ ================================================================================
8   ~ Licensed under the Apache License, Version 2.0 (the "License");
9   ~ you may not use this file except in compliance with the License.
10   ~ You may obtain a copy of the License at
11   ~
12   ~     http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~ Unless required by applicable law or agreed to in writing, software
15   ~ distributed under the License is distributed on an "AS IS" BASIS,
16   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~ See the License for the specific language governing permissions and
18   ~ limitations under the License.
19   ~ ============LICENSE_END=======================================================
20   ~
21   -->
22
23 <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">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.ccsdk.parent</groupId>
28         <artifactId>odlparent-lite</artifactId>
29         <version>2.4.4</version>
30         <relativePath/>
31     </parent>
32
33     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
34     <artifactId>sdnr-wt-odlux-core-installer</artifactId>
35     <version>1.4.1-SNAPSHOT</version>
36     <packaging>pom</packaging>
37
38     <name>ccsdk-features :: ${project.artifactId}</name>
39     <licenses>
40         <license>
41             <name>Apache License, Version 2.0</name>
42             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
43         </license>
44     </licenses>
45
46     <properties>
47         <application.name>sdnr-wt-odlux-core</application.name>
48         <include.transitive.dependencies>false</include.transitive.dependencies>
49     </properties>
50
51     <dependencies>
52         <dependency>
53             <groupId>${project.groupId}</groupId>
54             <artifactId>${application.name}-feature</artifactId>
55             <version>${project.version}</version>
56             <type>xml</type>
57             <classifier>features</classifier>
58             <exclusions>
59                 <exclusion>
60                     <groupId>*</groupId>
61                     <artifactId>*</artifactId>
62                 </exclusion>
63             </exclusions>
64         </dependency>
65         <dependency>
66             <groupId>${project.groupId}</groupId>
67             <artifactId>${application.name}-provider</artifactId>
68             <version>${project.version}</version>
69         </dependency>
70     </dependencies>
71
72     <build>
73         <plugins>
74             <plugin>
75                 <artifactId>maven-assembly-plugin</artifactId>
76                 <executions>
77                     <execution>
78                         <id>maven-repo-zip</id>
79                         <goals>
80                             <goal>single</goal>
81                         </goals>
82                         <phase>package</phase>
83                         <configuration>
84                             <attach>true</attach>
85                             <finalName>stage/${application.name}-${project.version}</finalName>
86                             <descriptors>
87                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
88                             </descriptors>
89                             <appendAssemblyId>true</appendAssemblyId>
90                         </configuration>
91                     </execution>
92                 </executions>
93             </plugin>
94             <plugin>
95                 <groupId>org.apache.maven.plugins</groupId>
96                 <artifactId>maven-dependency-plugin</artifactId>
97                 <executions>
98                     <execution>
99                         <id>copy-nested-dependencies</id>
100                         <goals>
101                             <goal>copy-dependencies</goal>
102                         </goals>
103                         <phase>prepare-package</phase>
104                         <configuration>
105                             <transitive>true</transitive>
106                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
107                             <overWriteReleases>false</overWriteReleases>
108                             <overWriteSnapshots>true</overWriteSnapshots>
109                             <overWriteIfNewer>true</overWriteIfNewer>
110                             <useRepositoryLayout>true</useRepositoryLayout>
111                             <addParentPoms>false</addParentPoms>
112                             <copyPom>false</copyPom>
113                             <!--<includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
114                             <!--<scope>provided</scope> -->
115                         </configuration>
116                     </execution>
117                 </executions>
118             </plugin>
119         </plugins>
120     </build>
121 </project>