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
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>true</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
56 <groupId>javax.servlet</groupId>
\r
57 <artifactId>servlet-api</artifactId>
\r
58 <scope>provided</scope>
\r
62 <groupId>org.slf4j</groupId>
\r
63 <artifactId>slf4j-api</artifactId>
\r
64 <scope>provided</scope>
\r
71 <!-- Must put this in to turn on Signing, but Configuration itself is
\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-jar-plugin</artifactId>
\r
82 <mainClass>com.att.cadi.CmdLine</mainClass>
\r
85 <Sealed>true</Sealed>
\r
92 <phase>package</phase>
\r
94 <goal>test-jar</goal>
\r
101 <groupId>org.apache.maven.plugins</groupId>
\r
102 <artifactId>maven-javadoc-plugin</artifactId>
\r
103 <version>2.10.4</version>
\r
105 <failOnError>false</failOnError>
\r
109 <id>attach-javadocs</id>
\r
119 <groupId>org.apache.maven.plugins</groupId>
\r
120 <artifactId>maven-source-plugin</artifactId>
\r
121 <version>2.2.1</version>
\r
124 <id>attach-sources</id>
\r
126 <goal>jar-no-fork</goal>
\r
132 <groupId>org.sonatype.plugins</groupId>
\r
133 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
134 <version>1.6.7</version>
\r
135 <extensions>true</extensions>
\r
137 <nexusUrl>${nexusproxy}</nexusUrl>
\r
138 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
139 <serverId>ecomp-staging</serverId>
\r
144 <groupId>org.jacoco</groupId>
\r
145 <artifactId>jacoco-maven-plugin</artifactId>
\r
146 <version>0.7.7.201606060606</version>
\r
148 <dumpOnExit>true</dumpOnExit>
\r
152 <id>pre-unit-test</id>
\r
154 <goal>prepare-agent</goal>
\r
157 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
\r
158 <!-- <append>true</append> -->
\r
162 <id>pre-integration-test</id>
\r
163 <phase>pre-integration-test</phase>
\r
165 <goal>prepare-agent</goal>
\r
168 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
\r
169 <!-- <append>true</append> -->
\r
176 <phase>post-integration-test</phase>
\r
179 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
\r
180 <directory>${project.build.directory}/coverage-reports</directory>
\r
182 <include>*.exec</include>
\r
186 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
\r
193 <distributionManagement>
\r
195 <id>ecomp-releases</id>
\r
196 <name>AAF Release Repository</name>
\r
197 <url>${nexusproxy}${releaseNexusPath}</url>
\r
199 <snapshotRepository>
\r
200 <id>ecomp-snapshots</id>
\r
201 <name>AAF Snapshot Repository</name>
\r
202 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
203 </snapshotRepository>
\r
205 <id>ecomp-site</id>
\r
206 <url>dav:${nexusproxy}${sitePath}</url>
\r
208 </distributionManagement>
\r