Update to 2.1.11-SNAPSHOT
[aaf/authz.git] / cadi / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24         <parent>
25             <groupId>org.onap.aaf.authz</groupId>
26             <artifactId>parent</artifactId>
27             <version>2.1.11-SNAPSHOT</version>
28     </parent>
29         <artifactId>cadiparent</artifactId>
30         <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
31         <inceptionYear>2015-07-20</inceptionYear>
32         <organization>
33                 <name>ONAP</name>
34         </organization>
35         <packaging>pom</packaging>
36         
37         <properties>
38                 <!-- SONAR -->
39                 <!-- <sonar.skip>true</sonar.skip> -->
40                 <jacoco.version>0.7.7.201606060606</jacoco.version>
41                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
42                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
43                 <!-- Default Sonar configuration -->
44                 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
45                 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
46                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
47                         below -->
48                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49                 <nexusproxy>https://nexus.onap.org</nexusproxy>
50                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
53                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
54         </properties>
55         
56
57         <!-- ============================================================== -->
58         <!-- Define the major contributors and developers of CADI -->
59         <!-- ============================================================== -->
60         <developers>
61                 <developer>
62                         <name>Jonathan Gathman</name>
63                         <email>jonathan.gathman@att.com</email>
64                         <organization>ATT</organization>
65                         <roles>
66                                 <role>Architect</role>
67                                 <role>Lead Developer</role>
68                         </roles>
69                 </developer>
70                 <developer>
71                         <name>Gabe Maurer</name>
72                         <email>gabe.maurer@att.com</email>
73                         <organization>ATT</organization>
74                         <roles>
75                                 <role>Developer</role>
76                         </roles>
77                 </developer>
78                 <developer>
79                         <name>Ian Howell</name>
80                         <email>ian.howell@att.com</email>
81                         <organization>ATT</organization>
82                         <roles>
83                                 <role>Developer</role>
84                         </roles>
85                 </developer>
86                 <developer>
87                         <name>Sai Gandham</name>
88                         <email>sai.gandham@att.com</email>
89                         <organization>ATT</organization>
90                         <roles>
91                                 <role>Developer</role>
92                         </roles>
93                 </developer>
94         </developers>
95
96
97         <dependencies>
98                 <dependency>
99                         <groupId>org.mockito</groupId>
100                         <artifactId>mockito-all</artifactId>
101                         <scope>test</scope>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>org.powermock</groupId>
106                         <artifactId>powermock-module-junit4</artifactId>
107                         <scope>test</scope>
108                 </dependency>
109                 <dependency>
110                         <groupId>org.powermock</groupId>
111                         <artifactId>powermock-api-mockito</artifactId>
112                         <scope>test</scope>
113                 </dependency>
114
115                 <dependency>
116                         <groupId>junit</groupId>
117                         <artifactId>junit</artifactId>
118                         <scope>test</scope>
119                 </dependency>
120         </dependencies>
121
122         <!-- ============================================================== -->
123         <!-- Define sub-projects (modules) -->
124         <!-- ============================================================== -->
125         <modules>
126                 <module>core</module>
127                 <module>client</module>
128                 <module>aaf</module>
129                 <module>oauth-enduser</module>
130                 <module>servlet-sample</module>
131         </modules>
132
133
134         <!-- ============================================================== -->
135         <!-- Define common plugins and make them available for all modules -->
136         <!-- ============================================================== -->
137         <build>
138                 <testSourceDirectory>src/test/java</testSourceDirectory>
139                 <plugins>
140                 </plugins>
141                 <pluginManagement>
142                         <plugins>
143                                 <plugin>
144                                         <inherited>true</inherited>
145                                         <groupId>org.apache.maven.plugins</groupId>
146                                         <artifactId>maven-compiler-plugin</artifactId>
147                                         <version>2.3.2</version>
148                                         <configuration>
149                                                 <source>1.7</source>
150                                                 <target>1.7</target>
151                                         </configuration>
152                                 </plugin>
153
154                                 <plugin>
155                                         <groupId>org.apache.maven.plugins</groupId>
156                                         <version>2.4</version>
157                                         <artifactId>maven-jar-plugin</artifactId>
158                                         <configuration>
159                                                 <outputDirectory>target</outputDirectory>
160                                                 <archive>
161                                                         <manifestEntries>
162                                                                 <Sealed>true</Sealed>
163                                                         </manifestEntries>
164                                                 </archive>
165                                         </configuration>
166                                 </plugin>
167
168                                 <!-- Define the javadoc plugin -->
169                                 <plugin>
170                                         <groupId>org.apache.maven.plugins</groupId>
171                                         <artifactId>maven-javadoc-plugin</artifactId>
172                                         <version>2.10</version>
173                                         <configuration>
174                                                 <excludePackageNames>org.opendaylight.*</excludePackageNames>
175                                         </configuration>
176                                 </plugin>
177
178                                 <plugin>
179                                         <artifactId>maven-release-plugin</artifactId>
180                                         <version>2.5.2</version>
181                                         <configuration>
182                                                 <goals>-s ${mvn.settings} deploy</goals>
183                                         </configuration>
184                                 </plugin>
185
186                                 <plugin>
187                                         <artifactId>maven-assembly-plugin</artifactId>
188                                         <version>2.5.5</version>
189                                 </plugin>
190
191                                 <plugin>
192                                         <groupId>org.apache.maven.plugins</groupId>
193                                         <artifactId>maven-deploy-plugin</artifactId>
194                                         <version>2.8.1</version>
195                                         <configuration>
196                                                 <skip>false</skip>
197                                         </configuration>
198
199                                 </plugin>
200
201                                 <plugin>
202                                         <groupId>org.apache.maven.plugins</groupId>
203                                         <artifactId>maven-dependency-plugin</artifactId>
204                                         <version>2.10</version>
205                                 </plugin>
206
207                                 <!-- Maven surefire plugin for testing -->
208                                 <plugin>
209                                         <artifactId>maven-surefire-plugin</artifactId>
210                                         <version>2.17</version>
211                                         <configuration>
212                                                 <skipTests>false</skipTests>
213                                                 <includes>
214                                                         <include>**/JU*.java</include>
215                                                 </includes>
216                                                 <excludes>
217                                                 </excludes>
218                                                 <useSystemClassLoader>false</useSystemClassLoader>
219                                         </configuration>
220                                 </plugin>
221
222                                 <!--This plugin's configuration is used to store Eclipse m2e settings
223                                         only. It has no influence on the Maven build itself. -->
224                                 <plugin>
225                                         <groupId>org.eclipse.m2e</groupId>
226                                         <artifactId>lifecycle-mapping</artifactId>
227                                         <version>1.0.0</version>
228                                         <configuration>
229                                                 <lifecycleMappingMetadata>
230                                                         <pluginExecutions>
231                                                                 <pluginExecution>
232                                                                         <pluginExecutionFilter>
233                                                                                 <groupId>
234                                                                                         org.codehaus.mojo
235                                                                                 </groupId>
236                                                                                 <artifactId>
237                                                                                         jaxb2-maven-plugin
238                                                                                 </artifactId>
239                                                                                 <versionRange>
240                                                                                         [1.3,)
241                                                                                 </versionRange>
242                                                                                 <goals>
243                                                                                         <goal>xjc</goal>
244                                                                                 </goals>
245                                                                         </pluginExecutionFilter>
246                                                                         <action>
247                                                                                 <ignore />
248                                                                         </action>
249                                                                 </pluginExecution>
250                                                         </pluginExecutions>
251                                                 </lifecycleMappingMetadata>
252                                         </configuration>
253                                 </plugin>
254                                 <plugin>
255                                         <groupId>org.sonatype.plugins</groupId>
256                                         <artifactId>nexus-staging-maven-plugin</artifactId>
257                                         <version>1.6.7</version>
258                                         <extensions>true</extensions>
259                                         <configuration>
260                                                 <nexusUrl>${nexusproxy}</nexusUrl>
261                                                 <stagingProfileId>176c31dfe190a</stagingProfileId>
262                                                 <serverId>ecomp-staging</serverId>
263                                         </configuration>
264                                 </plugin>
265                                 <plugin>
266                                         <groupId>org.jacoco</groupId>
267                                         <artifactId>jacoco-maven-plugin</artifactId>
268                                         <version>${jacoco.version}</version>
269                                         <configuration>
270                                                 <excludes>
271                                                         <exclude>**/gen/**</exclude>
272                                                         <exclude>**/generated-sources/**</exclude>
273                                                         <exclude>**/yang-gen/**</exclude>
274                                                         <exclude>**/pax/**</exclude>
275                                                 </excludes>
276                                         </configuration>
277                                         <executions>
278                                                 <execution>
279                                                         <id>pre-unit-test</id>
280                                                         <goals>
281                                                                 <goal>prepare-agent</goal>
282                                                         </goals>
283                                                         <configuration>
284                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
285                                                                 <propertyName>surefireArgLine</propertyName>
286                                                         </configuration>
287                                                 </execution>
288                                                 <execution>
289                                                         <id>post-unit-test</id>
290                                                         <phase>test</phase>
291                                                         <goals>
292                                                                 <goal>report</goal>
293                                                         </goals>
294                                                         <configuration>
295                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
296                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
297                                                         </configuration>
298                                                 </execution>
299                                                 <execution>
300                                                         <id>pre-integration-test</id>
301                                                         <phase>pre-integration-test</phase>
302                                                         <goals>
303                                                                 <goal>prepare-agent</goal>
304                                                         </goals>
305                                                         <configuration>
306                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
307                                                                 <propertyName>failsafeArgLine</propertyName>
308                                                         </configuration>
309                                                 </execution>
310                                                 <execution>
311                                                         <id>post-integration-test</id>
312                                                         <phase>post-integration-test</phase>
313                                                         <goals>
314                                                                 <goal>report</goal>
315                                                         </goals>
316                                                         <configuration>
317                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
318                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
319                                                         </configuration>
320                                                 </execution>
321                                         </executions>
322                                 </plugin>
323                         </plugins>
324                 </pluginManagement>
325         </build>
326
327         <distributionManagement>
328                 <repository>
329                         <id>ecomp-releases</id>
330                         <name>AAF Release Repository</name>
331                         <url>${nexusproxy}${releaseNexusPath}</url>
332                 </repository>
333                 <snapshotRepository>
334                         <id>ecomp-snapshots</id>
335                         <name>AAF Snapshot Repository</name>
336                         <url>${nexusproxy}${snapshotNexusPath}</url>
337                 </snapshotRepository>
338                 <site>
339                         <id>ecomp-site</id>
340                         <url>dav:${nexusproxy}${sitePath}</url>
341                 </site>
342         </distributionManagement>
343
344 </project>