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"
\r
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
25 <modelVersion>4.0.0</modelVersion>
\r
27 <groupId>org.onap.dmaap.datarouter</groupId>
\r
28 <artifactId>parent</artifactId>
\r
29 <version>1.0.1-SNAPSHOT</version>
\r
30 <relativePath>../pom.xml</relativePath>
\r
34 <artifactId>datarouter-node</artifactId>
\r
35 <packaging>jar</packaging>
\r
36 <name>datarouter-node</name>
\r
37 <url>https://github.com/att/DMAAP_DATAROUTER</url>
\r
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
43 <maven.compiler.source>1.8</maven.compiler.source>
\r
44 <maven.compiler.target>1.8</maven.compiler.target>
\r
45 <dockerLocation>${basedir}/target/</dockerLocation>
\r
46 <sonar.language>java</sonar.language>
\r
47 <sonar.skip>false</sonar.skip>
\r
48 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
49 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
50 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
51 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
52 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
\r
53 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
54 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
55 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
56 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
57 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
58 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
\r
63 <groupId>junit</groupId>
\r
64 <artifactId>junit</artifactId>
\r
65 <version>3.8.1</version>
\r
69 <groupId>org.json</groupId>
\r
70 <artifactId>json</artifactId>
\r
71 <version>20160810</version>
\r
75 <groupId>javax.mail</groupId>
\r
76 <artifactId>javax.mail-api</artifactId>
\r
77 <version>1.5.1</version>
\r
80 <groupId>com.att.eelf</groupId>
\r
81 <artifactId>eelf-core</artifactId>
\r
82 <version>0.0.1</version>
\r
85 <groupId>javax.servlet</groupId>
\r
86 <artifactId>servlet-api</artifactId>
\r
87 <version>2.5</version>
\r
90 <groupId>com.thoughtworks.xstream</groupId>
\r
91 <artifactId>xstream</artifactId>
\r
92 <version>1.4.7</version>
\r
95 <groupId>ch.qos.logback</groupId>
\r
96 <artifactId>logback-classic</artifactId>
\r
97 <version>1.2.0</version>
\r
98 <scope>compile</scope>
\r
101 <groupId>ch.qos.logback</groupId>
\r
102 <artifactId>logback-core</artifactId>
\r
103 <version>1.2.0</version>
\r
104 <scope>compile</scope>
\r
108 <groupId>org.eclipse.jetty</groupId>
\r
109 <artifactId>jetty-server</artifactId>
\r
110 <version>7.6.14.v20131031</version>
\r
113 <groupId>org.eclipse.jetty</groupId>
\r
114 <artifactId>jetty-continuation</artifactId>
\r
115 <version>7.6.14.v20131031</version>
\r
118 <groupId>org.eclipse.jetty</groupId>
\r
119 <artifactId>jetty-util</artifactId>
\r
120 <version>7.6.14.v20131031</version>
\r
123 <groupId>org.eclipse.jetty</groupId>
\r
124 <artifactId>jetty-deploy</artifactId>
\r
125 <version>7.6.14.v20131031</version>
\r
128 <groupId>org.eclipse.jetty</groupId>
\r
129 <artifactId>jetty-servlet</artifactId>
\r
130 <version>7.6.14.v20131031</version>
\r
133 <groupId>org.eclipse.jetty</groupId>
\r
134 <artifactId>jetty-servlets</artifactId>
\r
135 <version>7.6.14.v20131031</version>
\r
138 <groupId>org.eclipse.jetty</groupId>
\r
139 <artifactId>jetty-http</artifactId>
\r
140 <version>7.6.14.v20131031</version>
\r
144 <groupId>org.eclipse.jetty</groupId>
\r
145 <artifactId>jetty-security</artifactId>
\r
146 <version>7.6.14.v20131031</version>
\r
150 <groupId>org.eclipse.jetty</groupId>
\r
151 <artifactId>jetty-websocket</artifactId>
\r
152 <version>7.6.14.v20131031</version>
\r
156 <groupId>org.eclipse.jetty</groupId>
\r
157 <artifactId>jetty-io</artifactId>
\r
158 <version>7.6.14.v20131031</version>
\r
162 <groupId>org.apache.commons</groupId>
\r
163 <artifactId>commons-io</artifactId>
\r
164 <version>1.3.2</version>
\r
167 <groupId>commons-lang</groupId>
\r
168 <artifactId>commons-lang</artifactId>
\r
169 <version>2.4</version>
\r
172 <groupId>commons-io</groupId>
\r
173 <artifactId>commons-io</artifactId>
\r
174 <version>2.1</version>
\r
175 <scope>compile</scope>
\r
178 <groupId>org.apache.httpcomponents</groupId>
\r
179 <artifactId>httpcore</artifactId>
\r
180 <version>4.2.2</version>
\r
184 <groupId>commons-codec</groupId>
\r
185 <artifactId>commons-codec</artifactId>
\r
186 <version>1.6</version>
\r
190 <groupId>org.mozilla</groupId>
\r
191 <artifactId>rhino</artifactId>
\r
192 <version>1.7R3</version>
\r
195 <groupId>org.apache.james</groupId>
\r
196 <artifactId>apache-mime4j-core</artifactId>
\r
197 <version>0.7</version>
\r
200 <groupId>org.apache.httpcomponents</groupId>
\r
201 <artifactId>httpclient</artifactId>
\r
202 <version>4.5.3</version>
\r
205 <groupId>org.sonatype.http-testing-harness</groupId>
\r
206 <artifactId>junit-runner</artifactId>
\r
207 <version>0.11</version>
\r
210 <groupId>org.databene</groupId>
\r
211 <artifactId>contiperf</artifactId>
\r
218 <groupId>log4j</groupId>
\r
219 <artifactId>log4j</artifactId>
\r
220 <version>1.2.17</version>
\r
221 <scope>compile</scope>
\r
226 <finalName>datarouter-node</finalName>
\r
229 <directory>src/main/resources</directory>
\r
230 <filtering>true</filtering>
\r
232 <include>**/*.properties</include>
\r
236 <directory>src/main/resources</directory>
\r
237 <filtering>true</filtering>
\r
239 <include>**/EelfMessages.properties</include>
\r
243 <directory>src/main/resources</directory>
\r
244 <filtering>true</filtering>
\r
246 <include>**/log4j.properties</include>
\r
253 <groupId>org.apache.maven.plugins</groupId>
\r
254 <artifactId>maven-compiler-plugin</artifactId>
\r
258 <mainClass>org.onap.datarouter.node.NodeMain</mainClass>
\r
263 <source>1.8</source>
\r
264 <target>1.8</target>
\r
266 <version>3.6.0</version>
\r
269 <artifactId>maven-assembly-plugin</artifactId>
\r
270 <version>2.4</version>
\r
273 <descriptorRef>jar-with-dependencies</descriptorRef>
\r
275 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
\r
279 <addClasspath>true</addClasspath>
\r
280 <mainClass>org.onap.datarouter.node.NodeMain</mainClass>
\r
287 <id>make-assembly</id> <!-- this is used for inheritance merges -->
\r
288 <phase>package</phase> <!-- bind to the packaging phase -->
\r
290 <goal>single</goal>
\r
296 <groupId>org.apache.maven.plugins</groupId>
\r
297 <artifactId>maven-resources-plugin</artifactId>
\r
298 <version>2.7</version>
\r
301 <id>copy-docker-file</id>
\r
302 <phase>package</phase>
\r
304 <goal>copy-resources</goal>
\r
307 <outputDirectory>${dockerLocation}</outputDirectory>
\r
308 <overwrite>true</overwrite>
\r
311 <directory>${basedir}/src/main/resources/docker</directory>
\r
312 <filtering>true</filtering>
\r
314 <include>**/*</include>
\r
321 <id>copy-resources</id>
\r
322 <phase>validate</phase>
\r
324 <goal>copy-resources</goal>
\r
327 <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
\r
330 <directory>${basedir}/src/main/resources</directory>
\r
332 <include>misc/**</include>
\r
333 <include>**/**</include>
\r
340 <id>copy-resources-1</id>
\r
341 <phase>validate</phase>
\r
343 <goal>copy-resources</goal>
\r
346 <outputDirectory>${basedir}/target/opt/app/datartr/self_signed</outputDirectory>
\r
349 <directory>${basedir}/self_signed</directory>
\r
351 <include>misc/**</include>
\r
352 <include>**/**</include>
\r
361 <groupId>com.spotify</groupId>
\r
362 <artifactId>docker-maven-plugin</artifactId>
\r
363 <version>0.4.11</version>
\r
365 <imageName>onap/dmaap/datarouter-node</imageName>
\r
366 <dockerDirectory>${dockerLocation}</dockerDirectory>
\r
367 <serverId>docker-hub</serverId>
\r
368 <registryUrl>https://${docker.registry}</registryUrl>
\r
370 <imageTag>${project.version}</imageTag>
\r
371 <imageTag>latest</imageTag>
\r
373 <forceTags>true</forceTags>
\r
378 <groupId>org.apache.maven.plugins</groupId>
\r
379 <artifactId>maven-dependency-plugin</artifactId>
\r
380 <version>2.10</version>
\r
383 <id>copy-dependencies</id>
\r
384 <phase>package</phase>
\r
386 <goal>copy-dependencies</goal>
\r
389 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
\r
390 <overWriteReleases>false</overWriteReleases>
\r
391 <overWriteSnapshots>false</overWriteSnapshots>
\r
392 <overWriteIfNewer>true</overWriteIfNewer>
\r
398 <groupId>org.apache.maven.plugins</groupId>
\r
399 <artifactId>maven-javadoc-plugin</artifactId>
\r
401 <failOnError>false</failOnError>
\r
405 <id>attach-javadocs</id>
\r
415 <groupId>org.apache.maven.plugins</groupId>
\r
416 <artifactId>maven-source-plugin</artifactId>
\r
417 <version>2.2.1</version>
\r
420 <id>attach-sources</id>
\r
422 <goal>jar-no-fork</goal>
\r
429 <groupId>org.codehaus.mojo</groupId>
\r
430 <artifactId>cobertura-maven-plugin</artifactId>
\r
431 <version>2.7</version>
\r
434 <format>html</format>
\r
435 <format>xml</format>
\r
440 <groupId>org.sonatype.plugins</groupId>
\r
441 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
442 <version>1.6.7</version>
\r
443 <extensions>true</extensions>
\r
445 <nexusUrl>${nexusproxy}</nexusUrl>
\r
446 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
447 <serverId>ecomp-staging</serverId>
\r
452 <groupId>org.jacoco</groupId>
\r
453 <artifactId>jacoco-maven-plugin</artifactId>
\r
454 <version>${jacoco.version}</version>
\r
457 <exclude>**/gen/**</exclude>
\r
458 <exclude>**/generated-sources/**</exclude>
\r
459 <exclude>**/yang-gen/**</exclude>
\r
460 <exclude>**/pax/**</exclude>
\r
466 <id>pre-unit-test</id>
\r
468 <goal>prepare-agent</goal>
\r
471 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
472 <propertyName>surefireArgLine</propertyName>
\r
478 <id>post-unit-test</id>
\r
479 <phase>test</phase>
\r
481 <goal>report</goal>
\r
484 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
485 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
489 <id>pre-integration-test</id>
\r
490 <phase>pre-integration-test</phase>
\r
492 <goal>prepare-agent</goal>
\r
495 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
497 <propertyName>failsafeArgLine</propertyName>
\r
503 <id>post-integration-test</id>
\r
504 <phase>post-integration-test</phase>
\r
506 <goal>report</goal>
\r
509 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
510 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
517 <distributionManagement>
\r
519 <id>ecomp-releases</id>
\r
520 <name>DR Release Repository</name>
\r
521 <url>${nexusproxy}${releaseNexusPath}</url>
\r
523 <snapshotRepository>
\r
524 <id>ecomp-snapshots</id>
\r
525 <name>DR Snapshot Repository</name>
\r
526 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
527 </snapshotRepository>
\r
529 <id>ecomp-site</id>
\r
530 <url>dav:${nexusproxy}${sitePath}</url>
\r
532 </distributionManagement>
\r
533 <pluginRepositories>
\r
535 <id>onap-plugin-snapshots</id>
\r
536 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
\r
537 </pluginRepository>
\r
538 </pluginRepositories>
\r