blob: b04f151bdbc067f3a07e3296a7ae27bc02199245 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright © 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.aaf.authz</groupId>
29 <artifactId>parent</artifactId>
30 <version>1.0.0-SNAPSHOT</version>
31 <relativePath>../pom.xml</relativePath>
32 </parent>
33
34 <artifactId>authz-cass</artifactId>
35 <name>Authz Cass</name>
36 <description>Cassandra DAOs for Authz</description>
37 <packaging>jar</packaging>
38 <url>https://github.com/att/AAF</url>
39 <licenses>
40 <license>
41 <name>BSD License</name>
42 <url> </url>
43 </license>
44 </licenses>
45 <developers>
46 <developer>
47 <name>Jonathan Gathman</name>
48 <email></email>
49 <organization>ATT</organization>
50 <organizationUrl></organizationUrl>
51 </developer>
52 </developers>
53 <properties>
54 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n40cd3562017-09-01 13:12:31 -040056 <sonar.language>java</sonar.language>
57 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
58 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
59 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
60 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
61 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
62 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040063 <nexusproxy>https://nexus.onap.org</nexusproxy>
64 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
65 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
66 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
67 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
68 </properties>
69 <dependencies>
70 <dependency>
71 <groupId>org.onap.aaf.authz</groupId>
72 <artifactId>authz-core</artifactId>
73 </dependency>
74
75 <dependency>
76 <groupId>org.onap.aaf.cadi</groupId>
77 <artifactId>cadi-aaf</artifactId>
78 </dependency>
79
80 <dependency>
81 <groupId>com.datastax.cassandra</groupId>
82 <artifactId>cassandra-driver-core</artifactId>
83 </dependency>
84
85 <!-- Cassandra prefers Snappy and LZ4 libs for performance -->
86 <dependency>
87 <groupId>org.xerial.snappy</groupId>
88 <artifactId>snappy-java</artifactId>
89 <version>1.1.1-M1</version>
90 </dependency>
91
92 <dependency>
93 <groupId>net.jpountz.lz4</groupId>
94 <artifactId>lz4</artifactId>
95 <version>1.2.0</version>
96 </dependency>
97
98 <dependency>
99 <groupId>com.googlecode.jcsv</groupId>
100 <artifactId>jcsv</artifactId>
101 <version>1.4.0</version>
102 </dependency>
103
104 <dependency>
105 <groupId>org.slf4j</groupId>
106 <artifactId>slf4j-log4j12</artifactId>
107 <scope>test</scope>
108 </dependency>
109
110
111 </dependencies>
112 <build>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-jarsigner-plugin</artifactId>
117 </plugin>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-deploy-plugin</artifactId>
121 </plugin>
122
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-javadoc-plugin</artifactId>
126 <configuration>
127 <failOnError>false</failOnError>
128 </configuration>
129 <executions>
130 <execution>
131 <id>attach-javadocs</id>
132 <goals>
133 <goal>jar</goal>
134 </goals>
135 </execution>
136 </executions>
137 </plugin>
138
139
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-source-plugin</artifactId>
143 <version>2.2.1</version>
144 <executions>
145 <execution>
146 <id>attach-sources</id>
147 <goals>
148 <goal>jar-no-fork</goal>
149 </goals>
150 </execution>
151 </executions>
152 </plugin>
153<plugin>
154 <groupId>org.sonatype.plugins</groupId>
155 <artifactId>nexus-staging-maven-plugin</artifactId>
156 <version>1.6.7</version>
157 <extensions>true</extensions>
158 <configuration>
159 <nexusUrl>${nexusproxy}</nexusUrl>
160 <stagingProfileId>176c31dfe190a</stagingProfileId>
161 <serverId>ecomp-staging</serverId>
sg481n40cd3562017-09-01 13:12:31 -0400162 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
sg481nbd890c52017-08-28 12:11:35 -0400163 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400164 </plugin>
165 <plugin>
166 <groupId>org.jacoco</groupId>
167 <artifactId>jacoco-maven-plugin</artifactId>
168 <version>0.7.7.201606060606</version>
169 <configuration>
170 <dumpOnExit>true</dumpOnExit>
171 <includes>
172 <include>org.onap.aaf.*</include>
173 </includes>
174 </configuration>
175 <executions>
176 <execution>
177 <id>pre-unit-test</id>
178 <goals>
179 <goal>prepare-agent</goal>
180 </goals>
181 <configuration>
182 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
183 <!-- <append>true</append> -->
184 </configuration>
185 </execution>
186 <execution>
187 <id>pre-integration-test</id>
188 <phase>pre-integration-test</phase>
189 <goals>
190 <goal>prepare-agent</goal>
191 </goals>
192 <configuration>
193 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
194 <!-- <append>true</append> -->
195 </configuration>
196 </execution>
197 <execution>
198 <goals>
199 <goal>merge</goal>
200 </goals>
201 <phase>post-integration-test</phase>
202 <configuration>
203 <fileSets>
204 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
205 <directory>${project.build.directory}/coverage-reports</directory>
206 <includes>
207 <include>*.exec</include>
208 </includes>
209 </fileSet>
210 </fileSets>
211 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
212 </configuration>
213 </execution>
214 </executions>
sg481nbd890c52017-08-28 12:11:35 -0400215 </plugin>
216 </plugins>
217 </build>
218 <distributionManagement>
219 <repository>
220 <id>ecomp-releases</id>
221 <name>AAF Release Repository</name>
222 <url>${nexusproxy}${releaseNexusPath}</url>
223 </repository>
224 <snapshotRepository>
225 <id>ecomp-snapshots</id>
226 <name>AAF Snapshot Repository</name>
227 <url>${nexusproxy}${snapshotNexusPath}</url>
228 </snapshotRepository>
229 <site>
230 <id>ecomp-site</id>
231 <url>dav:${nexusproxy}${sitePath}</url>
232 </site>
233 </distributionManagement>
234<pluginRepositories>
235 <pluginRepository>
236 <id>onap-plugin-snapshots</id>
237 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
238 </pluginRepository>
239 </pluginRepositories>
240
241 <repositories>
242 <repository>
243 <id>central</id>
244 <name>Maven 2 repository 2</name>
245 <url>http://repo2.maven.org/maven2/</url>
246 </repository>
247 <repository>
248 <id>onap-jar-snapshots</id>
249 <url>https://nexus.onap.org/content/repositories/snapshots</url>
250 </repository>
251 <repository>
252 <id>spring-repo</id>
253 <name>Spring repo</name>
254 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
255 </repository>
256 <repository>
257 <id>repository.jboss.org-public</id>
258 <name>JBoss.org Maven repository</name>
259 <url>https://repository.jboss.org/nexus/content/groups/public</url>
260 </repository>
261 </repositories>
262</project>
263