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