4edabecf93eb09de188f7fd24b2ba9d8931ea065
[aaf/authz.git] / cadi / shiro / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <parent>
25                 <groupId>org.onap.aaf.authz.cadi</groupId>
26                 <artifactId>parent</artifactId>
27                 <version>1.5.0-SNAPSHOT</version>
28                 <relativePath>..</relativePath>
29         </parent>
30
31         <modelVersion>4.0.0</modelVersion>
32         <name>AAF CADI Shiro Plugin</name>
33         <packaging>jar</packaging>
34         <artifactId>aaf-cadi-shiro</artifactId>
35
36         <properties>
37         <!--  SONAR  -->
38                  <jacoco.version>0.7.7.201606060606</jacoco.version>
39             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
40             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
41             <!-- Default Sonar configuration -->
42             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
43             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
44             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
45             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
46                 <nexusproxy>https://nexus.onap.org</nexusproxy>
47                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
48                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
49                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
50                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
51         </properties>
52
53         <developers>
54                 <developer>
55                         <name>Jonathan Gathman</name>
56                         <email>jonathan.gathman@att.com</email>
57                         <organization>ATT</organization>
58                         <roles>
59                                 <role>Architect</role>
60                                 <role>Lead Developer</role>
61                         </roles>
62                 </developer>
63                 <developer>
64                         <name>Gabe Maurer</name>
65                         <email>gabe.maurer@att.com</email>
66                         <organization>ATT</organization>
67                         <roles>
68                                 <role>Developer</role>
69                         </roles>
70                 </developer>
71                 <developer>
72                         <name>Ian Howell</name>
73                         <email>ian.howell@att.com</email>
74                         <organization>ATT</organization>
75                         <roles>
76                                 <role>Developer</role>
77                         </roles>
78                 </developer>
79                 <developer>
80                         <name>Sai Gandham</name>
81                         <email>sai.gandham@att.com</email>
82                         <organization>ATT</organization>
83                         <roles>
84                                 <role>Developer</role>
85                         </roles>
86                 </developer>
87         </developers>
88
89         <dependencies>
90                 <dependency>
91                         <groupId>org.onap.aaf.authz.cadi</groupId>
92                         <artifactId>aaf-cadi-aaf</artifactId>
93                 </dependency>
94                 <dependency>
95                         <groupId>org.apache.shiro</groupId>
96                         <artifactId>shiro-core</artifactId>
97                         <version>1.3.2</version>
98                 </dependency>
99         </dependencies>
100         <build>
101                 <plugins>
102                         <plugin>
103                                 <groupId>org.sonatype.plugins</groupId>
104                                 <artifactId>nexus-staging-maven-plugin</artifactId>
105                                 <version>1.6.7</version>
106                                 <extensions>true</extensions>
107                                 <configuration>
108                                         <nexusUrl>${nexusproxy}</nexusUrl>
109                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
110                                         <serverId>ecomp-staging</serverId>
111                                 </configuration>
112                         </plugin>
113                         <plugin>
114                                 <groupId>org.apache.maven.plugins</groupId>
115                                 <artifactId>maven-deploy-plugin</artifactId>
116                                 <version>2.8.1</version>
117                                 <configuration>
118                                         <skip>false</skip>
119                                 </configuration>
120                         </plugin>
121                         <plugin>
122                                 <groupId>org.jacoco</groupId>
123                                 <artifactId>jacoco-maven-plugin</artifactId>
124                                 <version>${jacoco.version}</version>
125                                 <configuration>
126                                         <excludes>
127                                                 <exclude>**/gen/**</exclude>
128                                                 <exclude>**/generated-sources/**</exclude>
129                                                 <exclude>**/yang-gen/**</exclude>
130                                                 <exclude>**/pax/**</exclude>
131                                         </excludes>
132                                 </configuration>
133                                 <executions>
134                                         <execution>
135                                                 <id>pre-unit-test</id>
136                                                 <goals>
137                                                         <goal>prepare-agent</goal>
138                                                 </goals>
139                                                 <configuration>
140                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
141                                                         <propertyName>surefireArgLine</propertyName>
142                                                 </configuration>
143                                         </execution>
144                                         <execution>
145                                                 <id>post-unit-test</id>
146                                                 <phase>test</phase>
147                                                 <goals>
148                                                         <goal>report</goal>
149                                                 </goals>
150                                                 <configuration>
151                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
152                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
153                                                 </configuration>
154                                         </execution>
155                                         <execution>
156                                                 <id>pre-integration-test</id>
157                                                 <phase>pre-integration-test</phase>
158                                                 <goals>
159                                                         <goal>prepare-agent</goal>
160                                                 </goals>
161                                                 <configuration>
162                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
163                                                         <propertyName>failsafeArgLine</propertyName>
164                                                 </configuration>
165                                         </execution>
166                                         <execution>
167                                                 <id>post-integration-test</id>
168                                                 <phase>post-integration-test</phase>
169                                                 <goals>
170                                                         <goal>report</goal>
171                                                 </goals>
172                                                 <configuration>
173                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
174                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
175                                                 </configuration>
176                                         </execution>
177                                 </executions>
178                         </plugin>
179                 </plugins>
180
181         </build>
182
183         <distributionManagement>
184                 <repository>
185                         <id>ecomp-releases</id>
186                         <name>AAF Release Repository</name>
187                         <url>${nexusproxy}${releaseNexusPath}</url>
188                 </repository>
189                 <snapshotRepository>
190                         <id>ecomp-snapshots</id>
191                         <name>AAF Snapshot Repository</name>
192                         <url>${nexusproxy}${snapshotNexusPath}</url>
193                 </snapshotRepository>
194                 <site>
195                         <id>ecomp-site</id>
196                         <url>dav:${nexusproxy}${sitePath}</url>
197                 </site>
198         </distributionManagement>
199 </project>