2 ================================================================================
3 Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
4 ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 ============LICENSE_END=========================================================
18 ECOMP is a trademark and service mark of AT&T Intellectual Property.
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 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>
25 <groupId>org.onap.oparent</groupId>
26 <artifactId>oparent</artifactId>
27 <version>0.1.1</version>
30 <groupId>org.onap.dcaegen2.collectors.ves</groupId>
31 <artifactId>VESCollector</artifactId>
32 <version>1.2.0-SNAPSHOT</version>
33 <name>dcaegen2-collectors-ves</name>
34 <description>VESCollector</description>
37 <compiler.source.version>1.7</compiler.source.version>
38 <compiler.target.version>1.7</compiler.target.version>
39 <main.basedir>${project.basedir}</main.basedir>
40 <compiler.plugin.version>3.3</compiler.plugin.version>
41 <jar.plugin.version>2.4</jar.plugin.version>
42 <deploy.plugin.version>2.8</deploy.plugin.version>
43 <source.plugin.version>2.4</source.plugin.version>
44 <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
47 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
49 <!--PLUGIN SETTINGS -->
51 <dependency.locations.enabled>false</dependency.locations.enabled>
52 <!-- <maven.test.skip>true</maven.test.skip> -->
54 <nexusproxy>https://nexus.onap.org</nexusproxy>
55 <snapshots.path>content/repositories/snapshots/</snapshots.path>
56 <releases.path>content/repositories/releases/</releases.path>
57 <site.path>content/sites/site/org/onap/dcaegen2/collectors/ves/${project.artifactId}/${project.version}</site.path>
61 <!-- Black Duck plugin dependencies -->
64 <name>JCenter Repository</name>
65 <url>http://jcenter.bintray.com</url>
70 <name>Restlet Repository</name>
71 <url>http://maven.restlet.com</url>
77 <!-- JSON libraries -->
79 <groupId>com.googlecode.json-simple</groupId>
80 <artifactId>json-simple</artifactId>
81 <version>1.1.1</version>
85 <groupId>com.github.fge</groupId>
86 <artifactId>json-schema-validator</artifactId>
87 <version>2.0.1</version>
91 <groupId>com.google.code.gson</groupId>
92 <artifactId>gson</artifactId>
93 <version>2.3.1</version>
96 <!-- NSA server library -->
98 <groupId>com.att.nsa</groupId>
99 <artifactId>nsaServerLibrary</artifactId>
100 <version>1.0.10</version>
103 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId>
104 <version>1.1.3</version> </dependency> -->
107 <groupId>org.slf4j</groupId>
108 <artifactId>slf4j-log4j12</artifactId>
109 <version>1.7.21</version>
112 <groupId>log4j</groupId>
113 <artifactId>apache-log4j-extras</artifactId>
114 <version>1.2.17</version>
118 <!-- https://mvnrepository.com/artifact/org.json/json -->
120 <groupId>org.json</groupId>
121 <artifactId>json</artifactId>
122 <version>20160810</version>
126 <groupId>commons-configuration</groupId>
127 <artifactId>commons-configuration</artifactId>
128 <version>1.10</version>
136 <id>external-repository</id>
137 <url>https://oss.sonatype.org/content/repositories</url>
146 <!-- COMPILER PLUGIN -->
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-compiler-plugin</artifactId>
150 <version>${compiler.plugin.version}</version>
152 <source>${compiler.target.version}</source>
153 <target>${compiler.source.version}</target>
157 <!-- MAVEN SOURCE PLUGIN -->
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-source-plugin</artifactId>
161 <version>${source.plugin.version}</version>
163 <excludeResources>true</excludeResources>
167 <id>attach-sources</id>
168 <phase>verify</phase>
170 <goal>jar-no-fork</goal>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-jar-plugin</artifactId>
180 <version>${jar.plugin.version}</version>
184 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
187 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
194 <artifactId>maven-assembly-plugin</artifactId>
195 <version>2.4.1</version>
198 <descriptor>src/assembly/dep.xml</descriptor>
204 <id>make-assembly</id> <!-- this is used for inheritance merges -->
205 <phase>package</phase> <!-- bind to the packaging phase -->
213 <!-- MAVEN JAVADOC PLUGIN -->
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-javadoc-plugin</artifactId>
217 <version>${javadoc.plugin.version}</version>
219 <!-- minimize console output messages -->
221 <verbose>false</verbose>
222 <useStandardDocletOptions>false</useStandardDocletOptions>
229 <goal>aggregate</goal>
233 <id>attach-javadoc</id>
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>exec-maven-plugin</artifactId>
244 <version>1.2.1</version>
246 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
247 <environmentVariables>
248 <!-- make mvn properties as env for our script -->
249 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
250 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
251 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
252 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
253 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
254 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
255 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
256 <MVN_DOCKERREGISTRY_DAILY>${onap.nexus.dockerregistry.daily}</MVN_DOCKERREGISTRY_DAILY>
257 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
258 </environmentVariables>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-compiler-plugin</artifactId>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-jar-plugin</artifactId>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-source-plugin</artifactId>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-javadoc-plugin</artifactId>
288 <artifactId>maven-assembly-plugin</artifactId>
293 <groupId>org.codehaus.mojo</groupId>
294 <artifactId>exec-maven-plugin</artifactId>
295 <version>1.2.1</version>
298 <id>deploy script</id>
299 <phase>deploy</phase>
305 <argument>__</argument>
306 <argument>deploy</argument>
311 <id>install script</id>
312 <phase>install</phase>
318 <argument>__</argument>
319 <argument>install</argument>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-project-info-reports-plugin</artifactId>
335 <version>2.6</version>
339 <report>dependencies</report>
340 <report>license</report>
347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-javadoc-plugin</artifactId>
349 <version>2.10.4</version>
351 <failOnError>false</failOnError>
352 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
354 <groupId>org.umlgraph</groupId>
355 <artifactId>umlgraph</artifactId>
356 <version>5.6</version>
358 <additionalparam>-views</additionalparam>
359 <useStandardDocletOptions>true</useStandardDocletOptions>