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
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 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
47 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
48 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
49 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
50 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
\r
55 <groupId>junit</groupId>
\r
56 <artifactId>junit</artifactId>
\r
57 <version>3.8.1</version>
\r
61 <groupId>org.json</groupId>
\r
62 <artifactId>json</artifactId>
\r
63 <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
83 <groupId>org.eclipse.jetty</groupId>
\r
84 <artifactId>jetty-server</artifactId>
\r
85 <version>7.6.14.v20131031</version>
\r
88 <groupId>org.eclipse.jetty</groupId>
\r
89 <artifactId>jetty-continuation</artifactId>
\r
90 <version>7.6.14.v20131031</version>
\r
93 <groupId>org.eclipse.jetty</groupId>
\r
94 <artifactId>jetty-util</artifactId>
\r
95 <version>7.6.14.v20131031</version>
\r
98 <groupId>org.eclipse.jetty</groupId>
\r
99 <artifactId>jetty-deploy</artifactId>
\r
100 <version>7.6.14.v20131031</version>
\r
103 <groupId>org.eclipse.jetty</groupId>
\r
104 <artifactId>jetty-servlet</artifactId>
\r
105 <version>7.6.14.v20131031</version>
\r
108 <groupId>org.eclipse.jetty</groupId>
\r
109 <artifactId>jetty-servlets</artifactId>
\r
110 <version>7.6.14.v20131031</version>
\r
113 <groupId>org.eclipse.jetty</groupId>
\r
114 <artifactId>jetty-http</artifactId>
\r
115 <version>7.6.14.v20131031</version>
\r
119 <groupId>org.eclipse.jetty</groupId>
\r
120 <artifactId>jetty-security</artifactId>
\r
121 <version>7.6.14.v20131031</version>
\r
125 <groupId>org.eclipse.jetty</groupId>
\r
126 <artifactId>jetty-websocket</artifactId>
\r
127 <version>7.6.14.v20131031</version>
\r
131 <groupId>org.eclipse.jetty</groupId>
\r
132 <artifactId>jetty-io</artifactId>
\r
133 <version>7.6.14.v20131031</version>
\r
137 <groupId>org.apache.commons</groupId>
\r
138 <artifactId>commons-io</artifactId>
\r
139 <version>1.3.2</version>
\r
142 <groupId>commons-lang</groupId>
\r
143 <artifactId>commons-lang</artifactId>
\r
144 <version>2.4</version>
\r
147 <groupId>commons-io</groupId>
\r
148 <artifactId>commons-io</artifactId>
\r
149 <version>2.1</version>
\r
150 <scope>compile</scope>
\r
153 <groupId>org.apache.httpcomponents</groupId>
\r
154 <artifactId>httpcore</artifactId>
\r
155 <version>4.2.2</version>
\r
159 <groupId>commons-codec</groupId>
\r
160 <artifactId>commons-codec</artifactId>
\r
161 <version>1.6</version>
\r
165 <groupId>org.mozilla</groupId>
\r
166 <artifactId>rhino</artifactId>
\r
167 <version>1.7R3</version>
\r
170 <groupId>org.apache.james</groupId>
\r
171 <artifactId>apache-mime4j-core</artifactId>
\r
172 <version>0.7</version>
\r
175 <groupId>org.apache.httpcomponents</groupId>
\r
176 <artifactId>httpclient</artifactId>
\r
177 <version>4.2.3</version>
\r
180 <groupId>org.sonatype.http-testing-harness</groupId>
\r
181 <artifactId>junit-runner</artifactId>
\r
182 <version>0.11</version>
\r
187 <groupId>log4j</groupId>
\r
188 <artifactId>log4j</artifactId>
\r
189 <version>1.2.17</version>
\r
190 <scope>compile</scope>
\r
195 <finalName>datarouter-node</finalName>
\r
198 <directory>src/main/resources</directory>
\r
199 <filtering>true</filtering>
\r
201 <include>**/*.properties</include>
\r
205 <directory>src/main/resources</directory>
\r
206 <filtering>true</filtering>
\r
208 <include>**/EelfMessages.properties</include>
\r
212 <directory>src/main/resources</directory>
\r
213 <filtering>true</filtering>
\r
215 <include>**/log4j.properties</include>
\r
222 <groupId>org.apache.maven.plugins</groupId>
\r
223 <artifactId>maven-compiler-plugin</artifactId>
\r
227 <mainClass>org.onap.datarouter.node.NodeMain</mainClass>
\r
232 <source>1.8</source>
\r
233 <target>1.8</target>
\r
235 <version>3.6.0</version>
\r
238 <artifactId>maven-assembly-plugin</artifactId>
\r
239 <version>2.4</version>
\r
242 <descriptorRef>jar-with-dependencies</descriptorRef>
\r
244 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
\r
248 <addClasspath>true</addClasspath>
\r
249 <mainClass>org.onap.datarouter.node.NodeMain</mainClass>
\r
256 <id>make-assembly</id> <!-- this is used for inheritance merges -->
\r
257 <phase>package</phase> <!-- bind to the packaging phase -->
\r
259 <goal>single</goal>
\r
265 <groupId>org.apache.maven.plugins</groupId>
\r
266 <artifactId>maven-resources-plugin</artifactId>
\r
267 <version>2.7</version>
\r
270 <id>copy-docker-file</id>
\r
271 <phase>package</phase>
\r
273 <goal>copy-resources</goal>
\r
276 <outputDirectory>${dockerLocation}</outputDirectory>
\r
277 <overwrite>true</overwrite>
\r
280 <directory>${basedir}/src/main/resources/docker</directory>
\r
281 <filtering>true</filtering>
\r
283 <include>**/*</include>
\r
290 <id>copy-resources</id>
\r
291 <phase>validate</phase>
\r
293 <goal>copy-resources</goal>
\r
296 <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
\r
299 <directory>${basedir}/src/main/resources</directory>
\r
301 <include>misc/**</include>
\r
302 <include>**/**</include>
\r
309 <id>copy-resources-1</id>
\r
310 <phase>validate</phase>
\r
312 <goal>copy-resources</goal>
\r
315 <outputDirectory>${basedir}/target/opt/app/datartr/self_signed</outputDirectory>
\r
318 <directory>${basedir}/self_signed</directory>
\r
320 <include>misc/**</include>
\r
321 <include>**/**</include>
\r
330 <groupId>com.spotify</groupId>
\r
331 <artifactId>docker-maven-plugin</artifactId>
\r
332 <version>0.4.11</version>
\r
334 <imageName>onap/dmaap/datarouter-node</imageName>
\r
335 <dockerDirectory>${dockerLocation}</dockerDirectory>
\r
336 <serverId>docker-hub</serverId>
\r
337 <registryUrl>https://${docker.registry}</registryUrl>
\r
339 <imageTag>${project.version}</imageTag>
\r
340 <imageTag>latest</imageTag>
\r
342 <forceTags>true</forceTags>
\r
347 <groupId>org.apache.maven.plugins</groupId>
\r
348 <artifactId>maven-dependency-plugin</artifactId>
\r
349 <version>2.10</version>
\r
352 <id>copy-dependencies</id>
\r
353 <phase>package</phase>
\r
355 <goal>copy-dependencies</goal>
\r
358 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
\r
359 <overWriteReleases>false</overWriteReleases>
\r
360 <overWriteSnapshots>false</overWriteSnapshots>
\r
361 <overWriteIfNewer>true</overWriteIfNewer>
\r
367 <groupId>org.apache.maven.plugins</groupId>
\r
368 <artifactId>maven-javadoc-plugin</artifactId>
\r
370 <failOnError>false</failOnError>
\r
374 <id>attach-javadocs</id>
\r
384 <groupId>org.apache.maven.plugins</groupId>
\r
385 <artifactId>maven-source-plugin</artifactId>
\r
386 <version>2.2.1</version>
\r
389 <id>attach-sources</id>
\r
391 <goal>jar-no-fork</goal>
\r
398 <groupId>org.codehaus.mojo</groupId>
\r
399 <artifactId>cobertura-maven-plugin</artifactId>
\r
400 <version>2.7</version>
\r
403 <format>html</format>
\r
404 <format>xml</format>
\r
411 <distributionManagement>
\r
413 <id>ecomp-releases</id>
\r
414 <name>AAF Release Repository</name>
\r
415 <url>${nexusproxy}${releaseNexusPath}</url>
\r
417 <snapshotRepository>
\r
418 <id>ecomp-snapshots</id>
\r
419 <name>AAF Snapshot Repository</name>
\r
420 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
421 </snapshotRepository>
\r
423 <id>ecomp-site</id>
\r
424 <url>dav:${nexusproxy}${sitePath}</url>
\r
426 </distributionManagement>
\r
427 <pluginRepositories>
\r
429 <id>onap-plugin-snapshots</id>
\r
430 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
\r
431 </pluginRepository>
\r
432 </pluginRepositories>
\r
436 <name>Maven 2 repository 2</name>
\r
437 <url>http://repo2.maven.org/maven2/</url>
\r
440 <id>onap-jar-snapshots</id>
\r
441 <url>https://nexus.onap.org/content/repositories/snapshots</url>
\r
444 <id>spring-repo</id>
\r
445 <name>Spring repo</name>
\r
446 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
\r
449 <id>repository.jboss.org-public</id>
\r
450 <name>JBoss.org Maven repository</name>
\r
451 <url>https://repository.jboss.org/nexus/content/groups/public</url>
\r