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