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>
35 <sonar.language>java</sonar.language>
36 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
37 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
38 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
39 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
40 <sonar.projectVersion>${project.version}</sonar.projectVersion>
45 <groupId>org.mockito</groupId>
46 <artifactId>mockito-all</artifactId>
47 <version>1.10.19</version>
51 <groupId>org.powermock</groupId>
52 <artifactId>powermock-module-junit4</artifactId>
53 <version>1.6.2</version>
57 <groupId>org.powermock</groupId>
58 <artifactId>powermock-api-mockito</artifactId>
59 <version>1.6.2</version>
63 <groupId>org.powermock</groupId>
64 <artifactId>powermock-module-javaagent</artifactId>
65 <version>1.6.2</version>
69 <groupId>org.powermock</groupId>
70 <artifactId>powermock-module-junit4-rule-agent</artifactId>
71 <version>1.6.2</version>
74 <!-- xjc dependencies -->
76 <groupId>javax.xml.bind</groupId>
77 <artifactId>jaxb-api</artifactId>
78 <version>2.2.11</version>
81 <groupId>com.sun.xml.bind</groupId>
82 <artifactId>jaxb-impl</artifactId>
83 <version>2.2.11</version>
86 <groupId>com.sun.xml.bind</groupId>
87 <artifactId>jaxb-core</artifactId>
88 <version>2.2.11</version>
91 <groupId>com.sun.xml.bind</groupId>
92 <artifactId>jaxb-xjc</artifactId>
93 <version>2.2.11</version>
96 <groupId>org.eclipse.persistence</groupId>
97 <artifactId>org.eclipse.persistence.moxy</artifactId>
98 <version>2.6.2</version>
99 <scope>compile</scope>
102 <groupId>com.sun.jersey</groupId>
103 <artifactId>jersey-client</artifactId>
104 <version>1.18</version>
106 <!-- Common logging framework -->
108 <groupId>org.openecomp.aai.logging-service</groupId>
109 <artifactId>common-logging</artifactId>
110 <version>1.0.0-SNAPSHOT</version>
113 <groupId>org.openecomp.sdc</groupId>
114 <artifactId>sdc-distribution-client</artifactId>
115 <version>1.0.0-SNAPSHOT</version>
118 <groupId>org.json</groupId>
119 <artifactId>json</artifactId>
120 <version>20131018</version>
124 <groupId>org.eclipse.jetty</groupId>
125 <artifactId>jetty-security</artifactId>
126 <version>9.3.8.RC0</version>
130 <groupId>org.springframework</groupId>
131 <artifactId>spring-webmvc</artifactId>
132 <version>4.0.0.RELEASE</version>
135 <groupId>jline</groupId>
136 <artifactId>jline</artifactId>
137 <version>2.12.1</version>
142 <!-- Plugins and repositories -->
146 <url>http://repo1.maven.org/maven2</url>
150 <name>EvoSuite Repository</name>
151 <url>http://www.evosuite.org/m2</url>
153 </pluginRepositories>
157 <name>Maven 2 repository 2</name>
158 <url>http://repo2.maven.org/maven2/</url>
161 <id>ecomp-releases</id>
162 <name>ECOMP Release Repository</name>
163 <url>https://nexus.openecomp.org/content/repositories/releases/</url>
166 <id>ecomp-snapshots</id>
167 <name>ECOMP Snapshot Repository</name>
168 <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-resources-plugin</artifactId>
179 <version>2.7</version>
182 <id>copy-docker-file</id>
183 <phase>package</phase>
185 <goal>copy-resources</goal>
188 <outputDirectory>target</outputDirectory>
189 <overwrite>true</overwrite>
192 <directory>${basedir}/src/main/docker</directory>
193 <filtering>true</filtering>
195 <include>**/*</include>
204 <groupId>com.spotify</groupId>
205 <artifactId>docker-maven-plugin</artifactId>
206 <version>0.4.11</version>
208 <verbose>true</verbose>
209 <serverId>docker-hub</serverId>
210 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
211 <dockerDirectory>${docker.location}</dockerDirectory>
213 <imageTag>${docker.imagetag}</imageTag>
214 <imageTag>latest</imageTag>
216 <forceTags>true</forceTags>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-dependency-plugin</artifactId>
222 <version>2.5.1</version>
226 <phase>process-test-classes</phase>
233 <groupId>org.powermock</groupId>
234 <artifactId>powermock-module-javaagent</artifactId>
235 <version>1.6.2</version>
236 <outputDirectory>${project.build.directory}/agents</outputDirectory>
237 <destFileName>powermock-javaagent.jar</destFileName>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-surefire-plugin</artifactId>
247 <version>2.12.4</version>
249 <argLine>-noverify ${argLine}</argLine>
253 <groupId>org.codehaus.mojo</groupId>
254 <artifactId>jaxb2-maven-plugin</artifactId>
255 <version>2.2</version>
265 <clearOutputDir>false</clearOutputDir>
266 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
268 <source>${project.basedir}/src/main/resources/schema</source>
270 <addGeneratedAnnotation>true</addGeneratedAnnotation>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-compiler-plugin</artifactId>
276 <version>3.1</version>
279 <!-- Checkstyle plugin - used to report on compliance with -->
280 <!-- the Google style guide. -->
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-site-plugin</artifactId>
284 <version>3.3</version>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-checkstyle-plugin</artifactId>
290 <version>2.17</version>
294 <report>checkstyle</report>
303 <!-- license plugin -->
305 <groupId>org.codehaus.mojo</groupId>
306 <artifactId>license-maven-plugin</artifactId>
307 <version>1.10</version>
309 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
311 <exclude>**.json</exclude>
312 <exclude>**.properties</exclude>
314 <processStartTag>============LICENSE_START=======================================================</processStartTag>
315 <processEndTag>============LICENSE_END=========================================================</processEndTag>
316 <sectionDelimiter>================================================================================</sectionDelimiter>
317 <licenseName>apache_v2</licenseName>
318 <inceptionYear>2017</inceptionYear>
319 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
320 <projectName>MODEL LOADER SERVICE</projectName>
321 <canUpdateCopyright>true</canUpdateCopyright>
322 <canUpdateDescription>true</canUpdateDescription>
323 <canUpdateLicense>true</canUpdateLicense>
324 <emptyLineAfterHeader>true</emptyLineAfterHeader>
329 <exclude>**/*.json</exclude>
333 <props>properties</props>
342 <goal>update-file-header</goal>
344 <phase>process-sources</phase>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-deploy-plugin</artifactId>
356 <groupId>org.codehaus.mojo</groupId>
357 <artifactId>sonar-maven-plugin</artifactId>
358 <version>3.2</version>
361 <groupId>org.jacoco</groupId>
362 <artifactId>jacoco-maven-plugin</artifactId>
363 <version>0.7.7.201606060606</version>
365 <dumpOnExit>true</dumpOnExit>
369 <id>jacoco-initialize-unit-tests</id>
371 <goal>prepare-agent</goal>
374 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
375 <!-- <append>true</append> -->