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