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