b5304587b372971359ae589f774d2a9f594daf03
[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         <licenses>\r
40                 <license>\r
41                 <name>BSD License</name>\r
42                 <url> </url>\r
43                 </license>\r
44         </licenses>\r
45         <developers>\r
46                 <developer>\r
47                 <name>Jonathan Gathman</name>\r
48                 <email></email>\r
49         <organization>ATT</organization>\r
50         <organizationUrl></organizationUrl>\r
51                 </developer>\r
52         </developers>\r
53                 <properties>\r
54                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
55                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
56                 <sonar.language>java</sonar.language>\r
57                 <sonar.skip>true</sonar.skip>\r
58                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
59                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
60                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
61                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
62                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
63                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
64         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
65                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
66                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
67                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
68                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>\r
69         </properties>\r
70         <dependencies>\r
71                 <dependency>\r
72                         <groupId>org.onap.aaf.authz</groupId>\r
73                         <artifactId>authz-core</artifactId>\r
74                         <version>${project.version}</version>\r
75                 </dependency>\r
76 \r
77                 <dependency>\r
78                         <groupId>org.onap.aaf.cadi</groupId>\r
79                         <artifactId>cadi-aaf</artifactId>\r
80                         <version>${project.cadiVersion}</version>\r
81                 </dependency>\r
82 \r
83         <dependency>\r
84                         <groupId>com.datastax.cassandra</groupId>\r
85                         <artifactId>cassandra-driver-core</artifactId>\r
86                         <version>2.1.10</version>\r
87                 </dependency>   \r
88                 \r
89                 <!-- Cassandra prefers Snappy and LZ4 libs for performance -->\r
90                 <dependency>\r
91                   <groupId>org.xerial.snappy</groupId>\r
92                   <artifactId>snappy-java</artifactId>\r
93                   <version>1.1.1-M1</version>\r
94                 </dependency>\r
95                 \r
96                 <dependency>\r
97                   <groupId>net.jpountz.lz4</groupId>\r
98                   <artifactId>lz4</artifactId>\r
99                   <version>1.2.0</version>\r
100                 </dependency>\r
101                 \r
102                 <dependency>\r
103           <groupId>com.googlecode.jcsv</groupId>\r
104           <artifactId>jcsv</artifactId>\r
105           <version>1.4.0</version>\r
106                 </dependency>\r
107                 \r
108                 <dependency>\r
109                         <groupId>org.slf4j</groupId>\r
110                         <artifactId>slf4j-log4j12</artifactId>\r
111                 <scope>test</scope>\r
112                 </dependency>\r
113                 \r
114         \r
115         </dependencies>\r
116         <build>\r
117                 <plugins>\r
118                         <plugin>\r
119                                 <groupId>org.apache.maven.plugins</groupId>\r
120                                 <artifactId>maven-jarsigner-plugin</artifactId>\r
121                         </plugin>\r
122                         \r
123                         <plugin>\r
124                         <groupId>org.apache.maven.plugins</groupId>\r
125                         <artifactId>maven-javadoc-plugin</artifactId>\r
126                         <version>2.10.4</version>\r
127                         <configuration>\r
128                         <failOnError>false</failOnError>\r
129                         </configuration>\r
130                         <executions>\r
131                                 <execution>\r
132                                         <id>attach-javadocs</id>\r
133                                         <goals>\r
134                                                 <goal>jar</goal>\r
135                                         </goals>\r
136                                 </execution>\r
137                         </executions>\r
138                 </plugin> \r
139            \r
140            \r
141                <plugin>\r
142                       <groupId>org.apache.maven.plugins</groupId>\r
143                       <artifactId>maven-source-plugin</artifactId>\r
144                       <version>2.2.1</version>\r
145                       <executions>\r
146                         <execution>\r
147                           <id>attach-sources</id>\r
148                           <goals>\r
149                             <goal>jar-no-fork</goal>\r
150                           </goals>\r
151                         </execution>\r
152                       </executions>\r
153                     </plugin>\r
154 <plugin>\r
155                                 <groupId>org.sonatype.plugins</groupId>\r
156                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
157                                 <version>1.6.7</version>\r
158                                 <extensions>true</extensions>\r
159                                 <configuration>\r
160                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
161                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
162                                         <serverId>ecomp-staging</serverId>\r
163                                 </configuration>\r
164                         </plugin>               \r
165                         <plugin>\r
166                                 <groupId>org.jacoco</groupId>\r
167                                 <artifactId>jacoco-maven-plugin</artifactId>\r
168                                 <version>0.7.7.201606060606</version>\r
169                                 <configuration>\r
170                                         <dumpOnExit>true</dumpOnExit>\r
171                                         <includes>\r
172                                                 <include>org.onap.aaf.*</include>\r
173                                         </includes>\r
174                                 </configuration>\r
175                                 <executions>\r
176                                         <execution>\r
177                                                 <id>pre-unit-test</id>\r
178                                                 <goals>\r
179                                                         <goal>prepare-agent</goal>\r
180                                                 </goals>\r
181                                                 <configuration>\r
182                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
183                                                         <!-- <append>true</append> -->\r
184                                                 </configuration>\r
185                                         </execution>\r
186                                         <execution>\r
187                                                 <id>pre-integration-test</id>\r
188                                                 <phase>pre-integration-test</phase>\r
189                                                 <goals>\r
190                                                         <goal>prepare-agent</goal>\r
191                                                 </goals>\r
192                                                 <configuration>\r
193                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
194                                                         <!-- <append>true</append> -->\r
195                                                 </configuration>\r
196                                         </execution>\r
197                                         <execution>\r
198                         <goals>\r
199                             <goal>merge</goal>\r
200                         </goals>\r
201                         <phase>post-integration-test</phase>\r
202                         <configuration>\r
203                             <fileSets>\r
204                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
205                                     <directory>${project.build.directory}/coverage-reports</directory>\r
206                                     <includes>\r
207                                         <include>*.exec</include>\r
208                                     </includes>\r
209                                 </fileSet>\r
210                             </fileSets>\r
211                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
212                         </configuration>\r
213                     </execution>\r
214                                 </executions>\r
215                         </plugin> \r
216 \r
217                 </plugins>\r
218         </build>\r
219         <distributionManagement>\r
220                 <repository>\r
221                         <id>ecomp-releases</id>\r
222                         <name>AAF Release Repository</name>\r
223                         <url>${nexusproxy}${releaseNexusPath}</url>\r
224                 </repository>\r
225                 <snapshotRepository>\r
226                         <id>ecomp-snapshots</id>\r
227                         <name>AAF Snapshot Repository</name>\r
228                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
229                 </snapshotRepository>\r
230                 <site>\r
231                         <id>ecomp-site</id>\r
232                         <url>dav:${nexusproxy}${sitePath}</url>\r
233                 </site>\r
234         </distributionManagement>\r
235         \r
236 </project>\r
237 \r