Add Multi-Realm class handling
[aaf/cadi.git] / shiro / 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         <parent>
23                 <groupId>org.onap.aaf.cadi</groupId>
24                 <artifactId>parent</artifactId>
25                 <version>2.1.13-SNAPSHOT</version>
26                 <relativePath>..</relativePath>
27         </parent>
28
29         <modelVersion>4.0.0</modelVersion>
30         <name>Shiro CADI Plugin</name>
31         <packaging>jar</packaging>
32         <artifactId>aaf-cadi-shiro</artifactId>
33
34         <properties>
35         <!--  SONAR  -->
36         <sonar.skip>true</sonar.skip>
37                  <jacoco.version>0.7.7.201606060606</jacoco.version>
38             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
39             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
40             <!-- Default Sonar configuration -->
41             <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
42             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
43             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
44             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
45                 <nexusproxy>https://nexus.onap.org</nexusproxy>
46                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
47                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
48                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
49                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
50         </properties>
51
52         <developers>
53                 <developer>
54                         <name>Jonathan Gathman</name>
55                         <email>jonathan.gathman@att.com</email>
56                         <organization>ATT</organization>
57                         <roles>
58                                 <role>Architect</role>
59                                 <role>Lead Developer</role>
60                         </roles>
61                 </developer>
62                 <developer>
63                         <name>Gabe Maurer</name>
64                         <email>gabe.maurer@att.com</email>
65                         <organization>ATT</organization>
66                         <roles>
67                                 <role>Developer</role>
68                         </roles>
69                 </developer>
70                 <developer>
71                         <name>Ian Howell</name>
72                         <email>ian.howell@att.com</email>
73                         <organization>ATT</organization>
74                         <roles>
75                                 <role>Developer</role>
76                         </roles>
77                 </developer>
78                 <developer>
79                         <name>Sai Gandham</name>
80                         <email>sai.gandham@att.com</email>
81                         <organization>ATT</organization>
82                         <roles>
83                                 <role>Developer</role>
84                         </roles>
85                 </developer>
86         </developers>
87
88         <dependencies>
89                 <dependency>
90                         <groupId>org.onap.aaf.authz</groupId>
91                         <artifactId>aaf-cadi-aaf</artifactId>
92                 </dependency>
93                 
94                 <dependency>
95                         <groupId>org.apache.shiro</groupId>
96                         <artifactId>shiro-core</artifactId>
97                 </dependency>
98                 
99                 <dependency>
100                         <groupId>org.slf4j</groupId>
101                         <artifactId>slf4j-api</artifactId>
102                 </dependency>
103                 
104                 <dependency>
105                 <groupId>ch.qos.logback</groupId>
106                     <artifactId>logback-classic</artifactId>
107                 <scope>test</scope>
108                 </dependency>
109         </dependencies>
110         <build>
111                 <plugins>
112                         <plugin>
113                                 <groupId>org.sonatype.plugins</groupId>
114                                 <artifactId>nexus-staging-maven-plugin</artifactId>
115                                 <extensions>true</extensions>
116                                 <configuration>
117                                         <nexusUrl>${nexusproxy}</nexusUrl>
118                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
119                                         <serverId>ecomp-staging</serverId>
120                                 </configuration>
121                         </plugin>
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-deploy-plugin</artifactId>
125                                 <configuration>
126                                         <skip>false</skip>
127                                 </configuration>
128                         </plugin>
129                         <plugin>
130                                 <groupId>org.jacoco</groupId>
131                                 <artifactId>jacoco-maven-plugin</artifactId>
132                                 <configuration>
133                                         <excludes>
134                                                 <exclude>**/gen/**</exclude>
135                                                 <exclude>**/generated-sources/**</exclude>
136                                                 <exclude>**/yang-gen/**</exclude>
137                                                 <exclude>**/pax/**</exclude>
138                                         </excludes>
139                                 </configuration>
140                                 <executions>
141                                         <execution>
142                                                 <id>pre-unit-test</id>
143                                                 <goals>
144                                                         <goal>prepare-agent</goal>
145                                                 </goals>
146                                                 <configuration>
147                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
148                                                         <propertyName>surefireArgLine</propertyName>
149                                                 </configuration>
150                                         </execution>
151                                         <execution>
152                                                 <id>post-unit-test</id>
153                                                 <phase>test</phase>
154                                                 <goals>
155                                                         <goal>report</goal>
156                                                 </goals>
157                                                 <configuration>
158                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
159                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
160                                                 </configuration>
161                                         </execution>
162                                         <execution>
163                                                 <id>pre-integration-test</id>
164                                                 <phase>pre-integration-test</phase>
165                                                 <goals>
166                                                         <goal>prepare-agent</goal>
167                                                 </goals>
168                                                 <configuration>
169                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
170                                                         <propertyName>failsafeArgLine</propertyName>
171                                                 </configuration>
172                                         </execution>
173                                         <execution>
174                                                 <id>post-integration-test</id>
175                                                 <phase>post-integration-test</phase>
176                                                 <goals>
177                                                         <goal>report</goal>
178                                                 </goals>
179                                                 <configuration>
180                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
181                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
182                                                 </configuration>
183                                         </execution>
184                                 </executions>
185                         </plugin>
186                 </plugins>
187
188         </build>
189
190         <distributionManagement>
191                 <repository>
192                         <id>ecomp-releases</id>
193                         <name>AAF Release Repository</name>
194                         <url>${nexusproxy}${releaseNexusPath}</url>
195                 </repository>
196                 <snapshotRepository>
197                         <id>ecomp-snapshots</id>
198                         <name>AAF Snapshot Repository</name>
199                         <url>${nexusproxy}${snapshotNexusPath}</url>
200                 </snapshotRepository>
201                 <site>
202                         <id>ecomp-site</id>
203                         <url>dav:${nexusproxy}${sitePath}</url>
204                 </site>
205         </distributionManagement>
206 </project>