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