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