blob: d17be0ea23e8eb21dc57711cd95ee19511943cd8 [file] [log] [blame]
mark.j.leonard6e4f04a2018-04-26 16:53:12 +01001<?xml version="1.0" encoding="UTF-8"?>
Steve Smokowskief768a72017-02-09 15:43:35 -05002<!--
mark.j.leonard6e4f04a2018-04-26 16:53:12 +01003 ============LICENSE_START=======================================================
4 org.onap.aai
5 ================================================================================
6 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7 Copyright © 2017-2018 European Software Marketing Ltd.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +010012
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010013 http://www.apache.org/licenses/LICENSE-2.0
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +010014
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010015 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
21-->
Steve Smokowskief768a72017-02-09 15:43:35 -050022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 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>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +000025
Fraboni, Gino (gf403a)578368f2017-05-03 13:47:43 -040026 <parent>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010027 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>1.1.0</version>
30 <relativePath />
Fraboni, Gino (gf403a)578368f2017-05-03 13:47:43 -040031 </parent>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +000032
Arul.Nambi059f42e2017-09-13 15:13:29 -040033 <groupId>org.onap.aai.model-loader</groupId>
Steve Smokowskief768a72017-02-09 15:43:35 -050034 <artifactId>model-loader</artifactId>
Jessica Wagantalla277ee32017-11-16 15:23:12 -080035 <version>1.2.0-SNAPSHOT</version>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +000036
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010037 <dependencyManagement>
38 <dependencies>
39 <dependency>
40 <groupId>org.springframework.boot</groupId>
41 <artifactId>spring-boot-dependencies</artifactId>
42 <version>${spring-boot.version}</version>
43 <type>pom</type>
44 <scope>import</scope>
45 </dependency>
46 </dependencies>
47 </dependencyManagement>
48
Steve Smokowskief768a72017-02-09 15:43:35 -050049 <properties>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010050 <start-class>org.onap.aai.modelloader.service.ModelLoaderApplication</start-class>
Blackwell, Ian (ib733q)65757e72018-04-05 11:52:58 +010051 <nexusproxy>https://nexus.onap.org</nexusproxy>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010052 <docker.location>${basedir}/target</docker.location>
53 <spring-boot.version>1.5.12.RELEASE</spring-boot.version>
54 <apache.commons-text.version>1.1</apache.commons-text.version>
55 <hamcrest-all.version>1.3</hamcrest-all.version>
mark.j.leonardf979f0c2018-05-01 10:59:43 +010056 <babel.version>1.2.0</babel.version>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +010057 <aai.rest.client.version>1.2.1</aai.rest.client.version>
Steve Smokowskief768a72017-02-09 15:43:35 -050058 </properties>
Steve Smokowskief768a72017-02-09 15:43:35 -050059
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010060 <distributionManagement>
61 <repository>
62 <id>ecomp-releases</id>
63 <name>ECOMP Release Repository</name>
64 <url>${nexusproxy}/content/repositories/releases/</url>
65 </repository>
66 <snapshotRepository>
67 <id>ecomp-snapshots</id>
68 <name>ECOMP Snapshot Repository</name>
69 <url>${nexusproxy}/content/repositories/snapshots/</url>
70 </snapshotRepository>
71 </distributionManagement>
72
Steve Smokowskief768a72017-02-09 15:43:35 -050073 <dependencies>
Steve Smokowskief768a72017-02-09 15:43:35 -050074 <dependency>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010075 <groupId>org.springframework.boot</groupId>
76 <artifactId>spring-boot-starter-web</artifactId>
77 </dependency>
78 <dependency>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +010079 <groupId>org.onap.aai</groupId>
80 <artifactId>babel</artifactId>
81 <version>${babel.version}</version>
82 <classifier>client</classifier>
83 <exclusions>
84 <exclusion>
85 <groupId>*</groupId>
86 <artifactId>*</artifactId>
87 </exclusion>
88 </exclusions>
89 </dependency>
90 <dependency>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +010091 <groupId>org.glassfish.jersey.core</groupId>
92 <artifactId>jersey-common</artifactId>
93 <scope>test</scope>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +010094 </dependency>
95 <dependency>
96 <groupId>org.onap.aai</groupId>
97 <artifactId>rest-client</artifactId>
98 <version>${aai.rest.client.version}</version>
99 </dependency>
100 <dependency>
101 <groupId>com.google.code.gson</groupId>
102 <artifactId>gson</artifactId>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100103 </dependency>
104
105 <!-- Test dependencies -->
106 <dependency>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100107 <groupId>junit</groupId>
108 <artifactId>junit</artifactId>
109 <scope>test</scope>
110 </dependency>
111 <dependency>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100112 <groupId>org.hamcrest</groupId>
113 <artifactId>hamcrest-all</artifactId>
114 <version>${hamcrest-all.version}</version>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
Steve Smokowskief768a72017-02-09 15:43:35 -0500118 <groupId>org.mockito</groupId>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100119 <artifactId>mockito-core</artifactId>
Steve Smokowskief768a72017-02-09 15:43:35 -0500120 <scope>test</scope>
121 </dependency>
122 <dependency>
Steve Smokowskief768a72017-02-09 15:43:35 -0500123 <groupId>org.eclipse.persistence</groupId>
124 <artifactId>org.eclipse.persistence.moxy</artifactId>
125 <version>2.6.2</version>
126 <scope>compile</scope>
127 </dependency>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100128 <!-- https://mvnrepository.com/artifact/com.mikesamuel/json-sanitizer -->
Steve Smokowskief768a72017-02-09 15:43:35 -0500129 <dependency>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100130 <groupId>com.mikesamuel</groupId>
131 <artifactId>json-sanitizer</artifactId>
132 <version>1.2.0</version>
Steve Smokowskief768a72017-02-09 15:43:35 -0500133 </dependency>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100134
Steve Smokowskief768a72017-02-09 15:43:35 -0500135 <!-- Common logging framework -->
136 <dependency>
Arul.Nambiaf1121f2017-09-21 10:39:37 -0400137 <groupId>org.onap.aai.logging-service</groupId>
Steve Smokowskief768a72017-02-09 15:43:35 -0500138 <artifactId>common-logging</artifactId>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100139 <version>1.2.2</version>
Steve Smokowskief768a72017-02-09 15:43:35 -0500140 </dependency>
Steve Smokowskief768a72017-02-09 15:43:35 -0500141 <dependency>
Fraboni, Gino (gf403a)578368f2017-05-03 13:47:43 -0400142 <groupId>ch.qos.logback</groupId>
143 <artifactId>logback-core</artifactId>
Fraboni, Gino (gf403a)578368f2017-05-03 13:47:43 -0400144 </dependency>
Fraboni, Gino (gf403a)578368f2017-05-03 13:47:43 -0400145 <dependency>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100146 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000147 <artifactId>sdc-distribution-client</artifactId>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100148 <version>1.3.0</version>
Lee, Tian (tl5884)952a19d2017-08-18 16:45:23 +0100149 </dependency>
150 <dependency>
Steve Smokowskief768a72017-02-09 15:43:35 -0500151 <groupId>org.json</groupId>
152 <artifactId>json</artifactId>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100153 <version>20131018</version><!--$NO-MVN-MAN-VER$ -->
Steve Smokowskief768a72017-02-09 15:43:35 -0500154 </dependency>
Steve Smokowskief768a72017-02-09 15:43:35 -0500155 <dependency>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000156 <groupId>org.eclipse.jetty</groupId>
157 <artifactId>jetty-security</artifactId>
Steve Smokowskief768a72017-02-09 15:43:35 -0500158 </dependency>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000159 <dependency>
160 <groupId>org.springframework</groupId>
161 <artifactId>spring-webmvc</artifactId>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000162 </dependency>
163 <dependency>
164 <groupId>jline</groupId>
165 <artifactId>jline</artifactId>
166 <version>2.12.1</version>
167 </dependency>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100168 <dependency>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100169 <groupId>commons-io</groupId>
170 <artifactId>commons-io</artifactId>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100171 <version>2.4</version>
Blackwell, Ian (ib733q)7b1f8132018-04-03 17:28:44 +0100172 </dependency>
173 <dependency>
174 <groupId>org.apache.commons</groupId>
175 <artifactId>commons-text</artifactId>
176 <version>${apache.commons-text.version}</version>
177 </dependency>
Steve Smokowskief768a72017-02-09 15:43:35 -0500178 </dependencies>
Steve Smokowskie6908712017-02-10 16:08:20 -0500179
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100180 <!-- Plugins and repositories -->
181 <pluginRepositories>
182 <pluginRepository>
183 <id>central</id>
184 <url>http://repo1.maven.org/maven2</url>
185 </pluginRepository>
186 <pluginRepository>
187 <id>EvoSuite</id>
188 <name>EvoSuite Repository</name>
189 <url>http://www.evosuite.org/m2</url>
190 </pluginRepository>
191 </pluginRepositories>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000192
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100193 <repositories>
194 <repository>
195 <id>central</id>
196 <name>Maven 2 repository 2</name>
197 <url>http://repo2.maven.org/maven2/</url>
198 </repository>
199 <repository>
200 <id>ecomp-releases</id>
201 <name>ECOMP Release Repository</name>
202 <url>${nexusproxy}/content/repositories/releases/</url>
203 </repository>
204 <repository>
205 <id>ecomp-snapshots</id>
206 <name>ECOMP Snapshot Repository</name>
207 <url>${nexusproxy}/content/repositories/snapshots/</url>
208 </repository>
209 <repository>
210 <id>ecomp-staging</id>
211 <name>ECOMP Staging Repository</name>
212 <url>${nexusproxy}/content/repositories/staging/</url>
213 </repository>
214 </repositories>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000215
Steve Smokowskief768a72017-02-09 15:43:35 -0500216 <build>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100217 <finalName>model-loader</finalName>
Steve Smokowskief768a72017-02-09 15:43:35 -0500218 <plugins>
219 <plugin>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100220 <groupId>org.springframework.boot</groupId>
221 <artifactId>spring-boot-maven-plugin</artifactId>
222 <version>${spring-boot.version}</version>
223 <configuration>
224 <executable>true</executable>
225 </configuration>
226 <executions>
227 <execution>
228 <goals>
229 <goal>repackage</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234 <plugin>
Steve Smokowskief768a72017-02-09 15:43:35 -0500235 <groupId>org.apache.maven.plugins</groupId>
Venkata Harish K Kajur8d5d8862017-02-20 21:33:52 +0000236 <artifactId>maven-resources-plugin</artifactId>
237 <version>2.7</version>
238 <executions>
239 <execution>
240 <id>copy-docker-file</id>
241 <phase>package</phase>
242 <goals>
243 <goal>copy-resources</goal>
244 </goals>
245 <configuration>
246 <outputDirectory>target</outputDirectory>
247 <overwrite>true</overwrite>
248 <resources>
249 <resource>
250 <directory>${basedir}/src/main/docker</directory>
251 <filtering>true</filtering>
252 <includes>
253 <include>**/*</include>
254 </includes>
255 </resource>
Fraboni, Gino (gf403a)578368f2017-05-03 13:47:43 -0400256 <resource>
257 <directory>${basedir}/src/main/bin/</directory>
258 </resource>
Venkata Harish K Kajur8d5d8862017-02-20 21:33:52 +0000259 </resources>
260 </configuration>
261 </execution>
262 </executions>
263 </plugin>
mark.j.leonard6e4f04a2018-04-26 16:53:12 +0100264 <plugin>
265 <groupId>com.mycila</groupId>
266 <artifactId>license-maven-plugin</artifactId>
267 <version>3.0</version>
268 <configuration>
269 <header>License.txt</header>
270 <includes>
271 <include>src/main/java/**</include>
272 <include>src/test/java/**</include>
273 <include>version/properties</include>
274 <include>pom.xml</include>
275 </includes>
276 <skipExistingHeaders>true</skipExistingHeaders>
277 </configuration>
278 <executions>
279 <execution>
280 <goals>
281 <!-- Set goal to "format" to auto update license headers -->
282 <goal>check</goal>
283 </goals>
284 <phase>process-sources</phase>
285 </execution>
286 </executions>
287 </plugin>
Venkata Harish K Kajur8d5d8862017-02-20 21:33:52 +0000288 <plugin>
289 <groupId>com.spotify</groupId>
290 <artifactId>docker-maven-plugin</artifactId>
291 <version>0.4.11</version>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000292 <configuration>
Venkata Harish K Kajur61293a32017-02-20 23:58:13 +0000293 <verbose>true</verbose>
294 <serverId>docker-hub</serverId>
Blackwell, Ian (ib733q)30cffeb2018-04-04 13:04:04 +0100295 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
Venkata Harish K Kajur8d5d8862017-02-20 21:33:52 +0000296 <dockerDirectory>${docker.location}</dockerDirectory>
297 <imageTags>
Venkata Harish K Kajur8d5d8862017-02-20 21:33:52 +0000298 <imageTag>latest</imageTag>
299 </imageTags>
300 <forceTags>true</forceTags>
301 </configuration>
302 </plugin>
303 <plugin>
304 <groupId>org.apache.maven.plugins</groupId>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000305 <artifactId>maven-deploy-plugin</artifactId>
306 <configuration>
307 <skip>true</skip>
308 </configuration>
309 </plugin>
Lee, Tian (tl5884)46a2b5f2017-11-29 15:29:18 +0000310 </plugins>
Steve Smokowskief768a72017-02-09 15:43:35 -0500311 </build>
Steve Smokowskief768a72017-02-09 15:43:35 -0500312</project>