2 ============LICENSE_START=======================================================
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 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ============LICENSE_END=========================================================
19 ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 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.messagerouter.dmaapclient</groupId>
26 <artifactId>dmaapClient</artifactId>
27 <packaging>jar</packaging>
28 <version>1.0.0-SNAPSHOT</version>
29 <name>dmaap-messagerouter-dmaapclient</name>
30 <description>Client library for MR event routing API</description>
31 <url>https://github.com/att/dmaap-framework</url>
34 <groupId>org.onap.oparent</groupId>
35 <artifactId>oparent</artifactId>
36 <version>0.1.1</version>
39 <!-- for the client library, we want to allow 1.6 or later -->
40 <maven.compiler.target>1.7</maven.compiler.target>
41 <maven.compiler.source>1.7</maven.compiler.source>
42 <jersey.version>2.22.1</jersey.version>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <jacoco.version>0.7.7.201606060606</jacoco.version>
47 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
48 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
49 <!-- Default Sonar configuration -->
50 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
51 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
52 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
53 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54 <sitePath>/content/sites/site/org/onap/dmaap/${project.artifactId}/${project.version}</sitePath>
57 <distributionManagement>
60 <url>dav:${nexusproxy}${sitePath}</url>
62 </distributionManagement>
66 <name>Apache License Version 2.0</name>
72 <name>Rajashree</name>
74 <organization>ATT</organization>
75 <organizationUrl>www.att.com</organizationUrl>
80 <organization>ATT</organization>
81 <organizationUrl>www.att.com</organizationUrl>
87 <groupId>com.att.nsa</groupId>
88 <artifactId>saClientLibrary</artifactId>
89 <version>0.0.1</version>
93 <groupId>org.json</groupId>
94 <artifactId>json</artifactId>
95 <version>20131018</version>
99 <groupId>com.att.aft</groupId>
100 <artifactId>dme2</artifactId>
101 <version>3.1.200</version>
104 <groupId>com.sun.jersey</groupId>
105 <artifactId>jersey-json</artifactId>
108 <groupId>com.sun.jersey</groupId>
109 <artifactId>jersey-client</artifactId>
113 <!-- Begin - Dependency on log4j for logging purpose -->
115 <groupId>log4j</groupId>
116 <artifactId>log4j</artifactId>
117 <version>1.2.17</version>
119 <!-- Log4j's enhanced pattern layout is shipped separately -->
121 <groupId>log4j</groupId>
122 <artifactId>apache-log4j-extras</artifactId>
123 <version>1.2.17</version>
125 <!-- End - Dependency on log4j for logging purpose -->
128 <groupId>javax.ws.rs</groupId>
129 <artifactId>javax.ws.rs-api</artifactId>
130 <version>2.0.1</version>
134 <groupId>org.glassfish.jersey.core</groupId>
135 <artifactId>jersey-common</artifactId>
136 <version>${jersey.version}</version>
140 <groupId>org.glassfish.jersey.core</groupId>
141 <artifactId>jersey-client</artifactId>
142 <version>${jersey.version}</version>
146 <groupId>org.glassfish.jersey.media</groupId>
147 <artifactId>jersey-media-json-jackson</artifactId>
148 <version>${jersey.version}</version>
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.11</version>
161 <directory>src/main/resources</directory>
162 <filtering>true</filtering>
164 <include>**/MRClientVersion.properties</include>
168 <directory>src/main/resources</directory>
169 <filtering>false</filtering>
171 <exclude>**/MRClientVersion.properties</exclude>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-site-plugin</artifactId>
179 <version>3.6</version>
182 <groupId>org.apache.maven.wagon</groupId>
183 <artifactId>wagon-webdav-jackrabbit</artifactId>
184 <version>2.10</version>
189 <artifactId>maven-assembly-plugin</artifactId>
190 <version>2.4</version>
193 <descriptorRef>jar-with-dependencies</descriptorRef>
199 <id>make-assembly</id> <!-- this is used for inheritance merges -->
200 <phase>package</phase> <!-- bind to the packaging phase -->
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-javadoc-plugin</artifactId>
212 <version>2.10.4</version>
214 <additionalparam>-Xdoclint:none</additionalparam>
218 <id>attach-javadocs</id>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-source-plugin</artifactId>
228 <version>3.0.0</version>
231 <id>attach-sources</id>
233 <goal>jar-no-fork</goal>
239 <artifactId>maven-compiler-plugin</artifactId>
240 <version>3.1</version>
247 <groupId>org.jacoco</groupId>
248 <artifactId>jacoco-maven-plugin</artifactId>
249 <version>${jacoco.version}</version>
251 <!-- Note: This exclusion list should match <sonar.exclusions>
254 <exclude>**/gen/**</exclude>
255 <exclude>**/generated-sources/**</exclude>
256 <exclude>**/yang-gen/**</exclude>
257 <exclude>**/pax/**</exclude>
262 Prepares the property pointing to the JaCoCo runtime agent which
263 is passed as VM argument when Maven the Surefire plugin is executed.
266 <id>pre-unit-test</id>
268 <goal>prepare-agent</goal>
271 <!-- Sets the path to the file which contains the execution data. -->
272 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
274 Sets the name of the property containing the settings
275 for JaCoCo runtime agent.
277 <propertyName>surefireArgLine</propertyName>
281 Ensures that the code coverage report for unit tests is created after
282 unit tests have been run.
285 <id>post-unit-test</id>
291 <!-- Sets the path to the file which contains the execution data. -->
292 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
293 <!-- Sets the output directory for the code coverage report. -->
294 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
298 <id>pre-integration-test</id>
299 <phase>pre-integration-test</phase>
301 <goal>prepare-agent</goal>
304 <!-- Sets the path to the file which contains the execution data. -->
305 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
307 Sets the name of the property containing the settings
308 for JaCoCo runtime agent.
310 <propertyName>failsafeArgLine</propertyName>
314 Ensures that the code coverage report for integration tests after
315 integration tests have been run.
318 <id>post-integration-test</id>
319 <phase>post-integration-test</phase>
324 <!-- Sets the path to the file which contains the execution data. -->
325 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
326 <!-- Sets the output directory for the code coverage report. -->
327 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
336 <!-- Add plugins here that should only be executed on the Jenkins server -->
341 <name>env.BUILD_NUMBER</name>
347 <groupId>org.codehaus.mojo</groupId>
348 <artifactId>cobertura-maven-plugin</artifactId>