2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.openecomp.aai.model-loader</groupId>
25 <artifactId>model-loader</artifactId>
26 <version>1.0.0-SNAPSHOT</version>
27 <packaging>war</packaging>
30 <docker.location>${basedir}/target</docker.location>
31 <dependency.scope>provided</dependency.scope>
32 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
33 <maven.compiler.source>1.8</maven.compiler.source>
34 <maven.compiler.target>1.8</maven.compiler.target>
39 <groupId>org.mockito</groupId>
40 <artifactId>mockito-all</artifactId>
41 <version>1.10.19</version>
45 <groupId>org.powermock</groupId>
46 <artifactId>powermock-module-junit4</artifactId>
47 <version>1.6.2</version>
51 <groupId>org.powermock</groupId>
52 <artifactId>powermock-api-mockito</artifactId>
53 <version>1.6.2</version>
57 <groupId>org.powermock</groupId>
58 <artifactId>powermock-module-javaagent</artifactId>
59 <version>1.6.2</version>
63 <groupId>org.powermock</groupId>
64 <artifactId>powermock-module-junit4-rule-agent</artifactId>
65 <version>1.6.2</version>
68 <!-- xjc dependencies -->
70 <groupId>javax.xml.bind</groupId>
71 <artifactId>jaxb-api</artifactId>
72 <version>2.2.11</version>
75 <groupId>com.sun.xml.bind</groupId>
76 <artifactId>jaxb-impl</artifactId>
77 <version>2.2.11</version>
80 <groupId>com.sun.xml.bind</groupId>
81 <artifactId>jaxb-core</artifactId>
82 <version>2.2.11</version>
85 <groupId>com.sun.xml.bind</groupId>
86 <artifactId>jaxb-xjc</artifactId>
87 <version>2.2.11</version>
90 <groupId>org.eclipse.persistence</groupId>
91 <artifactId>org.eclipse.persistence.moxy</artifactId>
92 <version>2.6.2</version>
93 <scope>compile</scope>
96 <groupId>com.sun.jersey</groupId>
97 <artifactId>jersey-client</artifactId>
98 <version>1.18</version>
100 <!-- Common logging framework -->
102 <groupId>org.openecomp.aai.logging-service</groupId>
103 <artifactId>common-logging</artifactId>
104 <version>1.0.0-SNAPSHOT</version>
107 <groupId>org.openecomp.sdc</groupId>
108 <artifactId>sdc-distribution-client</artifactId>
109 <version>0.9.0</version>
112 <groupId>org.json</groupId>
113 <artifactId>json</artifactId>
114 <version>20131018</version>
118 <groupId>org.eclipse.jetty</groupId>
119 <artifactId>jetty-security</artifactId>
120 <version>9.3.8.RC0</version>
124 <groupId>org.springframework</groupId>
125 <artifactId>spring-webmvc</artifactId>
126 <version>4.0.0.RELEASE</version>
129 <groupId>jline</groupId>
130 <artifactId>jline</artifactId>
131 <version>2.12.1</version>
136 <!-- Plugins and repositories -->
140 <url>http://repo1.maven.org/maven2</url>
144 <name>EvoSuite Repository</name>
145 <url>http://www.evosuite.org/m2</url>
147 </pluginRepositories>
151 <name>Maven 2 repository 2</name>
152 <url>http://repo2.maven.org/maven2/</url>
155 <id>ecomp-releases</id>
156 <name>ECOMP Release Repository</name>
157 <url>https://nexus.openecomp.org/content/repositories/releases/</url>
160 <id>ecomp-snapshots</id>
161 <name>ECOMP Snapshot Repository</name>
162 <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
164 <updatePolicy>always</updatePolicy>
167 <updatePolicy>always</updatePolicy>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-dependency-plugin</artifactId>
179 <version>2.5.1</version>
183 <phase>process-test-classes</phase>
190 <groupId>org.powermock</groupId>
191 <artifactId>powermock-module-javaagent</artifactId>
192 <version>1.6.2</version>
193 <outputDirectory>${project.build.directory}/agents</outputDirectory>
194 <destFileName>powermock-javaagent.jar</destFileName>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-surefire-plugin</artifactId>
204 <version>2.12.4</version>
206 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
211 <groupId>org.codehaus.mojo</groupId>
212 <artifactId>jaxb2-maven-plugin</artifactId>
213 <version>2.2</version>
223 <clearOutputDir>false</clearOutputDir>
224 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
226 <source>${project.basedir}/src/main/resources/schema</source>
228 <addGeneratedAnnotation>true</addGeneratedAnnotation>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-compiler-plugin</artifactId>
234 <version>3.1</version>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-resources-plugin</artifactId>
239 <version>2.7</version>
242 <id>copy-docker-file</id>
243 <phase>package</phase>
245 <goal>copy-resources</goal>
248 <outputDirectory>target</outputDirectory>
249 <overwrite>true</overwrite>
252 <directory>${basedir}/src/main/docker</directory>
253 <filtering>true</filtering>
255 <include>**/*</include>
264 <groupId>com.spotify</groupId>
265 <artifactId>docker-maven-plugin</artifactId>
266 <version>0.4.11</version>
268 <imageName>${docker.registry}/ecomp/${project.artifactId}</imageName>
270 <imageTag>${docker.imagetag}</imageTag>
271 <imageTag>latest</imageTag>
273 <forceTags>true</forceTags>
277 <!-- Checkstyle plugin - used to report on compliance with -->
278 <!-- the Google style guide. -->
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-site-plugin</artifactId>
282 <version>3.3</version>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-checkstyle-plugin</artifactId>
288 <version>2.17</version>
292 <report>checkstyle</report>
301 <!-- license plugin -->
303 <groupId>org.codehaus.mojo</groupId>
304 <artifactId>license-maven-plugin</artifactId>
305 <version>1.10</version>
307 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
309 <exclude>**.json</exclude>
310 <exclude>**.properties</exclude>
312 <processStartTag>============LICENSE_START=======================================================</processStartTag>
313 <processEndTag>============LICENSE_END=========================================================</processEndTag>
314 <sectionDelimiter>================================================================================</sectionDelimiter>
315 <licenseName>apache_v2</licenseName>
316 <inceptionYear>2017</inceptionYear>
317 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
318 <projectName>MODEL LOADER SERVICE</projectName>
319 <canUpdateCopyright>true</canUpdateCopyright>
320 <canUpdateDescription>true</canUpdateDescription>
321 <canUpdateLicense>true</canUpdateLicense>
322 <emptyLineAfterHeader>true</emptyLineAfterHeader>
327 <exclude>**/*.json</exclude>
331 <props>properties</props>
340 <goal>update-file-header</goal>
342 <phase>process-sources</phase>
347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-deploy-plugin</artifactId>