blob: 55a5a9a8ebfb112dc3352a448116ad8ce31132c2 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -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/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
Instrumental17ca7442018-03-29 16:54:19 -050026 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070027 <artifactId>parent</artifactId>
28 <version>2.1.0-SNAPSHOT</version>
29 <relativePath>../pom.xml</relativePath>
30 </parent>
31
32 <artifactId>aaf-auth-oauth</artifactId>
33 <name>AAF Auth OAuth Service</name>
34 <description>OAuth Component for AAF Auth</description>
35
36 <properties>
37 <project.swmVersion>25</project.swmVersion>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000038 <!-- SONAR -->
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>
Instrumental71037c32018-03-26 13:51:48 -070052 </properties>
53
54 <dependencies>
55 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050056 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070057 <artifactId>aaf-auth-core</artifactId>
58 </dependency>
59
60 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050061 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070062 <artifactId>aaf-auth-cass</artifactId>
63 </dependency>
64
65 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050066 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumental71037c32018-03-26 13:51:48 -070067 <artifactId>aaf-cadi-aaf</artifactId>
68 </dependency>
69 </dependencies>
70
71 <build>
72 <plugins>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-jar-plugin</artifactId>
76 <configuration>
77 <includes>
78 <include>**/*.class</include>
79 </includes>
80 </configuration>
81 <version>2.3.1</version>
82 </plugin>
83 <!--This plugin's configuration is used to store Eclipse m2e settings
84 only. It has no influence on the Maven build itself. -->
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-deploy-plugin</artifactId>
88 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -050089 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -070090 </configuration>
91 </plugin>
92 <plugin>
93 <groupId>org.codehaus.mojo</groupId>
94 <artifactId>appassembler-maven-plugin</artifactId>
95 <configuration>
96 <programs>
97 <program>
98 <mainClass>org.onap.aaf.auth.oauth.AAF_OAuth</mainClass>
99 <name>oauth</name>
100 <commandLineArguments>
101 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.oauth.props</commandLineArgument>
102 </commandLineArguments>
103 </program>
104 </programs>
105 </configuration>
106 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000107 <plugin>
108 <groupId>org.sonatype.plugins</groupId>
109 <artifactId>nexus-staging-maven-plugin</artifactId>
110 <version>1.6.7</version>
111 <extensions>true</extensions>
112 <configuration>
113 <nexusUrl>${nexusproxy}</nexusUrl>
114 <stagingProfileId>176c31dfe190a</stagingProfileId>
115 <serverId>ecomp-staging</serverId>
116 </configuration>
117 </plugin>
118 <plugin>
119 <groupId>org.jacoco</groupId>
120 <artifactId>jacoco-maven-plugin</artifactId>
121 <version>0.7.7.201606060606</version>
122 <configuration>
123 <dumpOnExit>true</dumpOnExit>
124 <includes>
125 <include>org.onap.aaf.*</include>
126 </includes>
127 </configuration>
128 <executions>
129 <execution>
130 <id>pre-unit-test</id>
131 <goals>
132 <goal>prepare-agent</goal>
133 </goals>
134 <configuration>
135 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
136 <!-- <append>true</append> -->
137 </configuration>
138 </execution>
139 <execution>
140 <id>pre-integration-test</id>
141 <phase>pre-integration-test</phase>
142 <goals>
143 <goal>prepare-agent</goal>
144 </goals>
145 <configuration>
146 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
147 <!-- <append>true</append> -->
148 </configuration>
149 </execution>
150 <execution>
151 <goals>
152 <goal>merge</goal>
153 </goals>
154 <phase>post-integration-test</phase>
155 <configuration>
156 <fileSets>
157 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
158 <directory>${project.build.directory}/coverage-reports</directory>
159 <includes>
160 <include>*.exec</include>
161 </includes>
162 </fileSet>
163 </fileSets>
164 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
165 </configuration>
166 </execution>
167 </executions>
168 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700169 </plugins>
170 </build>
171
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000172 <distributionManagement>
173 <repository>
174 <id>ecomp-releases</id>
175 <name>AAF Release Repository</name>
176 <url>${nexusproxy}${releaseNexusPath}</url>
177 </repository>
178 <snapshotRepository>
179 <id>ecomp-snapshots</id>
180 <name>AAF Snapshot Repository</name>
181 <url>${nexusproxy}${snapshotNexusPath}</url>
182 </snapshotRepository>
183 <site>
184 <id>ecomp-site</id>
185 <url>dav:${nexusproxy}${sitePath}</url>
186 </site>
187 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000188
Instrumental71037c32018-03-26 13:51:48 -0700189</project>