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