1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START====================================================
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
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/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.aaf.auth</groupId>
27 <artifactId>parent</artifactId>
28 <version>2.1.0-SNAPSHOT</version>
29 <relativePath>../pom.xml</relativePath>
32 <artifactId>aaf-auth-oauth</artifactId>
33 <name>AAF Auth OAuth Service</name>
34 <description>OAuth Component for AAF Auth</description>
37 <project.swmVersion>25</project.swmVersion>
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.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
44 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
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>
56 <groupId>org.onap.aaf.auth</groupId>
57 <artifactId>aaf-auth-core</artifactId>
61 <groupId>org.onap.aaf.auth</groupId>
62 <artifactId>aaf-auth-cass</artifactId>
66 <groupId>org.onap.aaf.cadi</groupId>
67 <artifactId>aaf-cadi-aaf</artifactId>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-jar-plugin</artifactId>
78 <include>**/*.class</include>
81 <version>2.3.1</version>
83 <!--This plugin's configuration is used to store Eclipse m2e settings
84 only. It has no influence on the Maven build itself. -->
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-deploy-plugin</artifactId>
93 <groupId>org.codehaus.mojo</groupId>
94 <artifactId>appassembler-maven-plugin</artifactId>
98 <mainClass>org.onap.aaf.auth.oauth.AAF_OAuth</mainClass>
100 <commandLineArguments>
101 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.oauth.props</commandLineArgument>
102 </commandLineArguments>
108 <groupId>org.sonatype.plugins</groupId>
109 <artifactId>nexus-staging-maven-plugin</artifactId>
110 <version>1.6.7</version>
111 <extensions>true</extensions>
113 <nexusUrl>${nexusproxy}</nexusUrl>
114 <stagingProfileId>176c31dfe190a</stagingProfileId>
115 <serverId>ecomp-staging</serverId>
119 <groupId>org.jacoco</groupId>
120 <artifactId>jacoco-maven-plugin</artifactId>
121 <version>0.7.7.201606060606</version>
123 <dumpOnExit>true</dumpOnExit>
125 <include>org.onap.aaf.*</include>
130 <id>pre-unit-test</id>
132 <goal>prepare-agent</goal>
135 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
136 <!-- <append>true</append> -->
140 <id>pre-integration-test</id>
141 <phase>pre-integration-test</phase>
143 <goal>prepare-agent</goal>
146 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
147 <!-- <append>true</append> -->
154 <phase>post-integration-test</phase>
157 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
158 <directory>${project.build.directory}/coverage-reports</directory>
160 <include>*.exec</include>
164 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
172 <distributionManagement>
174 <id>ecomp-releases</id>
175 <name>AAF Release Repository</name>
176 <url>${nexusproxy}${releaseNexusPath}</url>
179 <id>ecomp-snapshots</id>
180 <name>AAF Snapshot Repository</name>
181 <url>${nexusproxy}${snapshotNexusPath}</url>
182 </snapshotRepository>
185 <url>dav:${nexusproxy}${sitePath}</url>
187 </distributionManagement>