1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.dcaegen2</groupId>
7 <artifactId>root</artifactId>
8 <version>1.0.0-SNAPSHOT</version>
10 <groupId>org.onap.dcaegen2.collectors.ves</groupId>
11 <artifactId>VESCollector</artifactId>
12 <version>1.1.4-SNAPSHOT</version>
13 <name>dcaegen2-collectors-ves</name>
14 <description>VESCollector</description>
17 <compiler.source.version>1.7</compiler.source.version>
18 <compiler.target.version>1.7</compiler.target.version>
19 <main.basedir>${project.basedir}</main.basedir>
20 <compiler.plugin.version>3.3</compiler.plugin.version>
21 <jar.plugin.version>2.4</jar.plugin.version>
22 <deploy.plugin.version>2.8</deploy.plugin.version>
23 <source.plugin.version>2.4</source.plugin.version>
24 <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
27 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
29 <!--PLUGIN SETTINGS -->
31 <dependency.locations.enabled>false</dependency.locations.enabled>
32 <!-- <maven.test.skip>true</maven.test.skip> -->
34 <nexusproxy>https://nexus.onap.org</nexusproxy>
35 <snapshots.path>content/repositories/snapshots/</snapshots.path>
36 <releases.path>content/repositories/releases/</releases.path>
37 <site.path>content/sites/site/org/onap/dcaegen2/collectors/ves/${project.artifactId}/${project.version}</site.path>
41 <!-- Black Duck plugin dependencies -->
44 <name>JCenter Repository</name>
45 <url>http://jcenter.bintray.com</url>
50 <name>Restlet Repository</name>
51 <url>http://maven.restlet.com</url>
57 <!-- JSON libraries -->
59 <groupId>com.googlecode.json-simple</groupId>
60 <artifactId>json-simple</artifactId>
61 <version>1.1.1</version>
65 <groupId>com.github.fge</groupId>
66 <artifactId>json-schema-validator</artifactId>
67 <version>2.0.1</version>
71 <groupId>com.google.code.gson</groupId>
72 <artifactId>gson</artifactId>
73 <version>2.3.1</version>
76 <!-- NSA server library -->
78 <groupId>com.att.nsa</groupId>
79 <artifactId>nsaServerLibrary</artifactId>
80 <version>1.0.10</version>
83 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId>
84 <version>1.1.3</version> </dependency> -->
87 <groupId>org.slf4j</groupId>
88 <artifactId>slf4j-log4j12</artifactId>
89 <version>1.7.21</version>
92 <groupId>log4j</groupId>
93 <artifactId>apache-log4j-extras</artifactId>
94 <version>1.2.17</version>
98 <!-- https://mvnrepository.com/artifact/org.json/json -->
100 <groupId>org.json</groupId>
101 <artifactId>json</artifactId>
102 <version>20160810</version>
106 <groupId>commons-configuration</groupId>
107 <artifactId>commons-configuration</artifactId>
108 <version>1.10</version>
116 <id>external-repository</id>
117 <url>https://oss.sonatype.org/content/repositories</url>
126 <!-- COMPILER PLUGIN -->
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-compiler-plugin</artifactId>
130 <version>${compiler.plugin.version}</version>
132 <source>${compiler.target.version}</source>
133 <target>${compiler.source.version}</target>
137 <!-- MAVEN SOURCE PLUGIN -->
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-source-plugin</artifactId>
141 <version>${source.plugin.version}</version>
143 <excludeResources>true</excludeResources>
147 <id>attach-sources</id>
148 <phase>verify</phase>
150 <goal>jar-no-fork</goal>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-jar-plugin</artifactId>
160 <version>${jar.plugin.version}</version>
164 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
167 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
174 <artifactId>maven-assembly-plugin</artifactId>
175 <version>2.4.1</version>
178 <descriptor>src/assembly/dep.xml</descriptor>
184 <id>make-assembly</id> <!-- this is used for inheritance merges -->
185 <phase>package</phase> <!-- bind to the packaging phase -->
193 <!-- MAVEN JAVADOC PLUGIN -->
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-javadoc-plugin</artifactId>
197 <version>${javadoc.plugin.version}</version>
199 <!-- minimize console output messages -->
201 <verbose>false</verbose>
202 <useStandardDocletOptions>false</useStandardDocletOptions>
209 <goal>aggregate</goal>
213 <id>attach-javadoc</id>
222 <groupId>org.codehaus.mojo</groupId>
223 <artifactId>exec-maven-plugin</artifactId>
224 <version>1.2.1</version>
226 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
227 <environmentVariables>
228 <!-- make mvn properties as env for our script -->
229 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
230 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
231 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
232 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
233 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
234 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
235 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
236 <MVN_DOCKERREGISTRY_DAILY>${onap.nexus.dockerregistry.daily}</MVN_DOCKERREGISTRY_DAILY>
237 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
238 </environmentVariables>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-compiler-plugin</artifactId>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-jar-plugin</artifactId>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-source-plugin</artifactId>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-javadoc-plugin</artifactId>
268 <artifactId>maven-assembly-plugin</artifactId>
273 <groupId>org.codehaus.mojo</groupId>
274 <artifactId>exec-maven-plugin</artifactId>
275 <version>1.2.1</version>
278 <id>deploy script</id>
279 <phase>deploy</phase>
285 <argument>__</argument>
286 <argument>deploy</argument>
291 <id>install script</id>
292 <phase>install</phase>
298 <argument>__</argument>
299 <argument>install</argument>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-project-info-reports-plugin</artifactId>
315 <version>2.6</version>
319 <report>dependencies</report>
320 <report>license</report>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-javadoc-plugin</artifactId>
329 <version>2.10.4</version>
331 <failOnError>false</failOnError>
332 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
334 <groupId>org.umlgraph</groupId>
335 <artifactId>umlgraph</artifactId>
336 <version>5.6</version>
338 <additionalparam>-views</additionalparam>
339 <useStandardDocletOptions>true</useStandardDocletOptions>