Include all modules in AAF parent
[aaf/authz.git] / auth / auth-gui / pom.xml
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==================================================== 
13         * -->
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>
17         <parent>
18                 <groupId>org.onap.aaf.authz</groupId>
19                 <artifactId>authparent</artifactId>
20                 <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>
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>
47
48
49         <dependencies>
50                 <dependency>
51                         <groupId>org.onap.aaf.authz</groupId>
52                         <artifactId>aaf-auth-core</artifactId>
53                         <version>${project.version}</version>
54                 </dependency>
55
56                 <dependency>
57                         <groupId>org.onap.aaf.authz</groupId>
58                         <artifactId>aaf-auth-client</artifactId>
59                         <version>${project.version}</version>
60                 </dependency>
61
62                 <dependency>
63                         <groupId>org.onap.aaf.authz</groupId>
64                         <artifactId>aaf-auth-cmd</artifactId>
65                         <version>${project.version}</version>
66                 </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>
72                         <groupId>org.onap.aaf.authz</groupId>
73                         <artifactId>aaf-auth-deforg</artifactId>
74                         <version>${project.version}</version>
75                 </dependency>
76
77                 <dependency>
78                         <groupId>org.onap.aaf.authz</groupId>
79                         <artifactId>aaf-cadi-aaf</artifactId>
80                         <version>${project.version}</version>
81                 </dependency>
82
83                 <dependency>
84                         <groupId>org.onap.aaf.authz</groupId>
85                         <artifactId>aaf-cadi-client</artifactId>
86                         <version>${project.version}</version>
87                 </dependency>
88
89                 <dependency>
90                         <groupId>org.onap.aaf.authz</groupId>
91                         <artifactId>aaf-misc-xgen</artifactId>
92                         <version>${project.version}</version>
93                 </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>
115                                         <skip>false</skip>
116                                 </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>
127                                                                 <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>
129                                                         </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>
141
142                         </plugin>
143                         <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>
153                         </plugin>
154                         <plugin>
155                                 <groupId>org.jacoco</groupId>
156                                 <artifactId>jacoco-maven-plugin</artifactId>
157                                 <version>${jacoco.version}</version>
158                                 <configuration>
159                                         <excludes>
160                                                 <exclude>**/gen/**</exclude>
161                                                 <exclude>**/generated-sources/**</exclude>
162                                                 <exclude>**/yang-gen/**</exclude>
163                                                 <exclude>**/pax/**</exclude>
164                                         </excludes>
165                                 </configuration>
166                                 <executions>
167
168                                         <execution>
169                                                 <id>pre-unit-test</id>
170                                                 <goals>
171                                                         <goal>prepare-agent</goal>
172                                                 </goals>
173                                                 <configuration>
174                                                         <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>
189                                                 </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>
198                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
199                                                         <propertyName>failsafeArgLine</propertyName>
200                                                 </configuration>
201                                         </execution>
202
203                                         <execution>
204                                                 <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>
214                                 </executions>
215                         </plugin>
216                 </plugins>
217         </build>
218
219         <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>
235
236 </project>