Merge "support multi-platform docker builds"
[aaf/authz.git] / pom.xml
1 <!--* ============LICENSE_START==================================================== 
2     * =========================================================================== 
3     * org.onap.aaf 
4     * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 
5     * =========================================================================== 
6     * Licensed under the Apache License, Version 2.0 (the "License"); 
7     * you may not use this file except in compliance with the License. 
8     * You may obtain a copy of the License at 
9     * 
10     * http://www.apache.org/licenses/LICENSE-2.0 
11     * 
12     * Unless required by applicable law or agreed to in writing, software 
13     * distributed under the License is distributed on an "AS IS" BASIS, 
14     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
15     * See the License for the specific language governing permissions and 
16     * limitations under the License. 
17     * ============LICENSE_END==================================================== 
18     * -->
19 <project xmlns="http://maven.apache.org/POM/4.0.0"
20     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22     <modelVersion>4.0.0</modelVersion>
23     <groupId>org.onap.aaf.authz</groupId>
24     <artifactId>parent</artifactId>
25     <version>2.1.11-SNAPSHOT</version>
26     <name>aaf-authz</name>
27     <packaging>pom</packaging>
28
29     <parent>
30         <groupId>org.onap.oparent</groupId>
31         <artifactId>oparent</artifactId>
32         <version>1.2.2</version>
33     </parent>
34
35     <properties>
36         <nexusproxy>https://nexus.onap.org</nexusproxy>
37         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
38         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
39         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
40         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
41         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
42
43         <maven.test.failure.ignore>false</maven.test.failure.ignore>
44         <!-- SONAR -->
45         <jacoco.version>0.7.7.201606060606</jacoco.version>
46         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48         <!-- Default Sonar configuration -->
49         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
50         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
51         <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
52             below -->
53         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54         <nexusproxy>https://nexus.onap.org</nexusproxy>
55         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56         <powermock.version>1.5.1</powermock.version>
57         <mockito.version>1.9.5</mockito.version>
58         <project.interfaceVersion>${project.version}</project.interfaceVersion>
59         <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
60         <project.cassVersion>3.6.0</project.cassVersion>
61
62     </properties>
63     <build>
64         <plugins>
65             <plugin>
66                 <groupId>org.apache.maven.plugins</groupId>
67                 <artifactId>maven-deploy-plugin</artifactId>
68                 <configuration>
69                     <skip>false</skip>
70                 </configuration>
71             </plugin>
72             <plugin>
73                 <groupId>org.sonatype.plugins</groupId>
74                 <artifactId>nexus-staging-maven-plugin</artifactId>
75                 <extensions>true</extensions>
76                 <configuration>
77                     <nexusUrl>${nexusproxy}</nexusUrl>
78                     <stagingProfileId>176c31dfe190a</stagingProfileId>
79                     <serverId>ecomp-staging</serverId>
80                 </configuration>
81             </plugin>
82             <plugin>
83                 <groupId>org.sonarsource.scanner.maven</groupId>
84                 <artifactId>sonar-maven-plugin</artifactId>
85             </plugin>
86             <plugin>
87                 <groupId>org.jacoco</groupId>
88                 <artifactId>jacoco-maven-plugin</artifactId>
89                 <configuration>
90                     <excludes>
91                         <exclude>**/gen/**</exclude>
92                         <exclude>**/generated-sources/**</exclude>
93                         <exclude>**/yang-gen/**</exclude>
94                         <exclude>**/pax/**</exclude>
95                     </excludes>
96                 </configuration>
97                 <executions>
98                     <execution>
99                         <id>pre-unit-test</id>
100                         <goals>
101                             <goal>prepare-agent</goal>
102                         </goals>
103                         <configuration>
104                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
105                             <propertyName>surefireArgLine</propertyName>
106                         </configuration>
107                     </execution>
108                     <execution>
109                         <id>post-unit-test</id>
110                         <phase>test</phase>
111                         <goals>
112                             <goal>report</goal>
113                         </goals>
114                         <configuration>
115                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
116                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
117                         </configuration>
118                     </execution>
119                     <execution>
120                         <id>pre-integration-test</id>
121                         <phase>pre-integration-test</phase>
122                         <goals>
123                             <goal>prepare-agent</goal>
124                         </goals>
125                         <configuration>
126                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
127                             <propertyName>failsafeArgLine</propertyName>
128                         </configuration>
129                     </execution>
130                     <execution>
131                         <id>post-integration-test</id>
132                         <phase>post-integration-test</phase>
133                         <goals>
134                             <goal>report</goal>
135                         </goals>
136                         <configuration>
137                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
138                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
139                         </configuration>
140                     </execution>
141                 </executions>
142             </plugin>
143
144         </plugins>
145     </build>
146     <modules>
147         <module>auth-client</module>
148         <module>misc</module>
149         <module>cadi</module>
150         <module>auth</module>
151     </modules>
152
153     <dependencyManagement>
154         <dependencies>
155             <dependency>
156                 <groupId>org.onap.aaf.authz</groupId>
157                 <artifactId>aaf-misc-env</artifactId>
158                 <version>${project.version}</version>
159             </dependency>
160
161             <dependency>
162                 <groupId>org.onap.aaf.authz</groupId>
163                 <artifactId>aaf-misc-log4j</artifactId>
164                 <version>${project.version}</version>
165             </dependency>
166
167             <dependency>
168                 <groupId>org.onap.aaf.authz</groupId>
169                 <artifactId>aaf-misc-rosetta</artifactId>
170                 <version>${project.version}</version>
171             </dependency>
172
173             <dependency>
174                 <groupId>org.onap.aaf.authz</groupId>
175                 <artifactId>aaf-misc-xgen</artifactId>
176                 <version>${project.version}</version>
177             </dependency>
178
179             <dependency>
180                 <groupId>org.onap.aaf.authz</groupId>
181                 <artifactId>aaf-auth-client</artifactId>
182                 <version>${project.version}</version>
183             </dependency>
184
185             <dependency>
186                 <groupId>org.onap.aaf.authz</groupId>
187                 <artifactId>aaf-auth-core</artifactId>
188                 <version>${project.version}</version>
189             </dependency>
190
191             <dependency>
192                 <groupId>org.onap.aaf.authz</groupId>
193                 <artifactId>aaf-auth-cass</artifactId>
194                 <version>${project.version}</version>
195             </dependency>
196
197             <dependency>
198                 <groupId>org.onap.aaf.authz</groupId>
199                 <artifactId>aaf-auth-cmd</artifactId>
200                 <version>${project.version}</version>
201             </dependency>
202
203             <dependency>
204                 <groupId>org.onap.aaf.authz</groupId>
205                 <artifactId>aaf-auth-oauth</artifactId>
206                 <version>${project.version}</version>
207             </dependency>
208
209             <dependency>
210                 <groupId>org.onap.aaf.authz</groupId>
211                 <artifactId>aaf-auth-deforg</artifactId>
212                 <version>${project.version}</version>
213             </dependency>
214
215             <dependency>
216                 <groupId>org.onap.aaf.authz</groupId>
217                 <artifactId>aaf-cadi-core</artifactId>
218                 <version>${project.version}</version>
219             </dependency>
220             
221             <dependency>
222                 <groupId>org.onap.aaf.authz</groupId>
223                 <artifactId>aaf-cadi-client</artifactId>
224                 <version>${project.version}</version>
225             </dependency>
226             
227             <dependency>
228                 <groupId>org.onap.aaf.authz</groupId>
229                 <artifactId>aaf-cadi-aaf</artifactId>
230                 <version>${project.version}</version>
231                 <exclusions>
232                     <exclusion>
233                         <groupId>org.apache.cassandra</groupId>
234                         <artifactId>cassandra-all</artifactId>
235                     </exclusion>
236                 </exclusions>
237             </dependency>
238
239             <dependency>
240                 <groupId>org.onap.aaf.authz</groupId>
241                 <artifactId>aaf-cadi-jetty</artifactId>
242                 <version>${project.version}</version>
243             </dependency>
244
245             <dependency>
246                 <groupId>org.onap.aaf.authz</groupId>
247                 <artifactId>aaf-cadi-cass</artifactId>
248                 <version>${project.version}</version>
249             </dependency><dependency>
250                 <groupId>javax.servlet</groupId>
251                 <artifactId>javax.servlet-api</artifactId>
252                 <version>3.0.1</version>
253             </dependency>
254             
255             <!-- JettyVersion is partly covered in "OParent" 
256               dependency>
257                 <groupId>org.eclipse.jetty</groupId>
258                 <artifactId>jetty-servlet</artifactId>
259                 <version>${project.jettyVersion}</version>
260             </dependency><dependency>
261                 <groupId>org.eclipse.jetty</groupId>
262                 <artifactId>jetty-server</artifactId>
263                 <version>${project.jettyVersion}</version>
264             </dependency>
265             
266             <dependency>
267                 <groupId>org.eclipse.jetty</groupId>
268                 <artifactId>jetty-http</artifactId>
269                 <version>${project.jettyVersion}</version>
270             </dependency>
271
272             <dependency>
273                 <groupId>org.eclipse.jetty</groupId>
274                 <artifactId>jetty-io</artifactId>
275                 <version>${project.jettyVersion}</version>
276             </dependency>
277
278             <dependency>
279                 <groupId>org.eclipse.jetty</groupId>
280                 <artifactId>jetty-security</artifactId>
281                 <version>${project.jettyVersion}</version>
282             </dependency>
283
284
285             <dependency>
286                 <groupId>org.eclipse.jetty</groupId>
287                 <artifactId>jetty-util</artifactId>
288                 <version>${project.jettyVersion}</version>
289             </dependency>
290              -->
291
292             <dependency>
293                 <groupId>org.slf4j</groupId>
294                 <artifactId>slf4j-api</artifactId>
295                 <version>1.7.5</version>
296             </dependency>
297
298             <dependency>
299                 <groupId>com.datastax.cassandra</groupId>
300                 <artifactId>cassandra-all</artifactId>
301                 <version>${project.cassVersion}</version>
302                 <exclusions>
303                     <exclusion>
304                         <groupId>org.slf4j</groupId>
305                         <artifactId>slf4j-log4j12</artifactId>
306                     </exclusion>
307                     <exclusion>
308                         <groupId>log4j</groupId>
309                         <artifactId>log4j</artifactId>
310                     </exclusion>
311                 </exclusions>
312             </dependency>
313
314             <dependency>
315                 <groupId>com.datastax.cassandra</groupId>
316                 <artifactId>cassandra-driver-core</artifactId>
317                 <version>${project.cassVersion}</version>
318                 <exclusions>
319                     <exclusion>
320                         <groupId>org.slf4j</groupId>
321                         <artifactId>slf4j-log4j12</artifactId>
322                     </exclusion>
323                     <exclusion>
324                         <groupId>log4j</groupId>
325                         <artifactId>log4j</artifactId>
326                     </exclusion>
327                     <exclusion>
328                         <groupId>com.google.guava</groupId>
329                         <artifactId>guava</artifactId>
330                     </exclusion>
331                 </exclusions>
332             </dependency>
333             <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
334             <dependency>
335                 <groupId>io.netty</groupId>
336                 <artifactId>netty-handler</artifactId>
337                 <version>${project.nettyVersion}</version>
338             </dependency>
339
340             <dependency>
341                 <groupId>org.slf4j</groupId>
342                 <artifactId>slf4j-log4j12</artifactId>
343                 <version>1.7.5</version>
344             </dependency>
345
346             <dependency>
347                 <groupId>javax.mail</groupId>
348                 <artifactId>mail</artifactId>
349                 <version>1.4.7</version>
350             </dependency>
351             
352             <dependency>
353                 <groupId>org.mockito</groupId>
354                 <artifactId>mockito-all</artifactId>
355                 <version>${mockito.version}</version>
356                 <scope>test</scope>
357             </dependency>
358
359             <dependency>
360                 <groupId>org.powermock</groupId>
361                 <artifactId>powermock-module-junit4</artifactId>
362                 <version>${powermock.version}</version>
363                 <scope>test</scope>
364             </dependency>
365             
366             <dependency>
367                 <groupId>org.powermock</groupId>
368                 <artifactId>powermock-api-mockito</artifactId>
369                 <version>${powermock.version}</version>
370                 <scope>test</scope>
371             </dependency>
372             
373             <dependency>
374                 <groupId>log4j</groupId>
375                 <artifactId>log4j</artifactId>
376                 <version>1.2.17</version>
377             </dependency>
378             
379             <dependency>
380                 <groupId>junit</groupId>
381                 <artifactId>junit</artifactId>
382                 <version>4.10</version>
383                 <scope>test</scope>
384             </dependency>
385             
386         </dependencies>
387     </dependencyManagement>
388
389
390
391
392
393     <distributionManagement>
394         <repository>
395             <id>ecomp-releases</id>
396             <name>AAF Release Repository</name>
397             <url>${nexusproxy}${releaseNexusPath}</url>
398         </repository>
399         <snapshotRepository>
400             <id>ecomp-snapshots</id>
401             <name>AAF Snapshot Repository</name>
402             <url>${nexusproxy}${snapshotNexusPath}</url>
403         </snapshotRepository>
404         <site>
405             <id>ecomp-site</id>
406             <url>dav:${nexusproxy}${sitePath}</url>
407         </site>
408     </distributionManagement>
409
410 </project>