BUG fix for DB connection
[dmaap/datarouter.git] / pom.xml
1 <!--
2   ============LICENSE_START==================================================
3   * org.onap.dmaap
4   * ===========================================================================
5   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6   * ===========================================================================
7   * Licensed under the Apache License, Version 2.0 (the "License");
8   * you may not use this file except in compliance with the License.
9   * You may obtain a copy of the License at
10   *
11    *      http://www.apache.org/licenses/LICENSE-2.0
12   *
13    * Unless required by applicable law or agreed to in writing, software
14   * distributed under the License is distributed on an "AS IS" BASIS,
15   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   * See the License for the specific language governing permissions and
17   * limitations under the License.
18   * ============LICENSE_END====================================================
19   *
20   * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21   *
22 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <groupId>org.onap.dmaap.datarouter</groupId>
26     <artifactId>parent</artifactId>
27     <name>dmaap-datarouter</name>
28     <version>1.0.2-SNAPSHOT</version>
29     <packaging>pom</packaging>
30     <url>https://github.com/att/DMAAP_DATAROUTER</url>
31     <parent>
32         <groupId>org.onap.oparent</groupId>
33         <artifactId>oparent</artifactId>
34         <version>1.1.0</version>
35     </parent>
36     <properties>
37         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38         <maven.compiler.source>1.8</maven.compiler.source>
39         <maven.compiler.target>1.8</maven.compiler.target>
40         <sonar.language>java</sonar.language>
41         <sonar.skip>false</sonar.skip>
42         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
43         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
44         <sonar.jacoco.reportPaths>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPaths>
45         <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
46         <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
47         <sonar.projectVersion>${project.version}</sonar.projectVersion>
48         <jetty.version>9.3.8.RC0</jetty.version>
49         <jetty.websocket.version>8.2.0.v20160908</jetty.websocket.version>
50         <javax.mail-api.version>1.5.5</javax.mail-api.version>
51         <dom4j.version>1.6</dom4j.version>
52         <xml-apis.version>1.4.01</xml-apis.version>
53         <thoughtworks.version>1.4.10</thoughtworks.version>
54         <google.guava.version>26.0-jre</google.guava.version>
55         <qos.logback.version>1.2.3</qos.logback.version>
56         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
57         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
58         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
59         <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath>
60         <docker.maven.plugin.version>1.0.0</docker.maven.plugin.version>
61         <skip.docker.build>true</skip.docker.build>
62         <skip.docker.tag>true</skip.docker.tag>
63         <skip.docker.push>true</skip.docker.push>
64         <commons-codec.version>1.10</commons-codec.version>
65     </properties>
66     <modules>
67         <module>datarouter-prov</module>
68         <module>datarouter-node</module>
69         <module>datarouter-subscriber</module>
70     </modules>
71     <build>
72         <plugins>
73             <plugin>
74                 <groupId>com.spotify</groupId>
75                 <artifactId>docker-maven-plugin</artifactId>
76                 <version>${docker.maven.plugin.version}</version>
77                 <configuration>
78                     <skipDockerBuild>true</skipDockerBuild>
79                 </configuration>
80             </plugin>
81             <plugin>
82                 <groupId>org.sonatype.plugins</groupId>
83                 <artifactId>nexus-staging-maven-plugin</artifactId>
84                 <version>1.6.7</version>
85                 <extensions>true</extensions>
86                 <configuration>
87                     <nexusUrl>${onap.nexus.url}</nexusUrl>
88                     <stagingProfileId>176c31dfe190a</stagingProfileId>
89                     <serverId>ecomp-staging</serverId>
90                 </configuration>
91             </plugin>
92             <plugin>
93                 <groupId>org.jacoco</groupId>
94                 <artifactId>jacoco-maven-plugin</artifactId>
95                 <version>${jacoco.version}</version>
96                 <configuration>
97                     <excludes>
98                         <exclude>**/gen/**</exclude>
99                         <exclude>**/generated-sources/**</exclude>
100                         <exclude>**/yang-gen/**</exclude>
101                         <exclude>**/pax/**</exclude>
102                     </excludes>
103                 </configuration>
104                 <executions>
105                     <execution>
106                         <id>pre-unit-test</id>
107                         <goals>
108                             <goal>prepare-agent</goal>
109                         </goals>
110                         <configuration>
111                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
112                             <propertyName>surefireArgLine</propertyName>
113                         </configuration>
114                     </execution>
115                     <execution>
116                         <id>post-unit-test</id>
117                         <phase>test</phase>
118                         <goals>
119                             <goal>report</goal>
120                         </goals>
121                         <configuration>
122                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
123                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
124                         </configuration>
125                     </execution>
126                     <execution>
127                         <id>pre-integration-test</id>
128                         <phase>pre-integration-test</phase>
129                         <goals>
130                             <goal>prepare-agent</goal>
131                         </goals>
132                         <configuration>
133                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
134                             <propertyName>failsafeArgLine</propertyName>
135                         </configuration>
136                     </execution>
137                     <execution>
138                         <id>post-integration-test</id>
139                         <phase>post-integration-test</phase>
140                         <goals>
141                             <goal>report</goal>
142                         </goals>
143                         <configuration>
144                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
145                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
146                         </configuration>
147                     </execution>
148                 </executions>
149             </plugin>
150         </plugins>
151     </build>
152     <distributionManagement>
153         <repository>
154             <id>ecomp-releases</id>
155             <name>DR Release Repository</name>
156             <url>${onap.nexus.url}${releaseNexusPath}</url>
157         </repository>
158         <snapshotRepository>
159             <id>ecomp-snapshots</id>
160             <name>DR Snapshot Repository</name>
161             <url>${onap.nexus.url}${snapshotNexusPath}</url>
162         </snapshotRepository>
163         <site>
164             <id>ecomp-site</id>
165             <url>dav:${onap.nexus.url}${sitePath}</url>
166         </site>
167     </distributionManagement>
168     <pluginRepositories>
169         <pluginRepository>
170             <id>onap-plugin-snapshots</id>
171             <url>${onap.nexus.url}${snapshotNexusPath}</url>
172         </pluginRepository>
173     </pluginRepositories>
174 </project>