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/xsd/maven-4.0.0.xsd">
\r
25 <modelVersion>4.0.0</modelVersion>
\r
27 <groupId>com.att.datarouter-node</groupId>
\r
28 <artifactId>datarouter-node</artifactId>
\r
29 <version>0.0.1-SNAPSHOT</version>
\r
30 <packaging>jar</packaging>
\r
32 <name>datarouter-node</name>
\r
33 <url>https://github.com/att/DMAAP_DATAROUTER</url>
\r
36 <name>BSD License</name>
\r
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
44 <maven.compiler.source>1.8</maven.compiler.source>
\r
45 <maven.compiler.target>1.8</maven.compiler.target>
\r
46 <dockerLocation>${basedir}/target/</dockerLocation>
\r
47 <docker.registry>hub.docker.com</docker.registry>
\r
52 <groupId>junit</groupId>
\r
53 <artifactId>junit</artifactId>
\r
54 <version>3.8.1</version>
\r
58 <groupId>org.json</groupId>
\r
59 <artifactId>json</artifactId>
\r
60 <version>20160810</version>
\r
64 <groupId>javax.mail</groupId>
\r
65 <artifactId>javax.mail-api</artifactId>
\r
66 <version>1.5.1</version>
\r
69 <groupId>com.att.eelf</groupId>
\r
70 <artifactId>eelf-core</artifactId>
\r
71 <version>0.0.1</version>
\r
74 <groupId>javax.servlet</groupId>
\r
75 <artifactId>servlet-api</artifactId>
\r
76 <version>2.5</version>
\r
80 <groupId>org.eclipse.jetty</groupId>
\r
81 <artifactId>jetty-server</artifactId>
\r
82 <version>7.6.14.v20131031</version>
\r
85 <groupId>org.eclipse.jetty</groupId>
\r
86 <artifactId>jetty-continuation</artifactId>
\r
87 <version>7.6.14.v20131031</version>
\r
90 <groupId>org.eclipse.jetty</groupId>
\r
91 <artifactId>jetty-util</artifactId>
\r
92 <version>7.6.14.v20131031</version>
\r
95 <groupId>org.eclipse.jetty</groupId>
\r
96 <artifactId>jetty-deploy</artifactId>
\r
97 <version>7.6.14.v20131031</version>
\r
100 <groupId>org.eclipse.jetty</groupId>
\r
101 <artifactId>jetty-servlet</artifactId>
\r
102 <version>7.6.14.v20131031</version>
\r
105 <groupId>org.eclipse.jetty</groupId>
\r
106 <artifactId>jetty-servlets</artifactId>
\r
107 <version>7.6.14.v20131031</version>
\r
110 <groupId>org.eclipse.jetty</groupId>
\r
111 <artifactId>jetty-http</artifactId>
\r
112 <version>7.6.14.v20131031</version>
\r
116 <groupId>org.eclipse.jetty</groupId>
\r
117 <artifactId>jetty-security</artifactId>
\r
118 <version>7.6.14.v20131031</version>
\r
122 <groupId>org.eclipse.jetty</groupId>
\r
123 <artifactId>jetty-websocket</artifactId>
\r
124 <version>7.6.14.v20131031</version>
\r
128 <groupId>org.eclipse.jetty</groupId>
\r
129 <artifactId>jetty-io</artifactId>
\r
130 <version>7.6.14.v20131031</version>
\r
134 <groupId>org.apache.commons</groupId>
\r
135 <artifactId>commons-io</artifactId>
\r
136 <version>1.3.2</version>
\r
139 <groupId>commons-lang</groupId>
\r
140 <artifactId>commons-lang</artifactId>
\r
141 <version>2.4</version>
\r
144 <groupId>commons-io</groupId>
\r
145 <artifactId>commons-io</artifactId>
\r
146 <version>2.1</version>
\r
147 <scope>compile</scope>
\r
150 <groupId>org.apache.httpcomponents</groupId>
\r
151 <artifactId>httpcore</artifactId>
\r
152 <version>4.2.2</version>
\r
156 <groupId>commons-codec</groupId>
\r
157 <artifactId>commons-codec</artifactId>
\r
158 <version>1.6</version>
\r
162 <groupId>org.mozilla</groupId>
\r
163 <artifactId>rhino</artifactId>
\r
164 <version>1.7R3</version>
\r
167 <groupId>org.apache.james</groupId>
\r
168 <artifactId>apache-mime4j-core</artifactId>
\r
169 <version>0.7</version>
\r
172 <groupId>org.apache.httpcomponents</groupId>
\r
173 <artifactId>httpclient</artifactId>
\r
174 <version>4.2.3</version>
\r
177 <groupId>org.sonatype.http-testing-harness</groupId>
\r
178 <artifactId>junit-runner</artifactId>
\r
179 <version>0.11</version>
\r
184 <groupId>log4j</groupId>
\r
185 <artifactId>log4j</artifactId>
\r
186 <version>1.2.17</version>
\r
187 <scope>compile</scope>
\r
192 <finalName>datarouter-node</finalName>
\r
195 <directory>src/main/resources</directory>
\r
196 <filtering>true</filtering>
\r
198 <include>**/*.properties</include>
\r
202 <directory>src/main/resources</directory>
\r
203 <filtering>true</filtering>
\r
205 <include>**/EelfMessages.properties</include>
\r
209 <directory>src/main/resources</directory>
\r
210 <filtering>true</filtering>
\r
212 <include>**/log4j.properties</include>
\r
219 <groupId>org.apache.maven.plugins</groupId>
\r
220 <artifactId>maven-compiler-plugin</artifactId>
\r
224 <mainClass>com.att.research.datarouter.node.NodeMain</mainClass>
\r
229 <source>1.8</source>
\r
230 <target>1.8</target>
\r
232 <version>3.6.0</version>
\r
235 <artifactId>maven-assembly-plugin</artifactId>
\r
236 <version>2.4</version>
\r
239 <descriptorRef>jar-with-dependencies</descriptorRef>
\r
241 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
\r
245 <addClasspath>true</addClasspath>
\r
246 <mainClass>com.att.research.datarouter.node.NodeMain</mainClass>
\r
253 <id>make-assembly</id> <!-- this is used for inheritance merges -->
\r
254 <phase>package</phase> <!-- bind to the packaging phase -->
\r
256 <goal>single</goal>
\r
262 <groupId>org.apache.maven.plugins</groupId>
\r
263 <artifactId>maven-resources-plugin</artifactId>
\r
264 <version>2.7</version>
\r
267 <id>copy-docker-file</id>
\r
268 <phase>package</phase>
\r
270 <goal>copy-resources</goal>
\r
273 <outputDirectory>${dockerLocation}</outputDirectory>
\r
274 <overwrite>true</overwrite>
\r
277 <directory>${basedir}/src/main/resources/docker</directory>
\r
278 <filtering>true</filtering>
\r
280 <include>**/*</include>
\r
287 <id>copy-resources</id>
\r
288 <phase>validate</phase>
\r
290 <goal>copy-resources</goal>
\r
293 <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
\r
296 <directory>${basedir}/src/main/resources</directory>
\r
298 <include>misc/**</include>
\r
299 <include>**/**</include>
\r
306 <id>copy-resources-1</id>
\r
307 <phase>validate</phase>
\r
309 <goal>copy-resources</goal>
\r
312 <outputDirectory>${basedir}/target/opt/app/datartr/self_signed</outputDirectory>
\r
315 <directory>${basedir}/self_signed</directory>
\r
317 <include>misc/**</include>
\r
318 <include>**/**</include>
\r
327 <groupId>com.spotify</groupId>
\r
328 <artifactId>docker-maven-plugin</artifactId>
\r
329 <version>0.4.11</version>
\r
331 <imageName>datarouter-node</imageName>
\r
332 <dockerDirectory>${dockerLocation}</dockerDirectory>
\r
333 <serverId>docker-hub</serverId>
\r
334 <registryUrl>https://${docker.registry}</registryUrl>
\r
336 <imageTag>${project.version}</imageTag>
\r
337 <imageTag>latest</imageTag>
\r
339 <forceTags>true</forceTags>
\r
344 <groupId>org.apache.maven.plugins</groupId>
\r
345 <artifactId>maven-dependency-plugin</artifactId>
\r
346 <version>2.10</version>
\r
349 <id>copy-dependencies</id>
\r
350 <phase>package</phase>
\r
352 <goal>copy-dependencies</goal>
\r
355 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
\r
356 <overWriteReleases>false</overWriteReleases>
\r
357 <overWriteSnapshots>false</overWriteSnapshots>
\r
358 <overWriteIfNewer>true</overWriteIfNewer>
\r
364 <groupId>org.apache.maven.plugins</groupId>
\r
365 <artifactId>maven-javadoc-plugin</artifactId>
\r
367 <failOnError>false</failOnError>
\r
371 <id>attach-javadocs</id>
\r
381 <groupId>org.apache.maven.plugins</groupId>
\r
382 <artifactId>maven-source-plugin</artifactId>
\r
383 <version>2.2.1</version>
\r
386 <id>attach-sources</id>
\r
388 <goal>jar-no-fork</goal>
\r
396 <groupId>org.apache.maven.plugins</groupId>
\r
397 <artifactId>maven-gpg-plugin</artifactId>
\r
398 <version>1.5</version>
\r
401 <id>sign-artifacts</id>
\r
402 <phase>verify</phase>
\r
411 <groupId>org.sonatype.plugins</groupId>
\r
412 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
413 <version>1.6.7</version>
\r
414 <extensions>true</extensions>
\r
416 <serverId>ossrhdme</serverId>
\r
417 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
\r
418 <autoReleaseAfterClose>true</autoReleaseAfterClose>
\r
423 <groupId>org.codehaus.mojo</groupId>
\r
424 <artifactId>cobertura-maven-plugin</artifactId>
\r
425 <version>2.7</version>
\r
428 <format>html</format>
\r
429 <format>xml</format>
\r
435 <groupId>com.blackducksoftware.integration</groupId>
\r
436 <artifactId>hub-maven-plugin</artifactId>
\r
437 <version>1.0.4</version>
\r
438 <inherited>false</inherited>
\r
440 <target>${project.basedir}</target>
\r
444 <id>create-bdio-file</id>
\r
445 <phase>package</phase>
\r
447 <goal>createHubOutput</goal>
\r
455 <distributionManagement>
\r
456 <snapshotRepository>
\r
458 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
\r
459 </snapshotRepository>
\r
462 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
\r
464 </distributionManagement>
\r
467 <connection>https://github.com/att/DMAAP_DATAROUTER.git</connection>
\r
468 <developerConnection>${project.scm.connection}</developerConnection>
\r
469 <url>https://github.com/att/DMAAP_DATAROUTER/tree/master</url>
\r