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