2 ============LICENSE_START==================================================
\r
4 * ===========================================================================
\r
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * ===========================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============LICENSE_END====================================================
\r
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
24 <modelVersion>4.0.0</modelVersion>
\r
26 <groupId>org.onap.dmaap.datarouter</groupId>
\r
27 <artifactId>parent</artifactId>
\r
28 <version>1.0.1-SNAPSHOT</version>
\r
29 <relativePath>../pom.xml</relativePath>
\r
31 <artifactId>datarouter-node</artifactId>
\r
32 <packaging>jar</packaging>
\r
33 <name>datarouter-node</name>
\r
34 <url>https://github.com/att/DMAAP_DATAROUTER</url>
\r
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
37 <maven.compiler.source>1.8</maven.compiler.source>
\r
38 <maven.compiler.target>1.8</maven.compiler.target>
\r
39 <docker.location>${basedir}/target/</docker.location>
\r
40 <sonar.language>java</sonar.language>
\r
41 <sonar.skip>false</sonar.skip>
\r
42 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
43 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
44 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
45 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
46 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
\r
47 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
48 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
49 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
50 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
51 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
52 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
\r
56 <groupId>junit</groupId>
\r
57 <artifactId>junit</artifactId>
\r
58 <version>3.8.1</version>
\r
62 <groupId>org.json</groupId>
\r
63 <artifactId>json</artifactId>
\r
64 <version>20160810</version>
\r
67 <groupId>javax.mail</groupId>
\r
68 <artifactId>javax.mail-api</artifactId>
\r
69 <version>1.5.1</version>
\r
72 <groupId>com.att.eelf</groupId>
\r
73 <artifactId>eelf-core</artifactId>
\r
74 <version>0.0.1</version>
\r
77 <groupId>javax.servlet</groupId>
\r
78 <artifactId>servlet-api</artifactId>
\r
79 <version>2.5</version>
\r
82 <groupId>com.thoughtworks.xstream</groupId>
\r
83 <artifactId>xstream</artifactId>
\r
84 <version>1.4.7</version>
\r
87 <groupId>ch.qos.logback</groupId>
\r
88 <artifactId>logback-classic</artifactId>
\r
89 <version>1.2.0</version>
\r
90 <scope>compile</scope>
\r
93 <groupId>ch.qos.logback</groupId>
\r
94 <artifactId>logback-core</artifactId>
\r
95 <version>1.2.0</version>
\r
96 <scope>compile</scope>
\r
99 <groupId>org.eclipse.jetty</groupId>
\r
100 <artifactId>jetty-server</artifactId>
\r
101 <version>7.6.14.v20131031</version>
\r
104 <groupId>org.eclipse.jetty</groupId>
\r
105 <artifactId>jetty-continuation</artifactId>
\r
106 <version>7.6.14.v20131031</version>
\r
109 <groupId>org.eclipse.jetty</groupId>
\r
110 <artifactId>jetty-util</artifactId>
\r
111 <version>7.6.14.v20131031</version>
\r
114 <groupId>org.eclipse.jetty</groupId>
\r
115 <artifactId>jetty-deploy</artifactId>
\r
116 <version>7.6.14.v20131031</version>
\r
119 <groupId>org.eclipse.jetty</groupId>
\r
120 <artifactId>jetty-servlet</artifactId>
\r
121 <version>7.6.14.v20131031</version>
\r
124 <groupId>org.eclipse.jetty</groupId>
\r
125 <artifactId>jetty-servlets</artifactId>
\r
126 <version>7.6.14.v20131031</version>
\r
129 <groupId>org.eclipse.jetty</groupId>
\r
130 <artifactId>jetty-http</artifactId>
\r
131 <version>7.6.14.v20131031</version>
\r
134 <groupId>org.eclipse.jetty</groupId>
\r
135 <artifactId>jetty-security</artifactId>
\r
136 <version>7.6.14.v20131031</version>
\r
139 <groupId>org.eclipse.jetty</groupId>
\r
140 <artifactId>jetty-websocket</artifactId>
\r
141 <version>7.6.14.v20131031</version>
\r
144 <groupId>org.eclipse.jetty</groupId>
\r
145 <artifactId>jetty-io</artifactId>
\r
146 <version>7.6.14.v20131031</version>
\r
149 <groupId>org.apache.commons</groupId>
\r
150 <artifactId>commons-io</artifactId>
\r
151 <version>1.3.2</version>
\r
154 <groupId>commons-lang</groupId>
\r
155 <artifactId>commons-lang</artifactId>
\r
156 <version>2.4</version>
\r
159 <groupId>commons-io</groupId>
\r
160 <artifactId>commons-io</artifactId>
\r
161 <version>2.1</version>
\r
162 <scope>compile</scope>
\r
165 <groupId>org.apache.httpcomponents</groupId>
\r
166 <artifactId>httpcore</artifactId>
\r
167 <version>4.4</version>
\r
170 <groupId>commons-codec</groupId>
\r
171 <artifactId>commons-codec</artifactId>
\r
172 <version>1.6</version>
\r
175 <groupId>org.mozilla</groupId>
\r
176 <artifactId>rhino</artifactId>
\r
177 <version>1.7R3</version>
\r
180 <groupId>org.apache.james</groupId>
\r
181 <artifactId>apache-mime4j-core</artifactId>
\r
182 <version>0.7</version>
\r
185 <groupId>org.apache.httpcomponents</groupId>
\r
186 <artifactId>httpclient</artifactId>
\r
187 <version>4.5.3</version>
\r
190 <groupId>org.sonatype.http-testing-harness</groupId>
\r
191 <artifactId>junit-runner</artifactId>
\r
192 <version>0.11</version>
\r
195 <groupId>org.databene</groupId>
\r
196 <artifactId>contiperf</artifactId>
\r
201 <groupId>log4j</groupId>
\r
202 <artifactId>log4j</artifactId>
\r
203 <version>1.2.17</version>
\r
204 <scope>compile</scope>
\r
208 <finalName>datarouter-node</finalName>
\r
211 <directory>src/main/resources</directory>
\r
212 <filtering>true</filtering>
\r
214 <include>**/*.properties</include>
\r
218 <directory>src/main/resources</directory>
\r
219 <filtering>true</filtering>
\r
221 <include>**/EelfMessages.properties</include>
\r
225 <directory>src/main/resources</directory>
\r
226 <filtering>true</filtering>
\r
228 <include>**/log4j.properties</include>
\r
234 <groupId>org.apache.maven.plugins</groupId>
\r
235 <artifactId>maven-compiler-plugin</artifactId>
\r
237 <source>1.8</source>
\r
238 <target>1.8</target>
\r
240 <version>3.6.0</version>
\r
243 <artifactId>maven-assembly-plugin</artifactId>
\r
244 <version>2.4</version>
\r
247 <descriptorRef>jar-with-dependencies</descriptorRef>
\r
249 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
\r
252 <addClasspath>true</addClasspath>
\r
253 <mainClass>org.onap.dmaap.datarouter.node.NodeMain</mainClass>
\r
259 <id>make-assembly</id>
\r
260 <!-- this is used for inheritance merges -->
\r
261 <phase>package</phase>
\r
262 <!-- bind to the packaging phase -->
\r
264 <goal>single</goal>
\r
270 <groupId>org.apache.maven.plugins</groupId>
\r
271 <artifactId>maven-resources-plugin</artifactId>
\r
272 <version>2.7</version>
\r
275 <id>copy-docker-file</id>
\r
276 <phase>package</phase>
\r
278 <goal>copy-resources</goal>
\r
281 <outputDirectory>${docker.location}</outputDirectory>
\r
282 <overwrite>true</overwrite>
\r
285 <directory>${basedir}/src/main/resources/docker</directory>
\r
286 <filtering>true</filtering>
\r
288 <include>**/*</include>
\r
295 <id>copy-resources</id>
\r
296 <phase>validate</phase>
\r
298 <goal>copy-resources</goal>
\r
301 <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
\r
304 <directory>${basedir}/src/main/resources</directory>
\r
306 <include>misc/**</include>
\r
307 <include>**/**</include>
\r
314 <id>copy-resources-1</id>
\r
315 <phase>validate</phase>
\r
317 <goal>copy-resources</goal>
\r
320 <outputDirectory>${basedir}/target/opt/app/datartr/self_signed</outputDirectory>
\r
323 <directory>${basedir}/self_signed</directory>
\r
325 <include>misc/**</include>
\r
326 <include>**/**</include>
\r
335 <groupId>com.spotify</groupId>
\r
336 <artifactId>docker-maven-plugin</artifactId>
\r
337 <version>0.4.11</version>
\r
339 <imageName>onap/dmaap/datarouter-node</imageName>
\r
340 <dockerDirectory>${docker.location}</dockerDirectory>
\r
341 <serverId>docker-hub</serverId>
\r
342 <registryUrl>https://${docker.registry}</registryUrl>
\r
344 <imageTag>${project.version}</imageTag>
\r
345 <imageTag>latest</imageTag>
\r
347 <forceTags>true</forceTags>
\r
351 <groupId>org.apache.maven.plugins</groupId>
\r
352 <artifactId>maven-dependency-plugin</artifactId>
\r
353 <version>2.10</version>
\r
356 <id>copy-dependencies</id>
\r
357 <phase>package</phase>
\r
359 <goal>copy-dependencies</goal>
\r
362 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
\r
363 <overWriteReleases>false</overWriteReleases>
\r
364 <overWriteSnapshots>false</overWriteSnapshots>
\r
365 <overWriteIfNewer>true</overWriteIfNewer>
\r
371 <groupId>org.apache.maven.plugins</groupId>
\r
372 <artifactId>maven-javadoc-plugin</artifactId>
\r
374 <failOnError>false</failOnError>
\r
378 <id>attach-javadocs</id>
\r
386 <groupId>org.apache.maven.plugins</groupId>
\r
387 <artifactId>maven-source-plugin</artifactId>
\r
388 <version>2.2.1</version>
\r
391 <id>attach-sources</id>
\r
393 <goal>jar-no-fork</goal>
\r
399 <groupId>org.codehaus.mojo</groupId>
\r
400 <artifactId>cobertura-maven-plugin</artifactId>
\r
401 <version>2.7</version>
\r
404 <format>html</format>
\r
405 <format>xml</format>
\r
410 <groupId>org.sonatype.plugins</groupId>
\r
411 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
412 <version>1.6.7</version>
\r
413 <extensions>true</extensions>
\r
415 <nexusUrl>${nexusproxy}</nexusUrl>
\r
416 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
417 <serverId>ecomp-staging</serverId>
\r
421 <groupId>org.jacoco</groupId>
\r
422 <artifactId>jacoco-maven-plugin</artifactId>
\r
423 <version>${jacoco.version}</version>
\r
426 <exclude>**/gen/**</exclude>
\r
427 <exclude>**/generated-sources/**</exclude>
\r
428 <exclude>**/yang-gen/**</exclude>
\r
429 <exclude>**/pax/**</exclude>
\r
434 <id>pre-unit-test</id>
\r
436 <goal>prepare-agent</goal>
\r
439 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
440 <propertyName>surefireArgLine</propertyName>
\r
444 <id>post-unit-test</id>
\r
445 <phase>test</phase>
\r
447 <goal>report</goal>
\r
450 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
451 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
455 <id>pre-integration-test</id>
\r
456 <phase>pre-integration-test</phase>
\r
458 <goal>prepare-agent</goal>
\r
461 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
462 <propertyName>failsafeArgLine</propertyName>
\r
466 <id>post-integration-test</id>
\r
467 <phase>post-integration-test</phase>
\r
469 <goal>report</goal>
\r
472 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
473 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
480 <distributionManagement>
\r
482 <id>ecomp-releases</id>
\r
483 <name>DR Release Repository</name>
\r
484 <url>${nexusproxy}${releaseNexusPath}</url>
\r
486 <snapshotRepository>
\r
487 <id>ecomp-snapshots</id>
\r
488 <name>DR Snapshot Repository</name>
\r
489 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
490 </snapshotRepository>
\r
492 <id>ecomp-site</id>
\r
493 <url>dav:${nexusproxy}${sitePath}</url>
\r
495 </distributionManagement>
\r
496 <pluginRepositories>
\r
498 <id>onap-plugin-snapshots</id>
\r
499 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
\r
500 </pluginRepository>
\r
501 </pluginRepositories>
\r