Merge "remove the policy and security issue dependencies"
[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.1-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.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
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.4.11.v20180605</jetty.version>
49         <jetty.websocket.version>8.2.0.v20160908</jetty.websocket.version>
50         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
53         <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath>
54         <docker.maven.plugin.version>1.0.0</docker.maven.plugin.version>
55         <skip.docker.build>true</skip.docker.build>
56         <skip.docker.tag>true</skip.docker.tag>
57         <skip.docker.push>true</skip.docker.push>
58     </properties>
59     <modules>
60         <module>datarouter-prov</module>
61         <module>datarouter-node</module>
62     </modules>
63     <build>
64         <plugins>
65             <plugin>
66                 <groupId>com.spotify</groupId>
67                 <artifactId>docker-maven-plugin</artifactId>
68                 <version>${docker.maven.plugin.version}</version>
69                 <configuration>
70                     <skipDockerBuild>true</skipDockerBuild>
71                 </configuration>
72             </plugin>
73             <plugin>
74                 <groupId>org.sonatype.plugins</groupId>
75                 <artifactId>nexus-staging-maven-plugin</artifactId>
76                 <version>1.6.7</version>
77                 <extensions>true</extensions>
78                 <configuration>
79                     <nexusUrl>${onap.nexus.url}</nexusUrl>
80                     <stagingProfileId>176c31dfe190a</stagingProfileId>
81                     <serverId>ecomp-staging</serverId>
82                 </configuration>
83             </plugin>
84             <plugin>
85                 <groupId>org.jacoco</groupId>
86                 <artifactId>jacoco-maven-plugin</artifactId>
87                 <version>${jacoco.version}</version>
88                 <configuration>
89                     <excludes>
90                         <exclude>**/gen/**</exclude>
91                         <exclude>**/generated-sources/**</exclude>
92                         <exclude>**/yang-gen/**</exclude>
93                         <exclude>**/pax/**</exclude>
94                     </excludes>
95                 </configuration>
96                 <executions>
97                     <execution>
98                         <id>pre-unit-test</id>
99                         <goals>
100                             <goal>prepare-agent</goal>
101                         </goals>
102                         <configuration>
103                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
104                             <propertyName>surefireArgLine</propertyName>
105                         </configuration>
106                     </execution>
107                     <execution>
108                         <id>post-unit-test</id>
109                         <phase>test</phase>
110                         <goals>
111                             <goal>report</goal>
112                         </goals>
113                         <configuration>
114                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
115                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
116                         </configuration>
117                     </execution>
118                     <execution>
119                         <id>pre-integration-test</id>
120                         <phase>pre-integration-test</phase>
121                         <goals>
122                             <goal>prepare-agent</goal>
123                         </goals>
124                         <configuration>
125                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
126                             <propertyName>failsafeArgLine</propertyName>
127                         </configuration>
128                     </execution>
129                     <execution>
130                         <id>post-integration-test</id>
131                         <phase>post-integration-test</phase>
132                         <goals>
133                             <goal>report</goal>
134                         </goals>
135                         <configuration>
136                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
137                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
138                         </configuration>
139                     </execution>
140                 </executions>
141             </plugin>
142         </plugins>
143     </build>
144     <distributionManagement>
145         <repository>
146             <id>ecomp-releases</id>
147             <name>DR Release Repository</name>
148             <url>${onap.nexus.url}${releaseNexusPath}</url>
149         </repository>
150         <snapshotRepository>
151             <id>ecomp-snapshots</id>
152             <name>DR Snapshot Repository</name>
153             <url>${onap.nexus.url}${snapshotNexusPath}</url>
154         </snapshotRepository>
155         <site>
156             <id>ecomp-site</id>
157             <url>dav:${onap.nexus.url}${sitePath}</url>
158         </site>
159     </distributionManagement>
160     <pluginRepositories>
161         <pluginRepository>
162             <id>onap-plugin-snapshots</id>
163             <url>${onap.nexus.url}${snapshotNexusPath}</url>
164         </pluginRepository>
165     </pluginRepositories>
166 </project>