1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- * ============LICENSE_START====================================================
3 * org.onap.aaf * ===========================================================================
4 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * ===========================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License"); * you may
6 not use this file except in compliance with the License. * You may obtain
7 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
8 * Unless required by applicable law or agreed to in writing, software * distributed
9 under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
10 OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
11 the specific language governing permissions and * limitations under the License.
12 * ============LICENSE_END====================================================
14 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
16 <modelVersion>4.0.0</modelVersion>
18 <groupId>org.onap.aaf.authz.auth</groupId>
19 <artifactId>parent</artifactId>
20 <version>2.1.0-SNAPSHOT</version>
21 <relativePath>../pom.xml</relativePath>
24 <artifactId>aaf-auth-service</artifactId>
25 <name>AAF Auth Service</name>
26 <description>Core API Component for AAF Auth</description>
29 <maven.test.failure.ignore>true</maven.test.failure.ignore>
31 <jacoco.version>0.7.7.201606060606</jacoco.version>
32 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
33 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
34 <!-- Default Sonar configuration -->
35 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
36 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
37 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
39 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
40 <nexusproxy>https://nexus.onap.org</nexusproxy>
41 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
42 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
43 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
44 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
50 <groupId>org.onap.aaf.authz.auth</groupId>
51 <artifactId>aaf-auth-client</artifactId>
55 <groupId>org.onap.aaf.authz.auth</groupId>
56 <artifactId>aaf-auth-core</artifactId>
59 <!-- Add the Organizations you wish to support. You can delete ONAP if
60 you have something else Match with Property Entry: Organization.<root ns>,
61 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
63 <groupId>org.onap.aaf.authz.auth</groupId>
64 <artifactId>aaf-auth-deforg</artifactId>
68 <groupId>org.onap.aaf.authz.auth</groupId>
69 <artifactId>aaf-auth-cass</artifactId>
73 <groupId>org.onap.aaf.authz.auth</groupId>
74 <artifactId>aaf-auth-oauth</artifactId>
78 <groupId>org.onap.aaf.authz.misc</groupId>
79 <artifactId>aaf-misc-rosetta</artifactId>
83 <groupId>org.onap.aaf.authz.cadi</groupId>
84 <artifactId>aaf-cadi-aaf</artifactId>
88 <groupId>org.eclipse.jetty</groupId>
89 <artifactId>jetty-servlet</artifactId>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-jar-plugin</artifactId>
101 <exclude>*.properties</exclude>
104 <version>2.3.1</version>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-deploy-plugin</artifactId>
114 <groupId>org.codehaus.mojo</groupId>
115 <artifactId>appassembler-maven-plugin</artifactId>
119 <mainClass>org.onap.aaf.auth.service.AAF_Service</mainClass>
121 <commandLineArguments>
122 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.service.props</commandLineArgument>
123 </commandLineArguments>
129 <groupId>org.sonatype.plugins</groupId>
130 <artifactId>nexus-staging-maven-plugin</artifactId>
131 <version>1.6.7</version>
132 <extensions>true</extensions>
134 <nexusUrl>${nexusproxy}</nexusUrl>
135 <stagingProfileId>176c31dfe190a</stagingProfileId>
136 <serverId>ecomp-staging</serverId>
140 <groupId>org.jacoco</groupId>
141 <artifactId>jacoco-maven-plugin</artifactId>
142 <version>${jacoco.version}</version>
145 <exclude>**/gen/**</exclude>
146 <exclude>**/generated-sources/**</exclude>
147 <exclude>**/yang-gen/**</exclude>
148 <exclude>**/pax/**</exclude>
154 <id>pre-unit-test</id>
156 <goal>prepare-agent</goal>
159 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
160 <propertyName>surefireArgLine</propertyName>
166 <id>post-unit-test</id>
172 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
173 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
177 <id>pre-integration-test</id>
178 <phase>pre-integration-test</phase>
180 <goal>prepare-agent</goal>
183 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
184 <propertyName>failsafeArgLine</propertyName>
189 <id>post-integration-test</id>
190 <phase>post-integration-test</phase>
195 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
196 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
201 <!-- plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId>
206 <distributionManagement>
208 <id>ecomp-releases</id>
209 <name>AAF Release Repository</name>
210 <url>${nexusproxy}${releaseNexusPath}</url>
213 <id>ecomp-snapshots</id>
214 <name>AAF Snapshot Repository</name>
215 <url>${nexusproxy}${snapshotNexusPath}</url>
216 </snapshotRepository>
219 <url>dav:${nexusproxy}${sitePath}</url>
221 </distributionManagement>