Update version.properties to aaf authz
[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.0-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.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
58                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
59                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
60                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
61                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
62                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
63         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
64                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
65                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
66                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
67                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
68         </properties>\r
69         <dependencies>\r
70                 <dependency>\r
71                         <groupId>org.onap.aaf.authz</groupId>\r
72                         <artifactId>authz-core</artifactId>\r
73                 </dependency>\r
74 \r
75                 <dependency>\r
76                         <groupId>org.onap.aaf.cadi</groupId>\r
77                         <artifactId>cadi-aaf</artifactId>\r
78                 </dependency>\r
79 \r
80         <dependency>\r
81                         <groupId>com.datastax.cassandra</groupId>\r
82                         <artifactId>cassandra-driver-core</artifactId>\r
83                 </dependency>   \r
84                 \r
85                 <!-- Cassandra prefers Snappy and LZ4 libs for performance -->\r
86                 <dependency>\r
87                   <groupId>org.xerial.snappy</groupId>\r
88                   <artifactId>snappy-java</artifactId>\r
89                   <version>1.1.1-M1</version>\r
90                 </dependency>\r
91                 \r
92                 <dependency>\r
93                   <groupId>net.jpountz.lz4</groupId>\r
94                   <artifactId>lz4</artifactId>\r
95                   <version>1.2.0</version>\r
96                 </dependency>\r
97                 \r
98                 <dependency>\r
99           <groupId>com.googlecode.jcsv</groupId>\r
100           <artifactId>jcsv</artifactId>\r
101           <version>1.4.0</version>\r
102                 </dependency>\r
103                 \r
104                 <dependency>\r
105                         <groupId>org.slf4j</groupId>\r
106                         <artifactId>slf4j-log4j12</artifactId>\r
107                 <scope>test</scope>\r
108                 </dependency>\r
109                 \r
110         \r
111         </dependencies>\r
112         <build>\r
113                 <plugins>\r
114                         <plugin>\r
115                                 <groupId>org.apache.maven.plugins</groupId>\r
116                                 <artifactId>maven-jarsigner-plugin</artifactId>\r
117                         </plugin>\r
118                         <plugin>\r
119                                 <groupId>org.apache.maven.plugins</groupId>\r
120                                 <artifactId>maven-deploy-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                         <configuration>\r
127                         <failOnError>false</failOnError>\r
128                         </configuration>\r
129                         <executions>\r
130                                 <execution>\r
131                                         <id>attach-javadocs</id>\r
132                                         <goals>\r
133                                                 <goal>jar</goal>\r
134                                         </goals>\r
135                                 </execution>\r
136                         </executions>\r
137                 </plugin> \r
138            \r
139            \r
140                <plugin>\r
141                       <groupId>org.apache.maven.plugins</groupId>\r
142                       <artifactId>maven-source-plugin</artifactId>\r
143                       <version>2.2.1</version>\r
144                       <executions>\r
145                         <execution>\r
146                           <id>attach-sources</id>\r
147                           <goals>\r
148                             <goal>jar-no-fork</goal>\r
149                           </goals>\r
150                         </execution>\r
151                       </executions>\r
152                     </plugin>\r
153 <plugin>\r
154                                 <groupId>org.sonatype.plugins</groupId>\r
155                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
156                                 <version>1.6.7</version>\r
157                                 <extensions>true</extensions>\r
158                                 <configuration>\r
159                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
160                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
161                                         <serverId>ecomp-staging</serverId>\r
162                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>\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                 </plugins>\r
217         </build>\r
218         <distributionManagement>\r
219                 <repository>\r
220                         <id>ecomp-releases</id>\r
221                         <name>AAF Release Repository</name>\r
222                         <url>${nexusproxy}${releaseNexusPath}</url>\r
223                 </repository>\r
224                 <snapshotRepository>\r
225                         <id>ecomp-snapshots</id>\r
226                         <name>AAF Snapshot Repository</name>\r
227                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
228                 </snapshotRepository>\r
229                 <site>\r
230                         <id>ecomp-site</id>\r
231                         <url>dav:${nexusproxy}${sitePath}</url>\r
232                 </site>\r
233         </distributionManagement>\r
234 <pluginRepositories>\r
235         <pluginRepository>\r
236             <id>onap-plugin-snapshots</id>\r
237             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
238         </pluginRepository>\r
239     </pluginRepositories>\r
240         \r
241         <repositories>\r
242                 <repository>\r
243                         <id>central</id>\r
244                         <name>Maven 2 repository 2</name>\r
245                         <url>http://repo2.maven.org/maven2/</url>\r
246                 </repository>\r
247                 <repository>\r
248             <id>onap-jar-snapshots</id>\r
249             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
250         </repository>\r
251                 <repository>\r
252                         <id>spring-repo</id>\r
253                         <name>Spring repo</name>\r
254                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
255                 </repository>\r
256                 <repository>\r
257                         <id>repository.jboss.org-public</id>\r
258                         <name>JBoss.org Maven repository</name>\r
259                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
260                 </repository>\r
261         </repositories> \r
262 </project>\r
263 \r