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 <modelVersion>4.0.0</modelVersion>
\r
32 <name>CADI Cassandra Plugin</name>
\r
33 <packaging>jar</packaging>
\r
34 <url>https://github.com/att/AAF</url>
\r
35 <description>CADI</description>
\r
36 <artifactId>cadi-cass</artifactId>
\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>org.onap.aaf.cadi</groupId>
\r
64 <artifactId>cadi-aaf</artifactId>
\r
68 <groupId>org.apache.cassandra</groupId>
\r
69 <artifactId>cassandra-all</artifactId>
\r
70 <version>2.1.14</version>
\r
71 <scope>compile</scope>
\r
74 <groupId>org.slf4j</groupId>
\r
75 <artifactId>slf4j-log4j12</artifactId>
\r
78 <groupId>log4j</groupId>
\r
79 <artifactId>log4j</artifactId>
\r
88 <groupId>org.apache.maven.plugins</groupId>
\r
89 <artifactId>maven-jarsigner-plugin</artifactId>
\r
93 <groupId>org.apache.maven.plugins</groupId>
\r
94 <artifactId>maven-javadoc-plugin</artifactId>
\r
95 <version>2.10.4</version>
\r
97 <failOnError>false</failOnError>
\r
101 <id>attach-javadocs</id>
\r
111 <groupId>org.apache.maven.plugins</groupId>
\r
112 <artifactId>maven-source-plugin</artifactId>
\r
113 <version>2.2.1</version>
\r
116 <id>attach-sources</id>
\r
118 <goal>jar-no-fork</goal>
\r
124 <groupId>org.sonatype.plugins</groupId>
\r
125 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
126 <version>1.6.7</version>
\r
127 <extensions>true</extensions>
\r
129 <nexusUrl>${nexusproxy}</nexusUrl>
\r
130 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
131 <serverId>ecomp-staging</serverId>
\r
136 <groupId>org.jacoco</groupId>
\r
137 <artifactId>jacoco-maven-plugin</artifactId>
\r
138 <version>${jacoco.version}</version>
\r
141 <exclude>**/gen/**</exclude>
\r
142 <exclude>**/generated-sources/**</exclude>
\r
143 <exclude>**/yang-gen/**</exclude>
\r
144 <exclude>**/pax/**</exclude>
\r
150 <id>pre-unit-test</id>
\r
152 <goal>prepare-agent</goal>
\r
155 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
156 <propertyName>surefireArgLine</propertyName>
\r
162 <id>post-unit-test</id>
\r
163 <phase>test</phase>
\r
165 <goal>report</goal>
\r
168 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
169 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
173 <id>pre-integration-test</id>
\r
174 <phase>pre-integration-test</phase>
\r
176 <goal>prepare-agent</goal>
\r
179 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
181 <propertyName>failsafeArgLine</propertyName>
\r
187 <id>post-integration-test</id>
\r
188 <phase>post-integration-test</phase>
\r
190 <goal>report</goal>
\r
193 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
194 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
203 <distributionManagement>
\r
205 <id>ecomp-releases</id>
\r
206 <name>AAF Release Repository</name>
\r
207 <url>${nexusproxy}${releaseNexusPath}</url>
\r
209 <snapshotRepository>
\r
210 <id>ecomp-snapshots</id>
\r
211 <name>AAF Snapshot Repository</name>
\r
212 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
213 </snapshotRepository>
\r
215 <id>ecomp-site</id>
\r
216 <url>dav:${nexusproxy}${sitePath}</url>
\r
218 </distributionManagement>
\r