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.0-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
40 <name>BSD License</name>
\r
47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
48 <maven.compiler.source>1.8</maven.compiler.source>
\r
49 <maven.compiler.target>1.8</maven.compiler.target>
\r
50 <dockerLocation>${basedir}/target/</dockerLocation>
\r
51 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
52 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
53 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
54 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
55 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
\r
60 <groupId>junit</groupId>
\r
61 <artifactId>junit</artifactId>
\r
62 <version>3.8.1</version>
\r
66 <groupId>org.json</groupId>
\r
67 <artifactId>json</artifactId>
\r
68 <version>20160810</version>
\r
72 <groupId>javax.mail</groupId>
\r
73 <artifactId>javax.mail-api</artifactId>
\r
74 <version>1.5.1</version>
\r
77 <groupId>com.att.eelf</groupId>
\r
78 <artifactId>eelf-core</artifactId>
\r
79 <version>0.0.1</version>
\r
82 <groupId>javax.servlet</groupId>
\r
83 <artifactId>servlet-api</artifactId>
\r
84 <version>2.5</version>
\r
88 <groupId>org.eclipse.jetty</groupId>
\r
89 <artifactId>jetty-server</artifactId>
\r
90 <version>7.6.14.v20131031</version>
\r
93 <groupId>org.eclipse.jetty</groupId>
\r
94 <artifactId>jetty-continuation</artifactId>
\r
95 <version>7.6.14.v20131031</version>
\r
98 <groupId>org.eclipse.jetty</groupId>
\r
99 <artifactId>jetty-util</artifactId>
\r
100 <version>7.6.14.v20131031</version>
\r
103 <groupId>org.eclipse.jetty</groupId>
\r
104 <artifactId>jetty-deploy</artifactId>
\r
105 <version>7.6.14.v20131031</version>
\r
108 <groupId>org.eclipse.jetty</groupId>
\r
109 <artifactId>jetty-servlet</artifactId>
\r
110 <version>7.6.14.v20131031</version>
\r
113 <groupId>org.eclipse.jetty</groupId>
\r
114 <artifactId>jetty-servlets</artifactId>
\r
115 <version>7.6.14.v20131031</version>
\r
118 <groupId>org.eclipse.jetty</groupId>
\r
119 <artifactId>jetty-http</artifactId>
\r
120 <version>7.6.14.v20131031</version>
\r
124 <groupId>org.eclipse.jetty</groupId>
\r
125 <artifactId>jetty-security</artifactId>
\r
126 <version>7.6.14.v20131031</version>
\r
130 <groupId>org.eclipse.jetty</groupId>
\r
131 <artifactId>jetty-websocket</artifactId>
\r
132 <version>7.6.14.v20131031</version>
\r
136 <groupId>org.eclipse.jetty</groupId>
\r
137 <artifactId>jetty-io</artifactId>
\r
138 <version>7.6.14.v20131031</version>
\r
142 <groupId>org.apache.commons</groupId>
\r
143 <artifactId>commons-io</artifactId>
\r
144 <version>1.3.2</version>
\r
147 <groupId>commons-lang</groupId>
\r
148 <artifactId>commons-lang</artifactId>
\r
149 <version>2.4</version>
\r
152 <groupId>commons-io</groupId>
\r
153 <artifactId>commons-io</artifactId>
\r
154 <version>2.1</version>
\r
155 <scope>compile</scope>
\r
158 <groupId>org.apache.httpcomponents</groupId>
\r
159 <artifactId>httpcore</artifactId>
\r
160 <version>4.2.2</version>
\r
164 <groupId>commons-codec</groupId>
\r
165 <artifactId>commons-codec</artifactId>
\r
166 <version>1.6</version>
\r
170 <groupId>org.mozilla</groupId>
\r
171 <artifactId>rhino</artifactId>
\r
172 <version>1.7R3</version>
\r
175 <groupId>org.apache.james</groupId>
\r
176 <artifactId>apache-mime4j-core</artifactId>
\r
177 <version>0.7</version>
\r
180 <groupId>org.apache.httpcomponents</groupId>
\r
181 <artifactId>httpclient</artifactId>
\r
182 <version>4.2.3</version>
\r
185 <groupId>org.sonatype.http-testing-harness</groupId>
\r
186 <artifactId>junit-runner</artifactId>
\r
187 <version>0.11</version>
\r
192 <groupId>log4j</groupId>
\r
193 <artifactId>log4j</artifactId>
\r
194 <version>1.2.17</version>
\r
195 <scope>compile</scope>
\r
200 <finalName>datarouter-node</finalName>
\r
203 <directory>src/main/resources</directory>
\r
204 <filtering>true</filtering>
\r
206 <include>**/*.properties</include>
\r
210 <directory>src/main/resources</directory>
\r
211 <filtering>true</filtering>
\r
213 <include>**/EelfMessages.properties</include>
\r
217 <directory>src/main/resources</directory>
\r
218 <filtering>true</filtering>
\r
220 <include>**/log4j.properties</include>
\r
227 <groupId>org.apache.maven.plugins</groupId>
\r
228 <artifactId>maven-compiler-plugin</artifactId>
\r
232 <mainClass>org.onap.datarouter.node.NodeMain</mainClass>
\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
253 <addClasspath>true</addClasspath>
\r
254 <mainClass>org.onap.datarouter.node.NodeMain</mainClass>
\r
261 <id>make-assembly</id> <!-- this is used for inheritance merges -->
\r
262 <phase>package</phase> <!-- 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>${dockerLocation}</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>${dockerLocation}</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
352 <groupId>org.apache.maven.plugins</groupId>
\r
353 <artifactId>maven-dependency-plugin</artifactId>
\r
354 <version>2.10</version>
\r
357 <id>copy-dependencies</id>
\r
358 <phase>package</phase>
\r
360 <goal>copy-dependencies</goal>
\r
363 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
\r
364 <overWriteReleases>false</overWriteReleases>
\r
365 <overWriteSnapshots>false</overWriteSnapshots>
\r
366 <overWriteIfNewer>true</overWriteIfNewer>
\r
372 <groupId>org.apache.maven.plugins</groupId>
\r
373 <artifactId>maven-javadoc-plugin</artifactId>
\r
375 <failOnError>false</failOnError>
\r
379 <id>attach-javadocs</id>
\r
389 <groupId>org.apache.maven.plugins</groupId>
\r
390 <artifactId>maven-source-plugin</artifactId>
\r
391 <version>2.2.1</version>
\r
394 <id>attach-sources</id>
\r
396 <goal>jar-no-fork</goal>
\r
403 <groupId>org.codehaus.mojo</groupId>
\r
404 <artifactId>cobertura-maven-plugin</artifactId>
\r
405 <version>2.7</version>
\r
408 <format>html</format>
\r
409 <format>xml</format>
\r
416 <distributionManagement>
\r
418 <id>ecomp-releases</id>
\r
419 <name>AAF Release Repository</name>
\r
420 <url>${nexusproxy}${releaseNexusPath}</url>
\r
422 <snapshotRepository>
\r
423 <id>ecomp-snapshots</id>
\r
424 <name>AAF Snapshot Repository</name>
\r
425 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
426 </snapshotRepository>
\r
428 <id>ecomp-site</id>
\r
429 <url>dav:${nexusproxy}${sitePath}</url>
\r
431 </distributionManagement>
\r
432 <pluginRepositories>
\r
434 <id>onap-plugin-snapshots</id>
\r
435 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
\r
436 </pluginRepository>
\r
437 </pluginRepositories>
\r
441 <name>Maven 2 repository 2</name>
\r
442 <url>http://repo2.maven.org/maven2/</url>
\r
445 <id>onap-jar-snapshots</id>
\r
446 <url>https://nexus.onap.org/content/repositories/snapshots</url>
\r
449 <id>spring-repo</id>
\r
450 <name>Spring repo</name>
\r
451 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
\r
454 <id>repository.jboss.org-public</id>
\r
455 <name>JBoss.org Maven repository</name>
\r
456 <url>https://repository.jboss.org/nexus/content/groups/public</url>
\r