blob: 034c0b961c5f58bc0ea52130cf628a605228f3b5 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?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/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000026 <artifactId>authparent</artifactId>
Instrumental71037c32018-03-26 13:51:48 -070027 <relativePath>../pom.xml</relativePath>
Sai Gandham83fc0252018-04-09 16:28:48 +000028 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070029 <version>2.1.0-SNAPSHOT</version>
30 </parent>
31
32 <artifactId>aaf-auth-deforg</artifactId>
33 <name>AAF Auth Default Organization</name>
34 <description>Example Organization Module</description>
35 <packaging>jar</packaging>
36
37 <developers>
38 <developer>
39 <name>Jonathan Gathman</name>
40 <email>jonathan.gathman@att.com</email>
41 <organization>ATT</organization>
42 <roles>
43 <role>Architect</role>
44 <role>Lead Developer</role>
45 </roles>
46 </developer>
47 <developer>
48 <name>Gabe Maurer</name>
49 <email>gabe.maurer@att.com</email>
50 <organization>ATT</organization>
51 <roles>
52 <role>Developer</role>
53 </roles>
54 </developer>
55 <developer>
56 <name>Ian Howell</name>
57 <email>ian.howell@att.com</email>
58 <organization>ATT</organization>
59 <roles>
60 <role>Developer</role>
61 </roles>
62 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000063 <developer>
64 <name>Sai Gandham</name>
65 <email>sai.gandham@att.com</email>
66 <organization>ATT</organization>
67 <roles>
68 <role>Developer</role>
69 </roles>
70 </developer>
Instrumental71037c32018-03-26 13:51:48 -070071 </developers>
72
73
74 <properties>
75 <maven.test.failure.ignore>false</maven.test.failure.ignore>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000076 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000077 <!-- <sonar.skip>true</sonar.skip> -->
Sai Gandhamc434f3c2018-03-27 16:29:24 +000078 <jacoco.version>0.7.7.201606060606</jacoco.version>
Youssef Chawki174ec2e2018-05-07 20:08:31 +020079 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
80 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
81 <!-- Default Sonar configuration -->
82 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
83 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
84 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
85 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000086 <nexusproxy>https://nexus.onap.org</nexusproxy>
87 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
88 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
89 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000090 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumental71037c32018-03-26 13:51:48 -070091 </properties>
92
93
94 <dependencies>
95 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000096 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070097 <artifactId>aaf-cadi-core</artifactId>
su622b40077be2018-04-08 13:50:31 -040098 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070099 </dependency>
100
101 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000102 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700103 <artifactId>aaf-auth-core</artifactId>
su622b40077be2018-04-08 13:50:31 -0400104 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -0700105 </dependency>
106
107 <dependency>
108 <groupId>javax.mail</groupId>
109 <artifactId>mail</artifactId>
110 </dependency>
Youssef Chawki174ec2e2018-05-07 20:08:31 +0200111
112 <dependency>
113 <groupId>org.jvnet.mock-javamail</groupId>
114 <artifactId>mock-javamail</artifactId>
115 <version>1.9</version>
116 </dependency>
Instrumental71037c32018-03-26 13:51:48 -0700117 </dependencies>
118
119 <build>
120 <pluginManagement>
121 <plugins>
Sai Gandham05c86472018-03-27 21:08:58 +0000122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-deploy-plugin</artifactId>
125 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500126 <skip>false</skip>
Sai Gandham05c86472018-03-27 21:08:58 +0000127 </configuration>
128 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-javadoc-plugin</artifactId>
132 <version>2.10.4</version>
133 <configuration>
134 <failOnError>false</failOnError>
135 </configuration>
136 <executions>
137 <execution>
138 <id>attach-javadocs</id>
139 <goals>
140 <goal>jar</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
146 <groupId>org.sonatype.plugins</groupId>
147 <artifactId>nexus-staging-maven-plugin</artifactId>
148 <version>1.6.7</version>
149 <extensions>true</extensions>
150 <configuration>
151 <nexusUrl>${nexusproxy}</nexusUrl>
152 <stagingProfileId>176c31dfe190a</stagingProfileId>
153 <serverId>ecomp-staging</serverId>
154 </configuration>
155 </plugin>
156 <plugin>
157 <groupId>org.jacoco</groupId>
158 <artifactId>jacoco-maven-plugin</artifactId>
159 <version>${jacoco.version}</version>
160 <configuration>
161 <excludes>
162 <exclude>**/gen/**</exclude>
163 <exclude>**/generated-sources/**</exclude>
164 <exclude>**/yang-gen/**</exclude>
165 <exclude>**/pax/**</exclude>
166 </excludes>
167 </configuration>
168 <executions>
Instrumental71037c32018-03-26 13:51:48 -0700169 <execution>
170 <id>pre-unit-test</id>
171 <goals>
172 <goal>prepare-agent</goal>
173 </goals>
174 <configuration>
175 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
176 <propertyName>surefireArgLine</propertyName>
177 </configuration>
178 </execution>
Instrumental71037c32018-03-26 13:51:48 -0700179 <execution>
180 <id>post-unit-test</id>
181 <phase>test</phase>
182 <goals>
183 <goal>report</goal>
184 </goals>
185 <configuration>
186 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
187 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Youssef Chawki22a29962018-05-02 00:14:47 +0200188 <includes>
189 <include>**</include>
190 </includes>
Instrumental71037c32018-03-26 13:51:48 -0700191 </configuration>
192 </execution>
193 <execution>
194 <id>pre-integration-test</id>
195 <phase>pre-integration-test</phase>
196 <goals>
197 <goal>prepare-agent</goal>
198 </goals>
199 <configuration>
200 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Youssef Chawki22a29962018-05-02 00:14:47 +0200201 <includes>
202 <include>**</include>
203 </includes>
Instrumental71037c32018-03-26 13:51:48 -0700204 <propertyName>failsafeArgLine</propertyName>
205 </configuration>
206 </execution>
Instrumental71037c32018-03-26 13:51:48 -0700207 <execution>
208 <id>post-integration-test</id>
209 <phase>post-integration-test</phase>
210 <goals>
211 <goal>report</goal>
212 </goals>
213 <configuration>
214 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
215 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
216 </configuration>
217 </execution>
218 </executions>
219 </plugin>
220 </plugins>
221 </pluginManagement>
222 </build>
223
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000224 <distributionManagement>
225 <repository>
226 <id>ecomp-releases</id>
227 <name>AAF Release Repository</name>
228 <url>${nexusproxy}${releaseNexusPath}</url>
229 </repository>
230 <snapshotRepository>
231 <id>ecomp-snapshots</id>
232 <name>AAF Snapshot Repository</name>
233 <url>${nexusproxy}${snapshotNexusPath}</url>
234 </snapshotRepository>
235 <site>
236 <id>ecomp-site</id>
237 <url>dav:${nexusproxy}${sitePath}</url>
238 </site>
239 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700240</project>