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 <docker.url>${dockerurl}</docker.url>
32 <docker.imagetag>${dockertag}</docker.imagetag>
33 <docker.login>${dockerlogin}</docker.login>
34 <docker.password>${dockerpassword}</docker.password>
35 <docker.registry>${dockerregistry}</docker.registry>
36 <dependency.scope>provided</dependency.scope>
37 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
38 <maven.compiler.source>1.8</maven.compiler.source>
39 <maven.compiler.target>1.8</maven.compiler.target>
44 <id>maven-central</id>
45 <name>maven-central</name>
46 <url>http://central.maven.org/maven2/</url>
48 <enabled>true</enabled>
49 <updatePolicy>never</updatePolicy>
52 <enabled>false</enabled>
57 <name>ecomp-nexus</name>
58 <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
60 <enabled>true</enabled>
61 <updatePolicy>never</updatePolicy>
64 <enabled>false</enabled>
71 <!-- powermockito dependencies -->
73 <groupId>org.mockito</groupId>
74 <artifactId>mockito-all</artifactId>
75 <version>1.10.19</version>
79 <groupId>org.powermock</groupId>
80 <artifactId>powermock-module-junit4</artifactId>
81 <version>1.6.2</version>
85 <groupId>org.powermock</groupId>
86 <artifactId>powermock-api-mockito</artifactId>
87 <version>1.6.2</version>
91 <groupId>org.powermock</groupId>
92 <artifactId>powermock-module-javaagent</artifactId>
93 <version>1.6.2</version>
97 <groupId>org.powermock</groupId>
98 <artifactId>powermock-module-junit4-rule-agent</artifactId>
99 <version>1.6.2</version>
102 <!-- xjc dependencies -->
104 <groupId>javax.xml.bind</groupId>
105 <artifactId>jaxb-api</artifactId>
106 <version>2.2.11</version>
109 <groupId>com.sun.xml.bind</groupId>
110 <artifactId>jaxb-impl</artifactId>
111 <version>2.2.11</version>
114 <groupId>com.sun.xml.bind</groupId>
115 <artifactId>jaxb-core</artifactId>
116 <version>2.2.11</version>
119 <groupId>com.sun.xml.bind</groupId>
120 <artifactId>jaxb-xjc</artifactId>
121 <version>2.2.11</version>
124 <groupId>org.eclipse.persistence</groupId>
125 <artifactId>org.eclipse.persistence.moxy</artifactId>
126 <version>2.6.2</version>
127 <scope>compile</scope>
130 <groupId>com.sun.jersey</groupId>
131 <artifactId>jersey-client</artifactId>
132 <version>1.18</version>
134 <!-- Common logging framework -->
136 <groupId>org.openecomp.cl</groupId>
137 <artifactId>common-logging</artifactId>
138 <version>1.0.0-SNAPSHOT</version>
140 <!-- ASDC Client Library -->
142 <groupId>org.openecomp.sdc</groupId>
143 <artifactId>sdc-distribution-client</artifactId>
144 <version>1.1.2</version>
147 <groupId>org.json</groupId>
148 <artifactId>json</artifactId>
149 <version>20131018</version>
153 <groupId>org.eclipse.jetty</groupId>
154 <artifactId>jetty-security</artifactId>
155 <version>9.3.8.RC0</version>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-webmvc</artifactId>
161 <version>4.0.0.RELEASE</version>
164 <groupId>jline</groupId>
165 <artifactId>jline</artifactId>
166 <version>2.12.1</version>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-dependency-plugin</artifactId>
176 <version>2.5.1</version>
180 <phase>process-test-classes</phase>
187 <groupId>org.powermock</groupId>
188 <artifactId>powermock-module-javaagent</artifactId>
189 <version>1.6.2</version>
190 <outputDirectory>${project.build.directory}/agents</outputDirectory>
191 <destFileName>powermock-javaagent.jar</destFileName>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-surefire-plugin</artifactId>
201 <version>2.12.4</version>
203 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
208 <groupId>org.codehaus.mojo</groupId>
209 <artifactId>jaxb2-maven-plugin</artifactId>
210 <version>2.2</version>
220 <clearOutputDir>false</clearOutputDir>
221 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
223 <source>${project.basedir}/src/main/resources/schema</source>
225 <addGeneratedAnnotation>true</addGeneratedAnnotation>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-compiler-plugin</artifactId>
231 <version>3.1</version>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-resources-plugin</artifactId>
236 <version>2.7</version>
239 <id>copy-docker-file</id>
240 <phase>package</phase>
242 <goal>copy-resources</goal>
245 <outputDirectory>target</outputDirectory>
246 <overwrite>true</overwrite>
249 <directory>${basedir}/src/main/docker</directory>
250 <filtering>true</filtering>
252 <include>**/*</include>
261 <groupId>com.spotify</groupId>
262 <artifactId>docker-maven-plugin</artifactId>
263 <version>0.4.11</version>
265 <dockerHost>${docker.url}</dockerHost>
266 <registry>${docker.registry}</registry>
268 <username>${docker.login}</username>
269 <password>${docker.password}</password>
271 <imageName>${docker.registry}/ecomp/${project.artifactId}</imageName>
272 <dockerDirectory>${docker.location}</dockerDirectory>
273 <registryUrl>https://${docker.registry}</registryUrl>
275 <imageTag>${docker.imagetag}</imageTag>
276 <imageTag>latest</imageTag>
278 <forceTags>true</forceTags>
281 <!-- blackduck maven plugin -->
283 <groupId>com.blackducksoftware.integration</groupId>
284 <artifactId>hub-maven-plugin</artifactId>
285 <version>1.0.4</version>
286 <inherited>false</inherited>
288 <target>${project.basedir/target}</target>
292 <id>create-bdio-file</id>
293 <phase>package</phase>
295 <goal>createHubOutput</goal>
300 <!-- Checkstyle plugin - used to report on compliance with -->
301 <!-- the Google style guide. -->
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-site-plugin</artifactId>
305 <version>3.3</version>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-checkstyle-plugin</artifactId>
311 <version>2.17</version>
315 <report>checkstyle</report>
324 <!-- license plugin -->
326 <groupId>org.codehaus.mojo</groupId>
327 <artifactId>license-maven-plugin</artifactId>
328 <version>1.10</version>
330 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
332 <exclude>**.json</exclude>
333 <exclude>**.properties</exclude>
335 <processStartTag>============LICENSE_START=======================================================</processStartTag>
336 <processEndTag>============LICENSE_END=========================================================</processEndTag>
337 <sectionDelimiter>================================================================================</sectionDelimiter>
338 <licenseName>apache_v2</licenseName>
339 <inceptionYear>2017</inceptionYear>
340 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
341 <projectName>MODEL LOADER SERVICE</projectName>
342 <canUpdateCopyright>true</canUpdateCopyright>
343 <canUpdateDescription>true</canUpdateDescription>
344 <canUpdateLicense>true</canUpdateLicense>
345 <emptyLineAfterHeader>true</emptyLineAfterHeader>
350 <exclude>**/*.json</exclude>
354 <props>properties</props>
363 <goal>update-file-header</goal>
365 <phase>process-sources</phase>