blob: ce12db8a8e33faec877d9c4bdfbee26ac4a082c7 [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====================================================
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====================================================
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"
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>
17 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000018 <groupId>org.onap.aaf.authz</groupId>
19 <artifactId>authparent</artifactId>
Instrumental71037c32018-03-26 13:51:48 -070020 <version>2.1.0-SNAPSHOT</version>
21 <relativePath>../pom.xml</relativePath>
22 </parent>
23
24 <artifactId>aaf-auth-gui</artifactId>
25 <name>AAF Auth GUI</name>
26 <description>GUI Component for AAF Auth Management</description>
27
28 <properties>
29 <maven.test.failure.ignore>true</maven.test.failure.ignore>
gabe.maurer2e233282018-04-03 11:18:38 -050030 <!-- SONAR -->
Sai Gandham1ef69d22018-04-03 16:25:33 -050031 <sonar.skip>true</sonar.skip>
gabe.maurer2e233282018-04-03 11:18:38 -050032 <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 -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050036 <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>
gabe.maurer2e233282018-04-03 11:18:38 -050038 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
39 below -->
40 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000041 <nexusproxy>https://nexus.onap.org</nexusproxy>
42 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
43 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
44 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000045 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumental71037c32018-03-26 13:51:48 -070046 </properties>
47
48
49 <dependencies>
50 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000051 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070052 <artifactId>aaf-auth-core</artifactId>
su622b40077be2018-04-08 13:50:31 -040053 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070054 </dependency>
55
56 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000057 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070058 <artifactId>aaf-auth-client</artifactId>
su622b40077be2018-04-08 13:50:31 -040059 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070060 </dependency>
61
62 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000063 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070064 <artifactId>aaf-auth-cmd</artifactId>
su622b40077be2018-04-08 13:50:31 -040065 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070066 </dependency>
67
68 <!-- Add the Organizations you wish to support. You can delete ONAP if
69 you have something else Match with Property Entry: Organization.<root ns>,
70 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
71 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000072 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070073 <artifactId>aaf-auth-deforg</artifactId>
su622b40077be2018-04-08 13:50:31 -040074 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070075 </dependency>
76
77 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000078 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070079 <artifactId>aaf-cadi-aaf</artifactId>
su622b40077be2018-04-08 13:50:31 -040080 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070081 </dependency>
82
83 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000084 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070085 <artifactId>aaf-cadi-client</artifactId>
su622b40077be2018-04-08 13:50:31 -040086 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070087 </dependency>
88
89 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000090 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070091 <artifactId>aaf-misc-xgen</artifactId>
su622b40077be2018-04-08 13:50:31 -040092 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070093 </dependency>
94
95
96
97 </dependencies>
98
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-jar-plugin</artifactId>
104 <configuration>
105 <includes>
106 <include>**/*.class</include>
107 </includes>
108 </configuration>
109 <version>2.3.1</version>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-deploy-plugin</artifactId>
114 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500115 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700116 </configuration>
117 </plugin>
118 <plugin>
119 <groupId>org.codehaus.mojo</groupId>
120 <artifactId>appassembler-maven-plugin</artifactId>
121 <configuration>
122 <programs>
123 <program>
124 <mainClass>org.onap.aaf.auth.gui.AAF_GUI</mainClass>
125 <name>gui</name>
126 <commandLineArguments>
Instrumental924b18d2018-04-05 20:17:18 -0500127 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.gui.props</commandLineArgument>
128 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/gui</commandLineArgument>
Instrumental71037c32018-03-26 13:51:48 -0700129 </commandLineArguments>
130 <jvmSettings>
131 <extraArguments>
132 <extraArgument>-Daaf_cfa_web_path=$BASEDIR/theme/onap</extraArgument>
133 </extraArguments>
134 </jvmSettings>
135 </program>
136 </programs>
137 <copyConfigurationDirectory>true</copyConfigurationDirectory>
138 <configurationDirectory>theme</configurationDirectory>
139 <configurationSourceDirectory>theme</configurationSourceDirectory>
140 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500141
Instrumental71037c32018-03-26 13:51:48 -0700142 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000143 <plugin>
144 <groupId>org.sonatype.plugins</groupId>
145 <artifactId>nexus-staging-maven-plugin</artifactId>
146 <version>1.6.7</version>
147 <extensions>true</extensions>
148 <configuration>
149 <nexusUrl>${nexusproxy}</nexusUrl>
150 <stagingProfileId>176c31dfe190a</stagingProfileId>
151 <serverId>ecomp-staging</serverId>
152 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500153 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000154 <plugin>
155 <groupId>org.jacoco</groupId>
156 <artifactId>jacoco-maven-plugin</artifactId>
gabe.maurer2e233282018-04-03 11:18:38 -0500157 <version>${jacoco.version}</version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000158 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500159 <excludes>
160 <exclude>**/gen/**</exclude>
161 <exclude>**/generated-sources/**</exclude>
162 <exclude>**/yang-gen/**</exclude>
163 <exclude>**/pax/**</exclude>
164 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000165 </configuration>
166 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500167
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000168 <execution>
169 <id>pre-unit-test</id>
170 <goals>
171 <goal>prepare-agent</goal>
172 </goals>
173 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500174 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
175 <propertyName>surefireArgLine</propertyName>
176 </configuration>
177 </execution>
178
179
180 <execution>
181 <id>post-unit-test</id>
182 <phase>test</phase>
183 <goals>
184 <goal>report</goal>
185 </goals>
186 <configuration>
187 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
188 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000189 </configuration>
190 </execution>
191 <execution>
192 <id>pre-integration-test</id>
193 <phase>pre-integration-test</phase>
194 <goals>
195 <goal>prepare-agent</goal>
196 </goals>
197 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500198 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
199 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000200 </configuration>
201 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500202
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000203 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500204 <id>post-integration-test</id>
205 <phase>post-integration-test</phase>
206 <goals>
207 <goal>report</goal>
208 </goals>
209 <configuration>
210 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
211 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
212 </configuration>
213 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000214 </executions>
215 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700216 </plugins>
217 </build>
218
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000219 <distributionManagement>
220 <repository>
221 <id>ecomp-releases</id>
222 <name>AAF Release Repository</name>
223 <url>${nexusproxy}${releaseNexusPath}</url>
224 </repository>
225 <snapshotRepository>
226 <id>ecomp-snapshots</id>
227 <name>AAF Snapshot Repository</name>
228 <url>${nexusproxy}${snapshotNexusPath}</url>
229 </snapshotRepository>
230 <site>
231 <id>ecomp-site</id>
232 <url>dav:${nexusproxy}${sitePath}</url>
233 </site>
234 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000235
Instrumental71037c32018-03-26 13:51:48 -0700236</project>