Pull in all pom changes, merge, and review
[aaf/authz.git] / cadi / cass / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
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/xsd/maven-4.0.0.xsd">
24         <parent>
25                 <groupId>org.onap.aaf.authz.cadi</groupId>
26                 <artifactId>parent</artifactId>
27                 <version>2.1.0-SNAPSHOT</version>
28                 <relativePath>..</relativePath>
29         </parent>
30
31         <modelVersion>4.0.0</modelVersion>
32         <artifactId>aaf-cadi-cass</artifactId>
33         <name>AAF CADI Cassandra Library</name>
34         <packaging>jar</packaging>
35
36         <properties>
37         <!--  SONAR  -->
38         <sonar.skip>true</sonar.skip>
39                  <jacoco.version>0.7.7.201606060606</jacoco.version>
40             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42             <!-- Default Sonar configuration -->
43             <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
44             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
45             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
46             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47                 <nexusproxy>https://nexus.onap.org</nexusproxy>
48                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
51                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
52         </properties>
53         
54         <developers>
55                 <developer>
56                         <name>Jonathan Gathman</name>
57                         <email>jonathan.gathman@att.com</email>
58                         <organization>ATT</organization>
59                         <roles>
60                                 <role>Architect</role>
61                                 <role>Lead Developer</role>
62                         </roles>
63                 </developer>
64                 <developer>
65                         <name>Gabe Maurer</name>
66                         <email>gabe.maurer@att.com</email>
67                         <organization>ATT</organization>
68                         <roles>
69                                 <role>Developer</role>
70                         </roles>
71                 </developer>
72                 <developer>
73                         <name>Ian Howell</name>
74                         <email>ian.howell@att.com</email>
75                         <organization>ATT</organization>
76                         <roles>
77                                 <role>Developer</role>
78                         </roles>
79                 </developer>
80                 <developer>
81                         <name>Sai Gandham</name>
82                         <email>sai.gandham@att.com</email>
83                         <organization>ATT</organization>
84                         <roles>
85                                 <role>Developer</role>
86                         </roles>
87                 </developer>
88         </developers>
89
90         <dependencies>
91                 <dependency>
92                         <groupId>org.onap.aaf.authz.cadi</groupId>
93                         <artifactId>aaf-cadi-core</artifactId>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>org.onap.aaf.authz.cadi</groupId>
98                         <artifactId>aaf-cadi-aaf</artifactId>
99                 </dependency>
100
101                 <dependency>
102                         <groupId>org.apache.cassandra</groupId>
103                         <artifactId>cassandra-all</artifactId>
104                         <version>2.1.14</version>
105                         <scope>compile</scope>
106                         <exclusions>
107                                 <exclusion>
108                                         <groupId>org.slf4j</groupId>
109                                         <artifactId>slf4j-log4j12</artifactId>
110                                 </exclusion>
111                                 <exclusion>
112                                         <groupId>log4j</groupId>
113                                         <artifactId>log4j</artifactId>
114                                 </exclusion>
115                         </exclusions>
116                 </dependency>
117
118         </dependencies>
119         <build>
120                 <plugins>
121                                                 <plugin>
122                                 <groupId>org.sonatype.plugins</groupId>
123                                 <artifactId>nexus-staging-maven-plugin</artifactId>
124                                 <version>1.6.7</version>
125                                 <extensions>true</extensions>
126                                 <configuration>
127                                         <nexusUrl>${nexusproxy}</nexusUrl>
128                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
129                                         <serverId>ecomp-staging</serverId>
130                                 </configuration>
131                         </plugin>               
132                         <plugin>
133                                 <groupId>org.jacoco</groupId>
134                                 <artifactId>jacoco-maven-plugin</artifactId>
135                                 <version>${jacoco.version}</version>
136                                 <configuration>
137                                         <excludes>
138                                                 <exclude>**/gen/**</exclude>
139                                                 <exclude>**/generated-sources/**</exclude>
140                                                 <exclude>**/yang-gen/**</exclude>
141                                                 <exclude>**/pax/**</exclude>
142                                         </excludes>
143                                 </configuration>
144                                 <executions>
145                                         <execution>
146                                                 <id>pre-unit-test</id>
147                                                 <goals>
148                                                         <goal>prepare-agent</goal>
149                                                 </goals>
150                                                 <configuration>
151                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
152                                                         <propertyName>surefireArgLine</propertyName>
153                                                 </configuration>
154                                         </execution>
155                                         <execution>
156                                                 <id>post-unit-test</id>
157                                                 <phase>test</phase>
158                                                 <goals>
159                                                         <goal>report</goal>
160                                                 </goals>
161                                                 <configuration>
162                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
163                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
164                                                 </configuration>
165                                         </execution>
166                                         <execution>
167                                                 <id>pre-integration-test</id>
168                                                 <phase>pre-integration-test</phase>
169                                                 <goals>
170                                                         <goal>prepare-agent</goal>
171                                                 </goals>
172                                                 <configuration>
173                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
174                                                         <propertyName>failsafeArgLine</propertyName>
175                                                 </configuration>
176                                         </execution>
177                                         <execution>
178                                                 <id>post-integration-test</id>
179                                                 <phase>post-integration-test</phase>
180                                                 <goals>
181                                                         <goal>report</goal>
182                                                 </goals>
183                                                 <configuration>
184                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
185                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
186                                                 </configuration>
187                                         </execution>
188                                 </executions>
189                         </plugin>
190                 </plugins>
191                 
192         </build>
193         
194         <distributionManagement>
195                 <repository>
196                         <id>ecomp-releases</id>
197                         <name>AAF Release Repository</name>
198                         <url>${nexusproxy}${releaseNexusPath}</url>
199                 </repository>
200                 <snapshotRepository>
201                         <id>ecomp-snapshots</id>
202                         <name>AAF Snapshot Repository</name>
203                         <url>${nexusproxy}${snapshotNexusPath}</url>
204                 </snapshotRepository>
205                 <site>
206                         <id>ecomp-site</id>
207                         <url>dav:${nexusproxy}${sitePath}</url>
208                 </site>
209         </distributionManagement>
210 </project>