Changed to unmaintained
[aaf/cadi.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--* ============LICENSE_START==================================================== 
3     * =========================================================================== 
4     * org.onap.aaf 
5     * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 
6     * =========================================================================== 
7     * Licensed under the Apache License, Version 2.0 (the "License"); 
8     * you may not use this file except in compliance with the License. 
9     * You may obtain a copy of the License at 
10     * 
11     * http://www.apache.org/licenses/LICENSE-2.0 
12     * 
13     * Unless required by applicable law or agreed to in writing, software 
14     * distributed under the License is distributed on an "AS IS" BASIS, 
15     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16     * See the License for the specific language governing permissions and 
17     * limitations under the License. 
18     * ============LICENSE_END==================================================== 
19     * -->
20 <project xmlns="http://maven.apache.org/POM/4.0.0" 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.cadi</groupId>
24         <artifactId>parent</artifactId>
25         <version>2.1.19-SNAPSHOT</version>
26         <name>CADI Plugins Parent</name>
27         <packaging>pom</packaging>
28
29         <parent>
30                 <groupId>org.onap.oparent</groupId>
31                 <artifactId>oparent</artifactId>
32                 <version>2.0.0</version>
33         </parent>
34
35         <properties>
36                 <!-- This version needs to be RELEASED version. Fails on SNAPSHOT -->
37                 <cadi.version>2.7.4</cadi.version>
38                 <!-- <sonar.skip>true</sonar.skip> -->
39                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40                 <!-- project.jettyVersion>9.4.12.v20180830</project.jettyVersion -->
41                 <powermock.version>1.5.1</powermock.version>
42                 <!-- SONAR -->
43                 <jacoco.version>0.7.7.201606060606</jacoco.version>
44                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
45                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
46                 <!-- Default Sonar configuration -->
47                 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
48                 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
49                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
50                         below -->
51                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52                 <nexusproxy>https://nexus.onap.org</nexusproxy>
53                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
54                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
55                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
56                 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
57         </properties>
58
59         <!-- ============================================================== -->
60         <!-- Define the major contributors and developers of CADI -->
61         <!-- ============================================================== -->
62         <developers>
63                 <developer>
64                         <name>Jonathan Gathman</name>
65                         <email>jonathan.gathman@att.com</email>
66                         <organization>ATT</organization>
67                         <roles>
68                                 <role>Architect</role>
69                                 <role>Lead Developer</role>
70                         </roles>
71                 </developer>
72                 <developer>
73                         <name>Gabe Maurer</name>
74                         <email>gabe.maurer@att.com</email>
75                         <organization>ATT</organization>
76                         <roles>
77                                 <role>Developer</role>
78                         </roles>
79                 </developer>
80                 <developer>
81                         <name>Ian Howell</name>
82                         <email>ian.howell@att.com</email>
83                         <organization>ATT</organization>
84                         <roles>
85                                 <role>Developer</role>
86                         </roles>
87                 </developer>
88                 <developer>
89                         <name>Sai Gandham</name>
90                         <email>sai.gandham@att.com</email>
91                         <organization>ATT</organization>
92                         <roles>
93                                 <role>Developer</role>
94                         </roles>
95                 </developer>
96         </developers>
97
98
99         <dependencies>
100                 <dependency>
101                         <groupId>org.mockito</groupId>
102                         <artifactId>mockito-all</artifactId>
103                         <version>1.9.5</version>
104                         <scope>test</scope>
105                 </dependency>
106
107                 <dependency>
108                         <groupId>org.powermock</groupId>
109                         <artifactId>powermock-module-junit4</artifactId>
110                         <version>${powermock.version}</version>
111                         <scope>test</scope>
112                 </dependency>
113                 <dependency>
114                         <groupId>org.powermock</groupId>
115                         <artifactId>powermock-api-mockito</artifactId>
116                         <version>${powermock.version}</version>
117                         <scope>test</scope>
118                 </dependency>
119
120                 <dependency>
121                         <groupId>junit</groupId>
122                         <artifactId>junit</artifactId>
123                         <version>4.12</version>
124                         <scope>test</scope>
125                 </dependency>
126         </dependencies>
127
128         <!-- ============================================================== -->
129         <!-- Define sub-projects (modules) -->
130         <!-- ============================================================== -->
131         <modules>
132                 <module>shiro</module>
133                 <module>shiro-osgi-bundle</module>
134                 <module>sidecar</module>
135         </modules>
136
137         <!-- ============================================================== -->
138         <!-- Define project-wide dependencies -->
139         <!-- ============================================================== -->
140         <dependencyManagement>
141                 <dependencies>
142                         <dependency>
143                                 <groupId>org.onap.aaf.authz</groupId>
144                                 <artifactId>aaf-auth-client</artifactId>
145                                 <version>${cadi.version}</version>
146                         </dependency>
147
148                         <dependency>
149                                 <groupId>org.onap.aaf.authz</groupId>
150                                 <artifactId>aaf-cadi-core</artifactId>
151                                 <version>${cadi.version}</version>
152                         </dependency>
153
154                         <dependency>
155                                 <groupId>org.onap.aaf.authz</groupId>
156                                 <artifactId>aaf-cadi-oauth</artifactId>
157                                 <version>${cadi.version}</version>
158                         </dependency>
159
160                         <!-- Prevent Cycles in Testing -->
161                         <dependency>
162                                 <groupId>org.onap.aaf.authz</groupId>
163                                 <artifactId>aaf-cadi-core</artifactId>
164                                 <version>${cadi.version}</version>
165                                 <classifier>tests</classifier>
166                         </dependency>
167
168                         <dependency>
169                                 <groupId>org.onap.aaf.authz</groupId>
170                                 <artifactId>aaf-cadi-jetty</artifactId>
171                                 <version>${cadi.version}</version>
172                         </dependency>
173
174                         <dependency>
175                                 <groupId>org.onap.aaf.authz</groupId>
176                                 <artifactId>aaf-cadi-cass</artifactId>
177                                 <version>${cadi.version}</version>
178                         </dependency>
179
180                         <dependency>
181                                 <groupId>org.onap.aaf.authz</groupId>
182                                 <artifactId>aaf-cadi-aaf</artifactId>
183                                 <version>${cadi.version}</version>
184                         </dependency>
185
186                         <dependency>
187                                 <groupId>org.onap.aaf.authz</groupId>
188                                 <artifactId>aaf-cadi-aaf</artifactId>
189                                 <version>${cadi.version}</version>
190                                 <classifier>full</classifier>
191                         </dependency>
192
193                         <dependency>
194                                 <groupId>org.onap.aaf.authz</groupId>
195                                 <artifactId>aaf-cadi-client</artifactId>
196                                 <version>${cadi.version}</version>
197                         </dependency>
198
199                         <dependency>
200                                 <groupId>org.onap.aaf.authz</groupId>
201                                 <artifactId>aaf-misc-env</artifactId>
202                                 <version>${cadi.version}</version>
203                         </dependency>
204
205                         <dependency>
206                                 <groupId>org.onap.aaf.authz</groupId>
207                                 <artifactId>aaf-misc-rosetta</artifactId>
208                                 <version>${cadi.version}</version>
209                         </dependency>
210
211                         <dependency>
212                                 <groupId>org.onap.aaf.authz</groupId>
213                                 <artifactId>aaf-misc-log4j</artifactId>
214                                 <version>${cadi.version}</version>
215                         </dependency>
216                         
217                         <dependency>
218                                 <groupId>org.apache.shiro</groupId>
219                                 <artifactId>shiro-core</artifactId>
220                                 <version>1.3.2</version>
221                         </dependency>
222                 
223                         <dependency>
224                         <groupId>ch.qos.logback</groupId>
225                             <artifactId>logback-classic</artifactId>
226                             <version>1.2.3</version>
227                         <scope>test</scope>
228                         </dependency>
229                         
230                         <!-- 
231
232                         <dependency>
233                                 <groupId>org.eclipse.jetty</groupId>
234                                 <artifactId>jetty-servlet</artifactId>
235                                 <version>${project.jettyVersion}</version>
236                         </dependency>
237
238                         <dependency>
239                                 <groupId>org.eclipse.jetty</groupId>
240                                 <artifactId>jetty-io</artifactId>
241                                 <version>${project.jettyVersion}</version>
242                         </dependency>
243
244                         <dependency>
245                                 <groupId>org.eclipse.jetty</groupId>
246                                 <artifactId>jetty-security</artifactId>
247                                 <version>${project.jettyVersion}</version>
248                         </dependency>
249
250                         <dependency>
251                                 <groupId>org.eclipse.jetty</groupId>
252                                 <artifactId>jetty-http</artifactId>
253                                 <version>${project.jettyVersion}</version>
254                         </dependency>
255
256                         <dependency>
257                                 <groupId>org.eclipse.jetty</groupId>
258                                 <artifactId>jetty-util</artifactId>
259                                 <version>${project.jettyVersion}</version>
260                         </dependency>
261
262                         <dependency>
263                                 <groupId>org.eclipse.jetty</groupId>
264                                 <artifactId>jetty-server</artifactId>
265                                 <version>${project.jettyVersion}</version>
266                         </dependency>
267                         -->
268                         <dependency>
269                                 <groupId>org.slf4j</groupId>
270                                 <artifactId>slf4j-api</artifactId>
271                                 <version>1.7.5</version>
272                         </dependency>
273                 </dependencies>
274         </dependencyManagement>
275
276         <!-- ============================================================== -->
277         <!-- Define common plugins and make them available for all modules -->
278         <!-- ============================================================== -->
279         <build>
280                 <testSourceDirectory>src/test/java</testSourceDirectory>
281                 <plugins>
282                 </plugins>
283                 <pluginManagement>
284                         <plugins>
285                                 <plugin>
286                                         <inherited>true</inherited>
287                                         <groupId>org.apache.maven.plugins</groupId>
288                                         <artifactId>maven-compiler-plugin</artifactId>
289                                         <version>2.3.2</version>
290                                         <configuration>
291                                                 <source>${maven.compiler.source}</source>
292                                                 <target>${maven.compiler.target}</target>
293                                         </configuration>
294                                 </plugin>
295
296                                 <plugin>
297                                         <groupId>org.apache.maven.plugins</groupId>
298                                         <version>2.4</version>
299                                         <artifactId>maven-jar-plugin</artifactId>
300                                         <configuration>
301                                                 <outputDirectory>target</outputDirectory>
302                                                 <archive>
303                                                         <manifestEntries>
304                                                                 <Sealed>true</Sealed>
305                                                         </manifestEntries>
306                                                 </archive>
307                                         </configuration>
308                                 </plugin>
309
310                                 <!-- Define the javadoc plugin -->
311                                 <plugin>
312                                         <groupId>org.apache.maven.plugins</groupId>
313                                         <artifactId>maven-javadoc-plugin</artifactId>
314                                         <version>2.10</version>
315                                         <configuration>
316                                                 <excludePackageNames>org.opendaylight.*</excludePackageNames>
317                                         </configuration>
318                                 </plugin>
319
320                                 <plugin>
321                                         <artifactId>maven-release-plugin</artifactId>
322                                         <version>2.5.2</version>
323                                         <configuration>
324                                                 <goals>-s ${mvn.settings} deploy</goals>
325                                         </configuration>
326                                 </plugin>
327
328                                 <plugin>
329                                         <artifactId>maven-assembly-plugin</artifactId>
330                                         <version>2.5.5</version>
331                                 </plugin>
332
333                                 <plugin>
334                                         <groupId>org.apache.maven.plugins</groupId>
335                                         <artifactId>maven-deploy-plugin</artifactId>
336                                         <version>2.8.1</version>
337                                         <configuration>
338                                                 <skip>false</skip>
339                                         </configuration>
340
341                                 </plugin>
342
343                                 <plugin>
344                                         <groupId>org.apache.maven.plugins</groupId>
345                                         <artifactId>maven-dependency-plugin</artifactId>
346                                         <version>2.10</version>
347                                 </plugin>
348
349                                 <!-- Maven surefire plugin for testing -->
350                                 <plugin>
351                                         <artifactId>maven-surefire-plugin</artifactId>
352                                         <version>2.17</version>
353                                         <configuration>
354                                                 <skipTests>false</skipTests>
355                                                 <includes>
356                                                         <include>**/JU*.java</include>
357                                                 </includes>
358                                                 <excludes>
359                                                 </excludes>
360                                         </configuration>
361                                 </plugin>
362
363                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
364                                         only. It has no influence on the Maven build itself. -->
365                                 <plugin>
366                                         <groupId>org.eclipse.m2e</groupId>
367                                         <artifactId>lifecycle-mapping</artifactId>
368                                         <version>1.0.0</version>
369                                         <configuration>
370                                                 <lifecycleMappingMetadata>
371                                                         <pluginExecutions>
372                                                                 <pluginExecution>
373                                                                         <pluginExecutionFilter>
374                                                                                 <groupId>
375                                                                                         org.codehaus.mojo
376                                                                                 </groupId>
377                                                                                 <artifactId>
378                                                                                         jaxb2-maven-plugin
379                                                                                 </artifactId>
380                                                                                 <versionRange>
381                                                                                         [1.3,)
382                                                                                 </versionRange>
383                                                                                 <goals>
384                                                                                         <goal>xjc</goal>
385                                                                                 </goals>
386                                                                         </pluginExecutionFilter>
387                                                                         <action>
388                                                                                 <ignore />
389                                                                         </action>
390                                                                 </pluginExecution>
391                                                         </pluginExecutions>
392                                                 </lifecycleMappingMetadata>
393                                         </configuration>
394                                 </plugin>
395                                 <plugin>
396                                         <groupId>org.jacoco</groupId>
397                                         <artifactId>jacoco-maven-plugin</artifactId>
398                                         <version>${jacoco.version}</version>
399                                         <configuration>
400                                                 <excludes>
401                                                         <exclude>**/gen/**</exclude>
402                                                         <exclude>**/generated-sources/**</exclude>
403                                                         <exclude>**/yang-gen/**</exclude>
404                                                         <exclude>**/pax/**</exclude>
405                                                 </excludes>
406                                         </configuration>
407                                         <executions>
408                                                 <execution>
409                                                         <id>pre-unit-test</id>
410                                                         <goals>
411                                                                 <goal>prepare-agent</goal>
412                                                         </goals>
413                                                         <configuration>
414                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
415                                                                 <propertyName>surefireArgLine</propertyName>
416                                                         </configuration>
417                                                 </execution>
418                                                 <execution>
419                                                         <id>post-unit-test</id>
420                                                         <phase>test</phase>
421                                                         <goals>
422                                                                 <goal>report</goal>
423                                                         </goals>
424                                                         <configuration>
425                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
426                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
427                                                         </configuration>
428                                                 </execution>
429                                                 <execution>
430                                                         <id>pre-integration-test</id>
431                                                         <phase>pre-integration-test</phase>
432                                                         <goals>
433                                                                 <goal>prepare-agent</goal>
434                                                         </goals>
435                                                         <configuration>
436                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
437                                                                 <propertyName>failsafeArgLine</propertyName>
438                                                         </configuration>
439                                                 </execution>
440                                                 <execution>
441                                                         <id>post-integration-test</id>
442                                                         <phase>post-integration-test</phase>
443                                                         <goals>
444                                                                 <goal>report</goal>
445                                                         </goals>
446                                                         <configuration>
447                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
448                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
449                                                         </configuration>
450                                                 </execution>
451                                         </executions>
452                                 </plugin>
453                         </plugins>
454                 </pluginManagement>
455         </build>
456
457         <distributionManagement>
458                 <repository>
459                         <id>ecomp-releases</id>
460                         <name>AAF Release Repository</name>
461                         <url>${nexusproxy}${releaseNexusPath}</url>
462                 </repository>
463                 <snapshotRepository>
464                         <id>ecomp-snapshots</id>
465                         <name>AAF Snapshot Repository</name>
466                         <url>${nexusproxy}${snapshotNexusPath}</url>
467                 </snapshotRepository>
468                 <site>
469                         <id>ecomp-site</id>
470                         <url>dav:${nexusproxy}${sitePath}</url>
471                 </site>
472         </distributionManagement>
473
474 </project>