Create wt-odlux directory
[ccsdk/features.git] / sdnr / wt-odlux / odlux / 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"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26
27     <groupId>org.onap.ccsdk.features.sdnr.odlux</groupId>
28     <artifactId>sdnr-odlux-installer</artifactId>
29     <version>1.7.0-SNAPSHOT</version>
30     <packaging>pom</packaging>
31
32     <name>SDNR ODLUX :: ${project.artifactId}</name>
33     <licenses>
34         <license>
35             <name>Apache License, Version 2.0</name>
36             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
37         </license>
38     </licenses>
39
40     <properties>
41         <application.name>sdnr-odlux-installer</application.name>
42         <include.transitive.dependencies>false</include.transitive.dependencies>
43     </properties>
44
45     <build>
46         <plugins>
47             <plugin>
48                 <artifactId>maven-assembly-plugin</artifactId>
49                 <executions>
50                     <execution>
51                         <id>maven-repo-zip</id>
52                         <goals>
53                             <goal>single</goal>
54                         </goals>
55                         <phase>package</phase>
56                         <configuration>
57                             <attach>true</attach>
58                             <finalName>stage/${application.name}-${project.version}</finalName>
59                             <descriptors>
60                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
61                             </descriptors>
62                             <appendAssemblyId>true</appendAssemblyId>
63                         </configuration>
64                     </execution>
65                 </executions>
66             </plugin>
67             <plugin>
68                 <groupId>org.apache.maven.plugins</groupId>
69                 <artifactId>maven-dependency-plugin</artifactId>
70                 <executions>
71                     <execution>
72                         <id>unpack features</id>
73                         <phase>generate-sources</phase>
74                         <goals>
75                             <goal>unpack</goal>
76                         </goals>
77                         <configuration>
78                             <includes>odlux/**</includes>
79                             <outputDirectory>${project.build.directory}/assembly</outputDirectory>
80                             <artifactItems>
81                                 <artifactItem>
82                                     <groupId>${project.groupId}</groupId>
83                                     <artifactId>sdnr-odlux-framework</artifactId>
84                                     <version>${project.version}</version>
85                                     <type>jar</type>
86                                     <overWrite>false</overWrite>
87                                 </artifactItem>
88                                 <!-- connectApp -->
89                                 <artifactItem>
90                                     <groupId>${project.groupId}</groupId>
91                                     <artifactId>sdnr-odlux-app-connectApp</artifactId>
92                                     <version>${project.version}</version>
93                                     <type>jar</type>
94                                     <overWrite>false</overWrite>
95                                 </artifactItem>
96                                 <!-- eventLogApp -->
97                                 <artifactItem>
98                                     <groupId>${project.groupId}</groupId>
99                                     <artifactId>sdnr-odlux-app-eventLogApp</artifactId>
100                                     <version>${project.version}</version>
101                                     <type>jar</type>
102                                     <overWrite>false</overWrite>
103                                 </artifactItem>
104                                 <!-- helpApp -->
105                                 <artifactItem>
106                                     <groupId>${project.groupId}</groupId>
107                                     <artifactId>sdnr-odlux-app-helpApp</artifactId>
108                                     <version>${project.version}</version>
109                                     <type>jar</type>
110                                     <overWrite>false</overWrite>
111                                 </artifactItem>
112                                 <!-- maintenanceApp -->
113                                 <artifactItem>
114                                     <groupId>${project.groupId}</groupId>
115                                     <artifactId>sdnr-odlux-app-maintenanceApp</artifactId>
116                                     <version>${project.version}</version>
117                                     <type>jar</type>
118                                     <overWrite>false</overWrite>
119                                 </artifactItem>
120                                 <!-- minimumApp -->
121                                 <!--<artifactItem>
122                                     <groupId>${project.groupId}</groupId>
123                                     <artifactId>sdnr-odlux-app-minimumApp</artifactId>
124                                     <version>${project.version}</version>
125                                     <type>jar</type>
126                                     <overWrite>false</overWrite>
127                                 </artifactItem>-->
128                                 <!-- configurationApp -->
129                                 <artifactItem>
130                                     <groupId>${project.groupId}</groupId>
131                                     <artifactId>sdnr-odlux-app-configurationApp</artifactId>
132                                     <version>${project.version}</version>
133                                     <type>jar</type>
134                                     <overWrite>false</overWrite>
135                                 </artifactItem>
136                                 <!-- demoApp -->
137                                 <!--<artifactItem>
138                                     <groupId>${project.groupId}</groupId>
139                                     <artifactId>sdnr-odlux-app-demoApp</artifactId>
140                                     <version>${project.version}</version>
141                                     <type>jar</type>
142                                     <overWrite>false</overWrite>
143                                 </artifactItem>-->
144                                 <!-- faultApp -->
145                                 <artifactItem>
146                                     <groupId>${project.groupId}</groupId>
147                                     <artifactId>sdnr-odlux-app-faultApp</artifactId>
148                                     <version>${project.version}</version>
149                                     <type>jar</type>
150                                     <overWrite>false</overWrite>
151                                 </artifactItem>
152                                 <!-- inventoryApp -->
153                                 <artifactItem>
154                                     <groupId>${project.groupId}</groupId>
155                                     <artifactId>sdnr-odlux-app-inventoryApp</artifactId>
156                                     <version>${project.version}</version>
157                                     <type>jar</type>
158                                     <overWrite>false</overWrite>
159                                 </artifactItem>
160                                 <!-- performanceHistoryApp -->
161                                 <artifactItem>
162                                     <groupId>${project.groupId}</groupId>
163                                     <artifactId>sdnr-odlux-app-performanceHistoryApp</artifactId>
164                                     <version>${project.version}</version>
165                                     <type>jar</type>
166                                     <overWrite>false</overWrite>
167                                 </artifactItem>
168                                 <!-- helpserver resources -->
169                                 <artifactItem>
170                                     <groupId>${project.groupId}</groupId>
171                                     <artifactId>sdnr-odlux-helpserver-provider</artifactId>
172                                     <version>${project.version}</version>
173                                     <type>jar</type>
174                                     <overWrite>false</overWrite>
175                                     <includes>help/**</includes>
176                                 </artifactItem>
177                             </artifactItems>
178                         </configuration>
179                     </execution>
180                 </executions>
181             </plugin>
182         </plugins>
183     </build>
184 </project>