blob: be68eb97faaf9ed8503bf7678deee8308370357f [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"
Instrumentale9ae0482019-08-02 14:46:27 -050023 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>
Instrumental4d0a0452019-11-14 12:14:16 -060028 <version>2.1.17-SNAPSHOT</version>
Instrumentale9ae0482019-08-02 14:46:27 -050029 <relativePath>..</relativePath>
30 </parent>
31
32 <name>AAF CADI Sample OAuth EndUser</name>
33 <artifactId>aaf-cadi-oauth-enduser</artifactId>
34 <packaging>jar</packaging>
Instrumentala20accc2018-03-26 13:49:56 -070035
Instrumentale9ae0482019-08-02 14:46:27 -050036 <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>
Instrumentale9ae0482019-08-02 14:46:27 -050064 </developers>
65
66 <dependencies>
67 <dependency>
68 <groupId>org.onap.aaf.authz</groupId>
69 <artifactId>aaf-cadi-core</artifactId>
70 </dependency>
71 <dependency>
72 <groupId>org.onap.aaf.authz</groupId>
73 <artifactId>aaf-cadi-aaf</artifactId>
74 </dependency>
75 </dependencies>
Instrumentala20accc2018-03-26 13:49:56 -070076
Instrumentale9ae0482019-08-02 14:46:27 -050077 <build>
78 <pluginManagement>
79 <plugins>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-compiler-plugin</artifactId>
83 <version>2.3.2</version>
84 <configuration>
85 <source>1.8</source>
86 <target>1.8</target>
87 </configuration>
88 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -070089
Instrumentale9ae0482019-08-02 14:46:27 -050090 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <version>2.4</version>
93 <artifactId>maven-jar-plugin</artifactId>
94 <configuration>
95 <outputDirectory>target</outputDirectory>
96 </configuration>
97 </plugin>
98 <plugin>
99 <artifactId>maven-assembly-plugin</artifactId>
100 <version>2.4</version>
101 <configuration>
102 <archive>
103 <manifest>
104 <mainClass>org.onap.aaf.cadi.enduser.OAuthExample</mainClass>
105 </manifest>
106 </archive>
107 <descriptors>
108 <descriptor>src/main/assemble/cadi-oauth-enduser-assemble.xml</descriptor>
109 </descriptors>
110 </configuration>
111 </plugin>
112 <plugin>
113 <groupId>org.jacoco</groupId>
114 <artifactId>jacoco-maven-plugin</artifactId>
115 <version>${jacoco.version}</version>
116 <configuration>
117 <excludes>
118 <exclude>**/gen/**</exclude>
119 <exclude>**/generated-sources/**</exclude>
120 <exclude>**/yang-gen/**</exclude>
121 <exclude>**/pax/**</exclude>
122 </excludes>
123 </configuration>
124 <executions>
125 <execution>
126 <id>pre-unit-test</id>
127 <goals>
128 <goal>prepare-agent</goal>
129 </goals>
130 <configuration>
131 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
132 <propertyName>surefireArgLine</propertyName>
133 </configuration>
134 </execution>
135 <execution>
136 <id>post-unit-test</id>
137 <phase>test</phase>
138 <goals>
139 <goal>report</goal>
140 </goals>
141 <configuration>
142 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
143 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
144 </configuration>
145 </execution>
146 <execution>
147 <id>pre-integration-test</id>
148 <phase>pre-integration-test</phase>
149 <goals>
150 <goal>prepare-agent</goal>
151 </goals>
152 <configuration>
153 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500154
Instrumentale9ae0482019-08-02 14:46:27 -0500155 <propertyName>failsafeArgLine</propertyName>
156 </configuration>
157 </execution>
158 <execution>
159 <id>post-integration-test</id>
160 <phase>post-integration-test</phase>
161 <goals>
162 <goal>report</goal>
163 </goals>
164 <configuration>
165 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
166 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
167 </configuration>
168 </execution>
169 </executions>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-deploy-plugin</artifactId>
174 <version>2.8.1</version>
175 <configuration>
176 <skip>false</skip>
177 </configuration>
178
179 </plugin>
180 </plugins>
181 </pluginManagement>
182 </build>
Instrumentala20accc2018-03-26 13:49:56 -0700183
Instrumentale9ae0482019-08-02 14:46:27 -0500184
185 <distributionManagement>
186 <repository>
187 <id>ecomp-releases</id>
188 <name>AAF Release Repository</name>
189 <url>${nexusproxy}${releaseNexusPath}</url>
190 </repository>
191 <snapshotRepository>
192 <id>ecomp-snapshots</id>
193 <name>AAF Snapshot Repository</name>
194 <url>${nexusproxy}${snapshotNexusPath}</url>
195 </snapshotRepository>
196 <site>
197 <id>ecomp-site</id>
198 <url>dav:${nexusproxy}${sitePath}</url>
199 </site>
200 </distributionManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700201</project>