blob: 5e0c56fb539f1634e720fe861079aaa715b5141c [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?xml version="1.0" encoding="UTF-8"?>
gabe.maurer2e233282018-04-03 11:18:38 -05002<!-- * ============LICENSE_START====================================================
Instrumentale9ae0482019-08-02 14:46:27 -05003 * 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====================================================
13 * -->
Instrumental71037c32018-03-26 13:51:48 -070014<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 -050015 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>
17 <parent>
18 <groupId>org.onap.aaf.authz</groupId>
19 <artifactId>authparent</artifactId>
Instrumental54f1bd22019-08-06 17:34:04 -050020 <version>2.1.16-SNAPSHOT</version>
Instrumentale9ae0482019-08-02 14:46:27 -050021 <relativePath>../pom.xml</relativePath>
22 </parent>
Instrumental71037c32018-03-26 13:51:48 -070023
Instrumentale9ae0482019-08-02 14:46:27 -050024 <artifactId>aaf-auth-oauth</artifactId>
25 <name>AAF Auth OAuth Service</name>
26 <description>OAuth Component for AAF Auth</description>
Instrumental71037c32018-03-26 13:51:48 -070027
Instrumentale9ae0482019-08-02 14:46:27 -050028 <properties>
29 <project.swmVersion>25</project.swmVersion>
30 <!-- SONAR -->
31 <!-- <sonar.skip>true</sonar.skip> -->
32 <jacoco.version>0.7.7.201606060606</jacoco.version>
33 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
34 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
35 <!-- Default Sonar configuration -->
36 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
37 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
38 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
39 below -->
40 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
41 <nexusproxy>https://nexus.onap.org</nexusproxy>
42 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
43 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
44 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
45 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
46 </properties>
Instrumental71037c32018-03-26 13:51:48 -070047
Instrumentale9ae0482019-08-02 14:46:27 -050048 <dependencies>
49 <dependency>
50 <groupId>org.onap.aaf.authz</groupId>
51 <artifactId>aaf-auth-core</artifactId>
52 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070053
Instrumentale9ae0482019-08-02 14:46:27 -050054 <dependency>
55 <groupId>org.onap.aaf.authz</groupId>
56 <artifactId>aaf-auth-cass</artifactId>
57 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070058
Instrumentale9ae0482019-08-02 14:46:27 -050059 <dependency>
60 <groupId>org.onap.aaf.authz</groupId>
61 <artifactId>aaf-cadi-aaf</artifactId>
62 </dependency>
63 </dependencies>
Instrumental71037c32018-03-26 13:51:48 -070064
Instrumentale9ae0482019-08-02 14:46:27 -050065 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-jar-plugin</artifactId>
70 <configuration>
71 <includes>
72 <include>**/*.class</include>
73 </includes>
74 </configuration>
75 <version>2.3.1</version>
76 </plugin>
77 <plugin>
78 <groupId>org.codehaus.mojo</groupId>
79 <artifactId>appassembler-maven-plugin</artifactId>
80 <configuration>
81 <programs>
82 <program>
83 <mainClass>org.onap.aaf.auth.oauth.AAF_OAuth</mainClass>
84 <name>oauth</name>
85 <commandLineArguments>
86 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.oauth.props</commandLineArgument>
87 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/oauth</commandLineArgument>
88 <commandLineArgument>cadi_etc_dir=${project.ext_root_dir}/etc</commandLineArgument>
89 </commandLineArguments>
90 </program>
91 </programs>
92 </configuration>
93 </plugin>
94 <plugin>
95 <groupId>org.jacoco</groupId>
96 <artifactId>jacoco-maven-plugin</artifactId>
97 <configuration>
98 <excludes>
99 <exclude>**/gen/**</exclude>
100 <exclude>**/generated-sources/**</exclude>
101 <exclude>**/yang-gen/**</exclude>
102 <exclude>**/pax/**</exclude>
103 </excludes>
104 </configuration>
105 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500106
Instrumentale9ae0482019-08-02 14:46:27 -0500107 <execution>
108 <id>pre-unit-test</id>
109 <goals>
110 <goal>prepare-agent</goal>
111 </goals>
112 <configuration>
113 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
114 <propertyName>surefireArgLine</propertyName>
115 </configuration>
116 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500117
118
Instrumentale9ae0482019-08-02 14:46:27 -0500119 <execution>
120 <id>post-unit-test</id>
121 <phase>test</phase>
122 <goals>
123 <goal>report</goal>
124 </goals>
125 <configuration>
126 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
127 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
128 </configuration>
129 </execution>
130 <execution>
131 <id>pre-integration-test</id>
132 <phase>pre-integration-test</phase>
133 <goals>
134 <goal>prepare-agent</goal>
135 </goals>
136 <configuration>
137 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
138 <propertyName>failsafeArgLine</propertyName>
139 </configuration>
140 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500141
Instrumentale9ae0482019-08-02 14:46:27 -0500142 <execution>
143 <id>post-integration-test</id>
144 <phase>post-integration-test</phase>
145 <goals>
146 <goal>report</goal>
147 </goals>
148 <configuration>
149 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
150 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155 </plugins>
156 </build>
Instrumental71037c32018-03-26 13:51:48 -0700157
Instrumentale9ae0482019-08-02 14:46:27 -0500158 <distributionManagement>
159 <repository>
160 <id>ecomp-releases</id>
161 <name>AAF Release Repository</name>
162 <url>${nexusproxy}${releaseNexusPath}</url>
163 </repository>
164 <snapshotRepository>
165 <id>ecomp-snapshots</id>
166 <name>AAF Snapshot Repository</name>
167 <url>${nexusproxy}${snapshotNexusPath}</url>
168 </snapshotRepository>
169 <site>
170 <id>ecomp-site</id>
171 <url>dav:${nexusproxy}${sitePath}</url>
172 </site>
173 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000174
Instrumental71037c32018-03-26 13:51:48 -0700175</project>