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