Keep only clean TestCases, remove 2 license issues
[aaf/authz.git] / auth / auth-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         <modelVersion>4.0.0</modelVersion>
25         <parent>
26                 <groupId>org.onap.aaf.authz.auth</groupId>
27                 <artifactId>parent</artifactId>
28                 <version>2.1.0-SNAPSHOT</version>
29                 <relativePath>../pom.xml</relativePath>
30         </parent>
31
32         <artifactId>aaf-auth-cass</artifactId>
33         <name>AAF Auth Cass</name>
34         <description>Cassandra Data Libraries for AAF Auth</description>
35         <packaging>jar</packaging>
36         
37         <developers>
38                 <developer>
39                         <name>Jonathan Gathman</name>
40                         <email>jonathan.gathman@att.com</email>
41                         <organization>ATT</organization>
42                         <roles>
43                                 <role>Architect</role>
44                                 <role>Lead Developer</role>
45                         </roles>
46                 </developer>
47                 <developer>
48                         <name>Gabe Maurer</name>
49                         <email>gabe.maurer@att.com</email>
50                         <organization>ATT</organization>
51                         <roles>
52                                 <role>Developer</role>
53                         </roles>
54                 </developer>
55                 <developer>
56                         <name>Ian Howell</name>
57                         <email>ian.howell@att.com</email>
58                         <organization>ATT</organization>
59                         <roles>
60                                 <role>Developer</role>
61                         </roles>
62                 </developer>
63                 <developer>
64                         <name>Sai Gandham</name>
65                         <email>sai.gandham@att.com</email>
66                         <organization>ATT</organization>
67                         <roles>
68                                 <role>Developer</role>
69                         </roles>
70                 </developer>
71         </developers>
72
73         <properties>
74         
75
76
77                 <!--  SONAR  -->
78                 <jacoco.version>0.7.7.201606060606</jacoco.version>
79             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
80             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
81             <!-- Default Sonar configuration -->
82             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
83             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
84             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
85             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
86                 <nexusproxy>https://nexus.onap.org</nexusproxy>
87                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
88                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
89                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
90                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
91         </properties>
92         
93         <dependencies>
94                 <dependency>
95                         <groupId>org.onap.aaf.authz.auth</groupId>
96                         <artifactId>aaf-auth-core</artifactId>
97                 </dependency>
98
99                 <dependency>
100                         <groupId>org.onap.aaf.authz.cadi</groupId>
101                         <artifactId>aaf-cadi-aaf</artifactId>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>com.datastax.cassandra</groupId>
106                         <artifactId>cassandra-driver-core</artifactId>
107                 </dependency>
108
109                 <!-- Cassandra prefers Snappy and LZ4 libs for performance -->
110                 <dependency>
111                         <groupId>org.xerial.snappy</groupId>
112                         <artifactId>snappy-java</artifactId>
113                         <version>1.1.1-M1</version>
114                 </dependency>
115
116                 <dependency>
117                         <groupId>net.jpountz.lz4</groupId>
118                         <artifactId>lz4</artifactId>
119                         <version>1.2.0</version>
120                 </dependency>
121
122                 <dependency>
123                         <groupId>com.googlecode.jcsv</groupId>
124                         <artifactId>jcsv</artifactId>
125                         <version>1.4.0</version>
126                 </dependency>
127
128                 <dependency>
129                         <groupId>org.slf4j</groupId>
130                         <artifactId>slf4j-log4j12</artifactId>
131                         <scope>test</scope>
132                 </dependency>
133
134
135         </dependencies>
136         <build>
137         <plugins>
138                 <plugin>
139                                 <groupId>org.apache.maven.plugins</groupId>
140                                 <artifactId>maven-deploy-plugin</artifactId>
141                                 <configuration>
142                                         <skip>true</skip>
143                                 </configuration>
144                         </plugin>
145                 <plugin>
146                                 <groupId>org.sonatype.plugins</groupId>
147                                 <artifactId>nexus-staging-maven-plugin</artifactId>
148                                 <version>1.6.7</version>
149                                 <extensions>true</extensions>
150                                 <configuration>
151                                         <nexusUrl>${nexusproxy}</nexusUrl>
152                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
153                                         <serverId>ecomp-staging</serverId>
154                                 </configuration>
155                         </plugin>               
156                         <plugin>
157                                 <groupId>org.jacoco</groupId>
158                                 <artifactId>jacoco-maven-plugin</artifactId>
159                                 <version>0.7.7.201606060606</version>
160                                 <configuration>
161                                         <dumpOnExit>true</dumpOnExit>
162                                         <includes>
163                                                 <include>org.onap.aaf.*</include>
164                                         </includes>
165                                 </configuration>
166                                 <executions>
167                                         <execution>
168                                                 <id>pre-unit-test</id>
169                                                 <goals>
170                                                         <goal>prepare-agent</goal>
171                                                 </goals>
172                                                 <configuration>
173                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
174                                                         <!-- <append>true</append> -->
175                                                 </configuration>
176                                         </execution>
177                                         <execution>
178                                                 <id>pre-integration-test</id>
179                                                 <phase>pre-integration-test</phase>
180                                                 <goals>
181                                                         <goal>prepare-agent</goal>
182                                                 </goals>
183                                                 <configuration>
184                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
185                                                         <!-- <append>true</append> -->
186                                                 </configuration>
187                                         </execution>
188                                         <execution>
189                         <goals>
190                             <goal>merge</goal>
191                         </goals>
192                         <phase>post-integration-test</phase>
193                         <configuration>
194                             <fileSets>
195                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
196                                     <directory>${project.build.directory}/coverage-reports</directory>
197                                     <includes>
198                                         <include>*.exec</include>
199                                     </includes>
200                                 </fileSet>
201                             </fileSets>
202                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
203                         </configuration>
204                     </execution>
205                                 </executions>
206                         </plugin>
207         </plugins>
208         </build>
209         
210         <distributionManagement>
211                 <repository>
212                         <id>ecomp-releases</id>
213                         <name>AAF Release Repository</name>
214                         <url>${nexusproxy}${releaseNexusPath}</url>
215                 </repository>
216                 <snapshotRepository>
217                         <id>ecomp-snapshots</id>
218                         <name>AAF Snapshot Repository</name>
219                         <url>${nexusproxy}${snapshotNexusPath}</url>
220                 </snapshotRepository>
221                 <site>
222                         <id>ecomp-site</id>
223                         <url>dav:${nexusproxy}${sitePath}</url>
224                 </site>
225         </distributionManagement>
226 </project>
227