Modify distribution management for authz
[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.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                 <!--  SONAR  -->
75                  <jacoco.version>0.7.7.201606060606</jacoco.version>
76             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
77             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
78             <!-- Default Sonar configuration -->
79             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
80             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
81             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
82             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
83                 <nexusproxy>https://nexus.onap.org</nexusproxy>
84                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
85                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
86                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
87                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
88         </properties>
89         
90         <dependencies>
91                 <dependency>
92                         <groupId>org.onap.aaf.auth</groupId>
93                         <artifactId>aaf-auth-core</artifactId>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>org.onap.aaf.cadi</groupId>
98                         <artifactId>aaf-cadi-aaf</artifactId>
99                 </dependency>
100
101                 <dependency>
102                         <groupId>com.datastax.cassandra</groupId>
103                         <artifactId>cassandra-driver-core</artifactId>
104                 </dependency>
105
106                 <!-- Cassandra prefers Snappy and LZ4 libs for performance -->
107                 <dependency>
108                         <groupId>org.xerial.snappy</groupId>
109                         <artifactId>snappy-java</artifactId>
110                         <version>1.1.1-M1</version>
111                 </dependency>
112
113                 <dependency>
114                         <groupId>net.jpountz.lz4</groupId>
115                         <artifactId>lz4</artifactId>
116                         <version>1.2.0</version>
117                 </dependency>
118
119                 <dependency>
120                         <groupId>com.googlecode.jcsv</groupId>
121                         <artifactId>jcsv</artifactId>
122                         <version>1.4.0</version>
123                 </dependency>
124
125                 <dependency>
126                         <groupId>org.slf4j</groupId>
127                         <artifactId>slf4j-log4j12</artifactId>
128                         <scope>test</scope>
129                 </dependency>
130
131
132         </dependencies>
133         <build>
134         <plugins>
135         <plugin>
136                                 <groupId>org.sonatype.plugins</groupId>
137                                 <artifactId>nexus-staging-maven-plugin</artifactId>
138                                 <version>1.6.7</version>
139                                 <extensions>true</extensions>
140                                 <configuration>
141                                         <nexusUrl>${nexusproxy}</nexusUrl>
142                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
143                                         <serverId>ecomp-staging</serverId>
144                                 </configuration>
145                         </plugin>               
146                         <plugin>
147                                 <groupId>org.jacoco</groupId>
148                                 <artifactId>jacoco-maven-plugin</artifactId>
149                                 <version>0.7.7.201606060606</version>
150                                 <configuration>
151                                         <dumpOnExit>true</dumpOnExit>
152                                         <includes>
153                                                 <include>org.onap.aaf.*</include>
154                                         </includes>
155                                 </configuration>
156                                 <executions>
157                                         <execution>
158                                                 <id>pre-unit-test</id>
159                                                 <goals>
160                                                         <goal>prepare-agent</goal>
161                                                 </goals>
162                                                 <configuration>
163                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
164                                                         <!-- <append>true</append> -->
165                                                 </configuration>
166                                         </execution>
167                                         <execution>
168                                                 <id>pre-integration-test</id>
169                                                 <phase>pre-integration-test</phase>
170                                                 <goals>
171                                                         <goal>prepare-agent</goal>
172                                                 </goals>
173                                                 <configuration>
174                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
175                                                         <!-- <append>true</append> -->
176                                                 </configuration>
177                                         </execution>
178                                         <execution>
179                         <goals>
180                             <goal>merge</goal>
181                         </goals>
182                         <phase>post-integration-test</phase>
183                         <configuration>
184                             <fileSets>
185                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
186                                     <directory>${project.build.directory}/coverage-reports</directory>
187                                     <includes>
188                                         <include>*.exec</include>
189                                     </includes>
190                                 </fileSet>
191                             </fileSets>
192                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
193                         </configuration>
194                     </execution>
195                                 </executions>
196                         </plugin>
197         </plugins>
198         </build>
199         
200         <distributionManagement>
201                 <repository>
202                         <id>ecomp-releases</id>
203                         <name>AAF Release Repository</name>
204                         <url>${nexusproxy}${releaseNexusPath}</url>
205                 </repository>
206                 <snapshotRepository>
207                         <id>ecomp-snapshots</id>
208                         <name>AAF Snapshot Repository</name>
209                         <url>${nexusproxy}${snapshotNexusPath}</url>
210                 </snapshotRepository>
211                 <site>
212                         <id>ecomp-site</id>
213                         <url>dav:${nexusproxy}${sitePath}</url>
214                 </site>
215         </distributionManagement>
216 </project>
217