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 <relativePath>..</relativePath>
\r
28 <version>1.0.0-SNAPSHOT</version>
\r
31 <modelVersion>4.0.0</modelVersion>
\r
32 <name>CADI Core Framework (Code, Access, Data, Identity)</name>
\r
33 <artifactId>cadi-core</artifactId>
\r
34 <packaging>jar</packaging>
\r
35 <url>https://github.com/att/AAF</url>
\r
36 <description>CADI</description>
\r
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
39 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
\r
41 <jacoco.version>0.7.7.201606060606</jacoco.version>
\r
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
\r
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
\r
44 <!-- Default Sonar configuration -->
\r
45 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
\r
46 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
47 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
\r
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
\r
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
50 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
51 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
52 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
53 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
\r
57 <groupId>org.mockito</groupId>
\r
58 <artifactId>mockito-all</artifactId>
\r
59 <version>1.9.5</version>
\r
63 <groupId>javax.servlet</groupId>
\r
64 <artifactId>servlet-api</artifactId>
\r
65 <scope>provided</scope>
\r
69 <groupId>org.slf4j</groupId>
\r
70 <artifactId>slf4j-api</artifactId>
\r
71 <scope>provided</scope>
\r
78 <!-- Must put this in to turn on Signing, but Configuration itself is
\r
80 <groupId>org.apache.maven.plugins</groupId>
\r
81 <artifactId>maven-jarsigner-plugin</artifactId>
\r
84 <groupId>org.apache.maven.plugins</groupId>
\r
85 <artifactId>maven-jar-plugin</artifactId>
\r
89 <mainClass>com.att.cadi.CmdLine</mainClass>
\r
92 <Sealed>true</Sealed>
\r
99 <phase>package</phase>
\r
101 <goal>test-jar</goal>
\r
108 <groupId>org.apache.maven.plugins</groupId>
\r
109 <artifactId>maven-javadoc-plugin</artifactId>
\r
110 <version>2.10.4</version>
\r
112 <failOnError>false</failOnError>
\r
116 <id>attach-javadocs</id>
\r
126 <groupId>org.apache.maven.plugins</groupId>
\r
127 <artifactId>maven-source-plugin</artifactId>
\r
128 <version>2.2.1</version>
\r
131 <id>attach-sources</id>
\r
133 <goal>jar-no-fork</goal>
\r
139 <groupId>org.sonatype.plugins</groupId>
\r
140 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
141 <version>1.6.7</version>
\r
142 <extensions>true</extensions>
\r
144 <nexusUrl>${nexusproxy}</nexusUrl>
\r
145 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
146 <serverId>ecomp-staging</serverId>
\r
151 <groupId>org.jacoco</groupId>
\r
152 <artifactId>jacoco-maven-plugin</artifactId>
\r
153 <version>${jacoco.version}</version>
\r
156 <exclude>**/gen/**</exclude>
\r
157 <exclude>**/generated-sources/**</exclude>
\r
158 <exclude>**/yang-gen/**</exclude>
\r
159 <exclude>**/pax/**</exclude>
\r
165 <id>pre-unit-test</id>
\r
167 <goal>prepare-agent</goal>
\r
170 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
171 <propertyName>surefireArgLine</propertyName>
\r
177 <id>post-unit-test</id>
\r
178 <phase>test</phase>
\r
180 <goal>report</goal>
\r
183 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
184 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
188 <id>pre-integration-test</id>
\r
189 <phase>pre-integration-test</phase>
\r
191 <goal>prepare-agent</goal>
\r
194 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
196 <propertyName>failsafeArgLine</propertyName>
\r
202 <id>post-integration-test</id>
\r
203 <phase>post-integration-test</phase>
\r
205 <goal>report</goal>
\r
208 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
209 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
218 <distributionManagement>
\r
220 <id>ecomp-releases</id>
\r
221 <name>AAF Release Repository</name>
\r
222 <url>${nexusproxy}${releaseNexusPath}</url>
\r
224 <snapshotRepository>
\r
225 <id>ecomp-snapshots</id>
\r
226 <name>AAF Snapshot Repository</name>
\r
227 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
228 </snapshotRepository>
\r
230 <id>ecomp-site</id>
\r
231 <url>dav:${nexusproxy}${sitePath}</url>
\r
233 </distributionManagement>
\r