Create wt-odlux directory
[ccsdk/features.git] / sdnr / wt-odlux / odlux / apps / app-installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : SDNR ODLUX
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     <groupId>org.onap.ccsdk.features.sdnr.odlux</groupId>
27     <artifactId>sdnr-odlux-apps-installer</artifactId>
28     <version>1.7.0-SNAPSHOT</version>
29     <packaging>pom</packaging>
30
31     <name>SDNR ODLUX :: ${project.artifactId}</name>
32     <licenses>
33         <license>
34             <name>Apache License, Version 2.0</name>
35             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
36         </license>
37     </licenses>
38
39     <properties>
40         <application.name>sdnr-odlux-apps</application.name>
41         <include.transitive.dependencies>false</include.transitive.dependencies>
42     </properties>
43
44     <dependencies>
45         <dependency>
46             <groupId>${project.groupId}</groupId>
47             <artifactId>sdnr-odlux-app-apiDemo</artifactId>
48             <version>${project.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>${project.groupId}</groupId>
52             <artifactId>sdnr-odlux-app-connectApp</artifactId>
53             <version>${project.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>sdnr-odlux-app-demoApp</artifactId>
58             <version>${project.version}</version>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>sdnr-odlux-app-faultApp</artifactId>
63             <version>${project.version}</version>
64         </dependency>
65         <dependency>
66             <groupId>${project.groupId}</groupId>
67             <artifactId>sdnr-odlux-app-helpApp</artifactId>
68             <version>${project.version}</version>
69         </dependency>
70         <dependency>
71             <groupId>${project.groupId}</groupId>
72             <artifactId>sdnr-odlux-app-inventoryApp</artifactId>
73             <version>${project.version}</version>
74         </dependency>
75         <dependency>
76             <groupId>${project.groupId}</groupId>
77             <artifactId>sdnr-odlux-app-minimumApp</artifactId>
78             <version>${project.version}</version>
79         </dependency>
80         <!-- <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>sdnr-odlux-app-mediatorApp</artifactId>
83             <version>${project.version}</version>
84         </dependency> -->
85         <dependency>
86             <groupId>${project.groupId}</groupId>
87             <artifactId>sdnr-odlux-app-maintenanceApp</artifactId>
88             <version>${project.version}</version>
89         </dependency>
90         <dependency>
91             <groupId>${project.groupId}</groupId>
92             <artifactId>sdnr-odlux-app-performanceHistoryApp</artifactId>
93             <version>${project.version}</version>
94         </dependency>
95         <dependency>
96             <groupId>${project.groupId}</groupId>
97             <artifactId>sdnr-odlux-app-eventLogApp</artifactId>
98             <version>${project.version}</version>
99         </dependency>
100         <dependency>
101             <groupId>${project.groupId}</groupId>
102             <artifactId>sdnr-odlux-app-configurationApp</artifactId>
103             <version>${project.version}</version>
104         </dependency>
105
106     </dependencies>
107
108     <build>
109         <plugins>
110             <plugin>
111                 <artifactId>maven-assembly-plugin</artifactId>
112                 <executions>
113                     <execution>
114                         <id>maven-repo-zip</id>
115                         <goals>
116                             <goal>single</goal>
117                         </goals>
118                         <phase>package</phase>
119                         <configuration>
120                             <attach>true</attach>
121                             <finalName>stage/${application.name}-${project.version}</finalName>
122                             <descriptors>
123                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
124                             </descriptors>
125                             <appendAssemblyId>true</appendAssemblyId>
126                         </configuration>
127                     </execution>
128                 </executions>
129             </plugin>
130             <plugin>
131                 <groupId>org.apache.maven.plugins</groupId>
132                 <artifactId>maven-dependency-plugin</artifactId>
133                 <executions>
134                     <execution>
135                         <id>copy-nested-dependencies</id>
136                         <goals>
137                             <goal>copy-dependencies</goal>
138                         </goals>
139                         <phase>prepare-package</phase>
140                         <configuration>
141                             <transitive>true</transitive>
142                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
143                             <overWriteReleases>false</overWriteReleases>
144                             <overWriteSnapshots>true</overWriteSnapshots>
145                             <overWriteIfNewer>true</overWriteIfNewer>
146                             <useRepositoryLayout>true</useRepositoryLayout>
147                             <addParentPoms>false</addParentPoms>
148                             <copyPom>false</copyPom>
149                             <!--<includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
150                             <!--<scope>provided</scope> -->
151                         </configuration>
152                     </execution>
153                 </executions>
154             </plugin>
155         </plugins>
156     </build>
157 </project>