Create and prepare non-deploy release 2.7.1
[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.7.1-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>Sai Gandham</name>
72             <email>sai.gandham@att.com</email>
73             <organization>ATT</organization>
74             <roles>
75                 <role>Developer</role>
76             </roles>
77         </developer>
78     </developers>
79
80
81     <dependencies>
82         <dependency>
83             <groupId>org.mockito</groupId>
84             <artifactId>mockito-all</artifactId>
85             <scope>test</scope>
86         </dependency>
87
88         <dependency>
89             <groupId>org.powermock</groupId>
90             <artifactId>powermock-module-junit4</artifactId>
91             <scope>test</scope>
92         </dependency>
93         <dependency>
94             <groupId>org.powermock</groupId>
95             <artifactId>powermock-api-mockito</artifactId>
96             <scope>test</scope>
97         </dependency>
98
99         <dependency>
100             <groupId>junit</groupId>
101             <artifactId>junit</artifactId>
102             <scope>test</scope>
103         </dependency>
104     </dependencies>
105
106     <!-- ============================================================== -->
107     <!-- Define sub-projects (modules) -->
108     <!-- ============================================================== -->
109     <modules>
110         <module>core</module>
111         <module>client</module>
112         <module>aaf</module>
113         <module>oauth-enduser</module>
114         <module>servlet-sample</module>
115     </modules>
116
117
118     <!-- ============================================================== -->
119     <!-- Define common plugins and make them available for all modules -->
120     <!-- ============================================================== -->
121     <build>
122         <testSourceDirectory>src/test/java</testSourceDirectory>
123         <plugins>
124         </plugins>
125         <pluginManagement>
126             <plugins>
127                 <plugin>
128                     <inherited>true</inherited>
129                     <groupId>org.apache.maven.plugins</groupId>
130                     <artifactId>maven-compiler-plugin</artifactId>
131                     <version>2.3.2</version>
132                     <configuration>
133                         <source>1.7</source>
134                         <target>1.7</target>
135                     </configuration>
136                 </plugin>
137
138                 <plugin>
139                     <groupId>org.apache.maven.plugins</groupId>
140                     <version>2.4</version>
141                     <artifactId>maven-jar-plugin</artifactId>
142                     <configuration>
143                         <outputDirectory>target</outputDirectory>
144                         <archive>
145                             <manifestEntries>
146                                 <Sealed>true</Sealed>
147                             </manifestEntries>
148                         </archive>
149                     </configuration>
150                 </plugin>
151
152                 <!-- Define the javadoc plugin -->
153                 <plugin>
154                     <groupId>org.apache.maven.plugins</groupId>
155                     <artifactId>maven-javadoc-plugin</artifactId>
156                     <version>2.10</version>
157                     <configuration>
158                         <excludePackageNames>org.opendaylight.*</excludePackageNames>
159                     </configuration>
160                 </plugin>
161
162                 <plugin>
163                     <artifactId>maven-release-plugin</artifactId>
164                     <version>2.5.2</version>
165                     <configuration>
166                         <goals>-s ${mvn.settings} deploy</goals>
167                     </configuration>
168                 </plugin>
169
170                 <plugin>
171                     <artifactId>maven-assembly-plugin</artifactId>
172                     <version>2.5.5</version>
173                 </plugin>
174
175                 <plugin>
176                     <groupId>org.apache.maven.plugins</groupId>
177                     <artifactId>maven-dependency-plugin</artifactId>
178                     <version>2.10</version>
179                 </plugin>
180
181                 <!-- Maven surefire plugin for testing -->
182                 <plugin>
183                     <artifactId>maven-surefire-plugin</artifactId>
184                     <version>2.17</version>
185                     <configuration>
186                         <skipTests>false</skipTests>
187                         <includes>
188                             <include>**/JU*.java</include>
189                         </includes>
190                         <excludes>
191                         </excludes>
192                         <useSystemClassLoader>false</useSystemClassLoader>
193                     </configuration>
194                 </plugin>
195
196                 <!--This plugin's configuration is used to store Eclipse m2e settings
197                     only. It has no influence on the Maven build itself. -->
198                 <plugin>
199                     <groupId>org.eclipse.m2e</groupId>
200                     <artifactId>lifecycle-mapping</artifactId>
201                     <version>1.0.0</version>
202                     <configuration>
203                         <lifecycleMappingMetadata>
204                             <pluginExecutions>
205                                 <pluginExecution>
206                                     <pluginExecutionFilter>
207                                         <groupId>
208                                             org.codehaus.mojo
209                                         </groupId>
210                                         <artifactId>
211                                             jaxb2-maven-plugin
212                                         </artifactId>
213                                         <versionRange>
214                                             [1.3,)
215                                         </versionRange>
216                                         <goals>
217                                             <goal>xjc</goal>
218                                         </goals>
219                                     </pluginExecutionFilter>
220                                     <action>
221                                         <ignore />
222                                     </action>
223                                 </pluginExecution>
224                             </pluginExecutions>
225                         </lifecycleMappingMetadata>
226                     </configuration>
227                 </plugin>
228                 <plugin>
229                     <groupId>org.jacoco</groupId>
230                     <artifactId>jacoco-maven-plugin</artifactId>
231                     <version>${jacoco.version}</version>
232                     <configuration>
233                         <excludes>
234                             <exclude>**/gen/**</exclude>
235                             <exclude>**/generated-sources/**</exclude>
236                             <exclude>**/yang-gen/**</exclude>
237                             <exclude>**/pax/**</exclude>
238                         </excludes>
239                     </configuration>
240                     <executions>
241                         <execution>
242                             <id>pre-unit-test</id>
243                             <goals>
244                                 <goal>prepare-agent</goal>
245                             </goals>
246                             <configuration>
247                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
248                                 <propertyName>surefireArgLine</propertyName>
249                             </configuration>
250                         </execution>
251                         <execution>
252                             <id>post-unit-test</id>
253                             <phase>test</phase>
254                             <goals>
255                                 <goal>report</goal>
256                             </goals>
257                             <configuration>
258                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
259                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
260                             </configuration>
261                         </execution>
262                         <execution>
263                             <id>pre-integration-test</id>
264                             <phase>pre-integration-test</phase>
265                             <goals>
266                                 <goal>prepare-agent</goal>
267                             </goals>
268                             <configuration>
269                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
270                                 <propertyName>failsafeArgLine</propertyName>
271                             </configuration>
272                         </execution>
273                         <execution>
274                             <id>post-integration-test</id>
275                             <phase>post-integration-test</phase>
276                             <goals>
277                                 <goal>report</goal>
278                             </goals>
279                             <configuration>
280                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
281                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
282                             </configuration>
283                         </execution>
284                     </executions>
285                 </plugin>
286             </plugins>
287         </pluginManagement>
288     </build>
289
290     <distributionManagement>
291         <repository>
292             <id>ecomp-releases</id>
293             <name>AAF Release Repository</name>
294             <url>${nexusproxy}${releaseNexusPath}</url>
295         </repository>
296         <snapshotRepository>
297             <id>ecomp-snapshots</id>
298             <name>AAF Snapshot Repository</name>
299             <url>${nexusproxy}${snapshotNexusPath}</url>
300         </snapshotRepository>
301         <site>
302             <id>ecomp-site</id>
303             <url>dav:${nexusproxy}${sitePath}</url>
304         </site>
305     </distributionManagement>
306
307 </project>