blob: f47b601e1f881f110c985afc0827a66e8ffeaf37 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?xml version="1.0" encoding="UTF-8"?>
gabe.maurer2e233282018-04-03 11:18:38 -05002<!-- * ============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 * -->
Instrumental71037c32018-03-26 13:51:48 -070014<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>
Sai Gandham83fc0252018-04-09 16:28:48 +000018 <groupId>org.onap.aaf.authz</groupId>
19 <artifactId>authparent</artifactId>
Instrumentale18eecb2018-10-17 06:18:07 -050020 <version>2.1.6-SNAPSHOT</version>
Instrumental71037c32018-03-26 13:51:48 -070021 <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>
gabe.maurer2e233282018-04-03 11:18:38 -050028
Instrumental71037c32018-03-26 13:51:48 -070029 <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>
Sai Gandhame01703c2018-03-26 22:57:09 +000055 <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>
Instrumental71037c32018-03-26 13:51:48 -070063 </developers>
64
Sai Gandhamc434f3c2018-03-27 16:29:24 +000065 <properties>
gabe.maurer2e233282018-04-03 11:18:38 -050066 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000067 <!-- <sonar.skip>true</sonar.skip> -->
Instrumental17ca7442018-03-29 16:54:19 -050068 <jacoco.version>0.7.7.201606060606</jacoco.version>
gabe.maurer2e233282018-04-03 11:18:38 -050069 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
70 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
71 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050072 <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>
gabe.maurer2e233282018-04-03 11:18:38 -050074 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
75 below -->
76 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000077 <nexusproxy>https://nexus.onap.org</nexusproxy>
78 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
79 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
80 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000081 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000082 </properties>
gabe.maurer2e233282018-04-03 11:18:38 -050083
Instrumental71037c32018-03-26 13:51:48 -070084 <dependencies>
85 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000086 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070087 <artifactId>aaf-auth-core</artifactId>
88 </dependency>
89
90 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000091 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070092 <artifactId>aaf-cadi-aaf</artifactId>
93 </dependency>
94
95 <dependency>
96 <groupId>com.datastax.cassandra</groupId>
97 <artifactId>cassandra-driver-core</artifactId>
Instrumental6f6c6202018-09-19 09:51:45 -050098 <!-- JNR Posix needs bumping up for licence for datastax 3.6.0, remove after this version-->
99 <exclusions>
100 <exclusion>
101 <groupId>com.github.jnr</groupId>
102 <artifactId>jnr-posix</artifactId>
103 </exclusion>
104 </exclusions>
105 </dependency>
106 <!-- JNR Posix needs bumping up for licence for datastax 3.6.0, remove after this version-->
107 <dependency>
108 <groupId>com.github.jnr</groupId>
109 <artifactId>jnr-posix</artifactId>
110 <version>3.0.45</version>
Instrumental71037c32018-03-26 13:51:48 -0700111 </dependency>
112
Instrumental9f52db12018-08-31 09:53:21 -0500113 <dependency>
Instrumental6f6c6202018-09-19 09:51:45 -0500114 <groupId>com.google.guava</groupId>
115 <artifactId>guava</artifactId>
Instrumental9f52db12018-08-31 09:53:21 -0500116 </dependency>
117
Instrumental71037c32018-03-26 13:51:48 -0700118 <!-- Cassandra prefers Snappy and LZ4 libs for performance -->
119 <dependency>
120 <groupId>org.xerial.snappy</groupId>
121 <artifactId>snappy-java</artifactId>
122 <version>1.1.1-M1</version>
123 </dependency>
124
125 <dependency>
126 <groupId>net.jpountz.lz4</groupId>
127 <artifactId>lz4</artifactId>
128 <version>1.2.0</version>
129 </dependency>
130
131 <dependency>
132 <groupId>com.googlecode.jcsv</groupId>
133 <artifactId>jcsv</artifactId>
134 <version>1.4.0</version>
135 </dependency>
136
137 <dependency>
138 <groupId>org.slf4j</groupId>
139 <artifactId>slf4j-log4j12</artifactId>
140 <scope>test</scope>
141 </dependency>
142
143
144 </dependencies>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000145 <build>
gabe.maurer2e233282018-04-03 11:18:38 -0500146 <plugins>
147 <plugin>
Sai Gandham05c86472018-03-27 21:08:58 +0000148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-deploy-plugin</artifactId>
150 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500151 <skip>false</skip>
Sai Gandham05c86472018-03-27 21:08:58 +0000152 </configuration>
153 </plugin>
gabe.maurer2e233282018-04-03 11:18:38 -0500154 <plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000155 <groupId>org.sonatype.plugins</groupId>
156 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000157 <extensions>true</extensions>
158 <configuration>
159 <nexusUrl>${nexusproxy}</nexusUrl>
160 <stagingProfileId>176c31dfe190a</stagingProfileId>
161 <serverId>ecomp-staging</serverId>
162 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500163 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000164 <plugin>
165 <groupId>org.jacoco</groupId>
166 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000167 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500168 <excludes>
169 <exclude>**/gen/**</exclude>
170 <exclude>**/generated-sources/**</exclude>
171 <exclude>**/yang-gen/**</exclude>
172 <exclude>**/pax/**</exclude>
173 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000174 </configuration>
175 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500176
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000177 <execution>
178 <id>pre-unit-test</id>
179 <goals>
180 <goal>prepare-agent</goal>
181 </goals>
182 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500183 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
184 <propertyName>surefireArgLine</propertyName>
185 </configuration>
186 </execution>
187
188
189 <execution>
190 <id>post-unit-test</id>
191 <phase>test</phase>
192 <goals>
193 <goal>report</goal>
194 </goals>
195 <configuration>
196 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
197 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000198 </configuration>
199 </execution>
200 <execution>
201 <id>pre-integration-test</id>
202 <phase>pre-integration-test</phase>
203 <goals>
204 <goal>prepare-agent</goal>
205 </goals>
206 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500207 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
208 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000209 </configuration>
210 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500211
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000212 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500213 <id>post-integration-test</id>
214 <phase>post-integration-test</phase>
215 <goals>
216 <goal>report</goal>
217 </goals>
218 <configuration>
219 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
220 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
221 </configuration>
222 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000223 </executions>
224 </plugin>
gabe.maurer2e233282018-04-03 11:18:38 -0500225 </plugins>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000226 </build>
gabe.maurer2e233282018-04-03 11:18:38 -0500227
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000228 <distributionManagement>
229 <repository>
230 <id>ecomp-releases</id>
231 <name>AAF Release Repository</name>
232 <url>${nexusproxy}${releaseNexusPath}</url>
233 </repository>
234 <snapshotRepository>
235 <id>ecomp-snapshots</id>
236 <name>AAF Snapshot Repository</name>
237 <url>${nexusproxy}${snapshotNexusPath}</url>
238 </snapshotRepository>
239 <site>
240 <id>ecomp-site</id>
241 <url>dav:${nexusproxy}${sitePath}</url>
242 </site>
243 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700244</project>
245