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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
\r
25 <groupId>org.onap.aaf.cadi</groupId>
\r
26 <artifactId>parent</artifactId>
\r
27 <version>1.0.0-SNAPSHOT</version>
\r
28 <relativePath>..</relativePath>
\r
31 <name>CADI Client</name>
\r
32 <artifactId>cadi-client</artifactId>
\r
33 <packaging>jar</packaging>
\r
34 <url>https://github.com/att/AAF</url>
\r
35 <description>CADI</description>
\r
36 <modelVersion>4.0.0</modelVersion>
\r
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
39 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
\r
40 <sonar.language>java</sonar.language>
\r
41 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
42 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
43 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
44 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
45 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
\r
46 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
47 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
48 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
49 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
50 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
51 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
\r
55 <groupId>org.onap.aaf.inno</groupId>
\r
56 <artifactId>rosetta</artifactId>
\r
59 <groupId>org.onap.aaf.cadi</groupId>
\r
60 <artifactId>cadi-core</artifactId>
\r
63 <groupId>com.att.aft</groupId>
\r
64 <artifactId>dme2</artifactId>
\r
65 <scope>compile</scope>
\r
73 <groupId>org.apache.maven.plugins</groupId>
\r
74 <artifactId>maven-jarsigner-plugin</artifactId>
\r
77 <groupId>org.apache.maven.plugins</groupId>
\r
78 <artifactId>maven-javadoc-plugin</artifactId>
\r
79 <version>2.10.4</version>
\r
81 <failOnError>false</failOnError>
\r
85 <id>attach-javadocs</id>
\r
95 <groupId>org.apache.maven.plugins</groupId>
\r
96 <artifactId>maven-source-plugin</artifactId>
\r
97 <version>2.2.1</version>
\r
100 <id>attach-sources</id>
\r
102 <goal>jar-no-fork</goal>
\r
109 <groupId>org.sonatype.plugins</groupId>
\r
110 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
111 <version>1.6.7</version>
\r
112 <extensions>true</extensions>
\r
114 <nexusUrl>${nexusproxy}</nexusUrl>
\r
115 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
116 <serverId>ecomp-staging</serverId>
\r
121 <groupId>org.jacoco</groupId>
\r
122 <artifactId>jacoco-maven-plugin</artifactId>
\r
123 <version>${jacoco.version}</version>
\r
125 <!-- Note: This exclusion list should match <sonar.exclusions>
\r
128 <exclude>**/gen/**</exclude>
\r
129 <exclude>**/generated-sources/**</exclude>
\r
130 <exclude>**/yang-gen/**</exclude>
\r
131 <exclude>**/pax/**</exclude>
\r
136 Prepares the property pointing to the JaCoCo runtime agent which
\r
137 is passed as VM argument when Maven the Surefire plugin is executed.
\r
140 <id>pre-unit-test</id>
\r
142 <goal>prepare-agent</goal>
\r
145 <!-- Sets the path to the file which contains the execution data. -->
\r
146 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
148 Sets the name of the property containing the settings
\r
149 for JaCoCo runtime agent.
\r
151 <propertyName>surefireArgLine</propertyName>
\r
155 Ensures that the code coverage report for unit tests is created after
\r
156 unit tests have been run.
\r
159 <id>post-unit-test</id>
\r
160 <phase>test</phase>
\r
162 <goal>report</goal>
\r
165 <!-- Sets the path to the file which contains the execution data. -->
\r
166 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
167 <!-- Sets the output directory for the code coverage report. -->
\r
168 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
172 <id>pre-integration-test</id>
\r
173 <phase>pre-integration-test</phase>
\r
175 <goal>prepare-agent</goal>
\r
178 <!-- Sets the path to the file which contains the execution data. -->
\r
179 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
181 Sets the name of the property containing the settings
\r
182 for JaCoCo runtime agent.
\r
184 <propertyName>failsafeArgLine</propertyName>
\r
188 Ensures that the code coverage report for integration tests after
\r
189 integration tests have been run.
\r
192 <id>post-integration-test</id>
\r
193 <phase>post-integration-test</phase>
\r
195 <goal>report</goal>
\r
198 <!-- Sets the path to the file which contains the execution data. -->
\r
199 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
200 <!-- Sets the output directory for the code coverage report. -->
\r
201 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
209 <distributionManagement>
\r
211 <id>ecomp-releases</id>
\r
212 <name>AAF Release Repository</name>
\r
213 <url>${nexusproxy}${releaseNexusPath}</url>
\r
215 <snapshotRepository>
\r
216 <id>ecomp-snapshots</id>
\r
217 <name>AAF Snapshot Repository</name>
\r
218 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
219 </snapshotRepository>
\r
221 <id>ecomp-site</id>
\r
222 <url>dav:${nexusproxy}${sitePath}</url>
\r
224 </distributionManagement>
\r