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-prov</groupId>
\r
28 <artifactId>datarouter-prov</artifactId>
\r
29 <version>0.0.1-SNAPSHOT</version>
\r
30 <packaging>jar</packaging>
\r
32 <name>datarouter-prov</name>
\r
33 <url>https://github.com/att/DMAAP_DATAROUTER</url>
\r
36 <name>BSD License</name>
\r
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
42 <maven.compiler.source>1.8</maven.compiler.source>
\r
43 <maven.compiler.target>1.8</maven.compiler.target>
\r
44 <dockerLocation>${basedir}/target/</dockerLocation>
\r
45 <docker.registry>hub.docker.com</docker.registry>
\r
50 <groupId>org.json</groupId>
\r
51 <artifactId>json</artifactId>
\r
52 <version>20160810</version>
\r
55 <groupId>javax.mail</groupId>
\r
56 <artifactId>javax.mail-api</artifactId>
\r
57 <version>1.5.1</version>
\r
60 <groupId>com.att.eelf</groupId>
\r
61 <artifactId>eelf-core</artifactId>
\r
62 <version>0.0.1</version>
\r
65 <groupId>javax.servlet</groupId>
\r
66 <artifactId>servlet-api</artifactId>
\r
67 <version>2.5</version>
\r
71 <groupId>org.eclipse.jetty</groupId>
\r
72 <artifactId>jetty-server</artifactId>
\r
73 <version>7.6.14.v20131031</version>
\r
76 <groupId>org.eclipse.jetty</groupId>
\r
77 <artifactId>jetty-continuation</artifactId>
\r
78 <version>7.6.14.v20131031</version>
\r
81 <groupId>org.eclipse.jetty</groupId>
\r
82 <artifactId>jetty-util</artifactId>
\r
83 <version>7.6.14.v20131031</version>
\r
86 <groupId>org.eclipse.jetty</groupId>
\r
87 <artifactId>jetty-deploy</artifactId>
\r
88 <version>7.6.14.v20131031</version>
\r
91 <groupId>org.eclipse.jetty</groupId>
\r
92 <artifactId>jetty-servlet</artifactId>
\r
93 <version>7.6.14.v20131031</version>
\r
96 <groupId>org.eclipse.jetty</groupId>
\r
97 <artifactId>jetty-servlets</artifactId>
\r
98 <version>7.6.14.v20131031</version>
\r
101 <groupId>org.eclipse.jetty</groupId>
\r
102 <artifactId>jetty-http</artifactId>
\r
103 <version>7.6.14.v20131031</version>
\r
107 <groupId>org.eclipse.jetty</groupId>
\r
108 <artifactId>jetty-security</artifactId>
\r
109 <version>7.6.14.v20131031</version>
\r
113 <groupId>org.eclipse.jetty</groupId>
\r
114 <artifactId>jetty-websocket</artifactId>
\r
115 <version>7.6.14.v20131031</version>
\r
119 <groupId>org.eclipse.jetty</groupId>
\r
120 <artifactId>jetty-io</artifactId>
\r
121 <version>7.6.14.v20131031</version>
\r
125 <groupId>org.apache.commons</groupId>
\r
126 <artifactId>commons-io</artifactId>
\r
127 <version>1.3.2</version>
\r
130 <groupId>commons-lang</groupId>
\r
131 <artifactId>commons-lang</artifactId>
\r
132 <version>2.4</version>
\r
135 <groupId>commons-io</groupId>
\r
136 <artifactId>commons-io</artifactId>
\r
137 <version>2.1</version>
\r
138 <scope>compile</scope>
\r
141 <groupId>org.apache.httpcomponents</groupId>
\r
142 <artifactId>httpcore</artifactId>
\r
143 <version>4.2.2</version>
\r
147 <groupId>org.mozilla</groupId>
\r
148 <artifactId>rhino</artifactId>
\r
149 <version>1.7R3</version>
\r
152 <groupId>org.apache.james</groupId>
\r
153 <artifactId>apache-mime4j-core</artifactId>
\r
154 <version>0.7</version>
\r
157 <groupId>org.apache.httpcomponents</groupId>
\r
158 <artifactId>httpclient</artifactId>
\r
159 <version>4.2.3</version>
\r
162 <groupId>org.sonatype.http-testing-harness</groupId>
\r
163 <artifactId>junit-runner</artifactId>
\r
164 <version>0.11</version>
\r
167 <groupId>junit</groupId>
\r
168 <artifactId>junit</artifactId>
\r
169 <version>4.10</version>
\r
170 <scope>test</scope>
\r
174 <groupId>org.mockito</groupId>
\r
175 <artifactId>mockito-core</artifactId>
\r
176 <version>1.10.19</version>
\r
177 <scope>test</scope>
\r
180 <groupId>org.powermock</groupId>
\r
181 <artifactId>powermock-module-junit4</artifactId>
\r
182 <version>1.6.4</version>
\r
183 <scope>test</scope>
\r
186 <groupId>org.powermock</groupId>
\r
187 <artifactId>powermock-api-mockito</artifactId>
\r
188 <version>1.6.4</version>
\r
189 <scope>test</scope>
\r
192 <groupId>org.junit</groupId>
\r
193 <artifactId>com.springsource.org.junit</artifactId>
\r
194 <version>4.4.0</version>
\r
197 <groupId>mysql</groupId>
\r
198 <artifactId>mysql-connector-java</artifactId>
\r
199 <version>5.1.21</version>
\r
202 <groupId>org.eclipse.jetty.cdi</groupId>
\r
203 <artifactId>cdi-websocket</artifactId>
\r
204 <version>9.3.11.v20160721</version>
\r
208 <groupId>log4j</groupId>
\r
209 <artifactId>log4j</artifactId>
\r
210 <version>1.2.17</version>
\r
211 <scope>compile</scope>
\r
216 <finalName>datarouter-prov</finalName>
\r
219 <directory>src/main/resources</directory>
\r
220 <filtering>true</filtering>
\r
222 <include>**/*.properties</include>
\r
226 <directory>src/main/resources</directory>
\r
227 <filtering>true</filtering>
\r
229 <include>**/proserver.properties</include>
\r
233 <directory>src/main/resources</directory>
\r
234 <filtering>true</filtering>
\r
236 <include>**/EelfMessages.properties</include>
\r
240 <directory>src/main/resources</directory>
\r
241 <filtering>true</filtering>
\r
243 <include>**/log4j.properties</include>
\r
246 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
\r
247 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
\r
248 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
\r
249 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
\r
254 <artifactId>maven-assembly-plugin</artifactId>
\r
255 <version>2.4</version>
\r
258 <descriptorRef>jar-with-dependencies</descriptorRef>
\r
260 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
\r
264 <addClasspath>true</addClasspath>
\r
265 <mainClass>com.att.research.datarouter.provisioning.Main</mainClass>
\r
273 <id>make-assembly</id> <!-- this is used for inheritance merges -->
\r
274 <phase>package</phase> <!-- bind to the packaging phase -->
\r
276 <goal>single</goal>
\r
283 <groupId>org.apache.maven.plugins</groupId>
\r
284 <artifactId>maven-compiler-plugin</artifactId>
\r
288 <addClasspath>true</addClasspath>
\r
289 <mainClass>com.att.research.datarouter.provisioning.Main</mainClass>
\r
290 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
\r
294 <source>1.8</source>
\r
295 <target>1.8</target>
\r
297 <version>3.6.0</version>
\r
300 <groupId>org.apache.maven.plugins</groupId>
\r
301 <artifactId>maven-resources-plugin</artifactId>
\r
302 <version>2.7</version>
\r
305 <id>copy-docker-file</id>
\r
306 <phase>package</phase>
\r
308 <goal>copy-resources</goal>
\r
311 <outputDirectory>${dockerLocation}</outputDirectory>
\r
312 <overwrite>true</overwrite>
\r
315 <directory>${basedir}/src/main/resources/docker</directory>
\r
316 <filtering>true</filtering>
\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-prov</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
345 <groupId>com.blackducksoftware.integration</groupId>
\r
346 <artifactId>hub-maven-plugin</artifactId>
\r
347 <version>1.0.4</version>
\r
348 <inherited>false</inherited>
\r
350 <target>${project.basedir}</target>
\r
354 <id>create-bdio-file</id>
\r
355 <phase>package</phase>
\r
357 <goal>createHubOutput</goal>
\r
364 <artifactId>maven-resources-plugin</artifactId>
\r
365 <version>2.7</version>
\r
368 <id>copy-resources-1</id>
\r
369 <phase>validate</phase>
\r
371 <goal>copy-resources</goal>
\r
374 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
\r
377 <directory>${project.basedir}/src/main/resources</directory>
\r
379 <include>**/*.jar</include>
\r
386 <id>copy-resources-2</id>
\r
387 <phase>validate</phase>
\r
389 <goal>copy-resources</goal>
\r
392 <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
\r
395 <directory>${basedir}/src/main/resources</directory>
\r
397 <include>misc/**</include>
\r
398 <include>**/**</include>
\r
405 <id>copy-resources-3</id>
\r
406 <phase>validate</phase>
\r
408 <goal>copy-resources</goal>
\r
411 <outputDirectory>${basedir}/target/opt/app/datartr</outputDirectory>
\r
414 <directory>${basedir}/data</directory>
\r
416 <include>misc/**</include>
\r
417 <include>**/**</include>
\r
424 <id>copy-resources-4</id>
\r
425 <phase>validate</phase>
\r
427 <goal>copy-resources</goal>
\r
430 <outputDirectory>${basedir}/target/opt/app/datartr/self_signed</outputDirectory>
\r
433 <directory>${basedir}/self_signed</directory>
\r
435 <include>misc/**</include>
\r
436 <include>**/**</include>
\r
447 <groupId>org.apache.maven.plugins</groupId>
\r
448 <artifactId>maven-dependency-plugin</artifactId>
\r
449 <version>2.10</version>
\r
452 <id>copy-dependencies</id>
\r
453 <phase>package</phase>
\r
455 <goal>copy-dependencies</goal>
\r
458 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
\r
459 <overWriteReleases>false</overWriteReleases>
\r
460 <overWriteSnapshots>false</overWriteSnapshots>
\r
461 <overWriteIfNewer>true</overWriteIfNewer>
\r
468 <groupId>org.apache.maven.plugins</groupId>
\r
469 <artifactId>maven-javadoc-plugin</artifactId>
\r
471 <failOnError>false</failOnError>
\r
475 <id>attach-javadocs</id>
\r
485 <groupId>org.apache.maven.plugins</groupId>
\r
486 <artifactId>maven-source-plugin</artifactId>
\r
487 <version>2.2.1</version>
\r
490 <id>attach-sources</id>
\r
492 <goal>jar-no-fork</goal>
\r
500 <groupId>org.apache.maven.plugins</groupId>
\r
501 <artifactId>maven-gpg-plugin</artifactId>
\r
502 <version>1.5</version>
\r
505 <id>sign-artifacts</id>
\r
506 <phase>verify</phase>
\r
515 <groupId>org.sonatype.plugins</groupId>
\r
516 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
517 <version>1.6.7</version>
\r
518 <extensions>true</extensions>
\r
520 <serverId>ossrhdme</serverId>
\r
521 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
\r
522 <autoReleaseAfterClose>true</autoReleaseAfterClose>
\r
527 <groupId>org.codehaus.mojo</groupId>
\r
528 <artifactId>cobertura-maven-plugin</artifactId>
\r
529 <version>2.7</version>
\r
532 <format>html</format>
\r
533 <format>xml</format>
\r
541 <distributionManagement>
\r
542 <snapshotRepository>
\r
544 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
\r
545 </snapshotRepository>
\r
548 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
\r
550 </distributionManagement>
\r
553 <connection>https://github.com/att/DMAAP_DATAROUTER.git</connection>
\r
554 <developerConnection>${project.scm.connection}</developerConnection>
\r
555 <url>https://github.com/att/DMAAP_DATAROUTER/tree/master</url>
\r