Release aaf/authz
[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.15</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.jacoco</groupId>
130                                 <artifactId>jacoco-maven-plugin</artifactId>
131                                 <version>${jacoco.version}</version>
132                                 <configuration>
133                                         <excludes>
134                                                 <exclude>**/gen/**</exclude>
135                                                 <exclude>**/generated-sources/**</exclude>
136                                                 <exclude>**/yang-gen/**</exclude>
137                                                 <exclude>**/pax/**</exclude>
138                                         </excludes>
139                                 </configuration>
140                                 <executions>
141                                         <execution>
142                                                 <id>pre-unit-test</id>
143                                                 <goals>
144                                                         <goal>prepare-agent</goal>
145                                                 </goals>
146                                                 <configuration>
147                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
148                                                         <propertyName>surefireArgLine</propertyName>
149                                                 </configuration>
150                                         </execution>
151                                         <execution>
152                                                 <id>post-unit-test</id>
153                                                 <phase>test</phase>
154                                                 <goals>
155                                                         <goal>report</goal>
156                                                 </goals>
157                                                 <configuration>
158                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
159                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
160                                                 </configuration>
161                                         </execution>
162                                         <execution>
163                                                 <id>pre-integration-test</id>
164                                                 <phase>pre-integration-test</phase>
165                                                 <goals>
166                                                         <goal>prepare-agent</goal>
167                                                 </goals>
168                                                 <configuration>
169                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
170
171                                                         <propertyName>failsafeArgLine</propertyName>
172                                                 </configuration>
173                                         </execution>
174                                         <execution>
175                                                 <id>post-integration-test</id>
176                                                 <phase>post-integration-test</phase>
177                                                 <goals>
178                                                         <goal>report</goal>
179                                                 </goals>
180                                                 <configuration>
181                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
182                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
183                                                 </configuration>
184                                         </execution>
185                                 </executions>
186                         </plugin>
187                         <plugin>
188                                         <groupId>org.apache.maven.plugins</groupId>
189                                         <artifactId>maven-deploy-plugin</artifactId>
190                                         <version>2.8.1</version>
191                                         <configuration>
192                                                 <skip>false</skip>
193                                         </configuration>
194         
195                                 </plugin>
196                         </plugins>
197                 </pluginManagement>
198         </build>
199
200         
201         <distributionManagement>
202                 <repository>
203                         <id>ecomp-releases</id>
204                         <name>AAF Release Repository</name>
205                         <url>${nexusproxy}${releaseNexusPath}</url>
206                 </repository>
207                 <snapshotRepository>
208                         <id>ecomp-snapshots</id>
209                         <name>AAF Snapshot Repository</name>
210                         <url>${nexusproxy}${snapshotNexusPath}</url>
211                 </snapshotRepository>
212                 <site>
213                         <id>ecomp-site</id>
214                         <url>dav:${nexusproxy}${sitePath}</url>
215                 </site>
216         </distributionManagement>
217 </project>