Modify distribution management for authz
[aaf/authz.git] / auth / auth-gui / pom.xml
1 <?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>
26                 <groupId>org.onap.aaf.auth</groupId>
27                 <artifactId>parent</artifactId>
28                 <version>2.1.0-SNAPSHOT</version>
29                 <relativePath>../pom.xml</relativePath>
30         </parent>
31
32         <artifactId>aaf-auth-gui</artifactId>
33         <name>AAF Auth GUI</name>
34         <description>GUI Component for AAF Auth Management</description>
35
36         <properties>
37                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
38                 <!--  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>
52         </properties>
53
54
55         <dependencies>
56                 <dependency>
57                         <groupId>org.onap.aaf.auth</groupId>
58                         <artifactId>aaf-auth-core</artifactId>
59                 </dependency>
60
61                 <dependency>
62                         <groupId>org.onap.aaf.auth</groupId>
63                         <artifactId>aaf-auth-client</artifactId>
64                 </dependency>
65
66                 <dependency>
67                         <groupId>org.onap.aaf.auth</groupId>
68                         <artifactId>aaf-auth-cmd</artifactId>
69                 </dependency>
70
71                 <!-- Add the Organizations you wish to support. You can delete ONAP if 
72                         you have something else Match with Property Entry: Organization.<root ns>, 
73                         i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
74                 <dependency>
75                         <groupId>org.onap.aaf.auth</groupId>
76                         <artifactId>aaf-auth-deforg</artifactId>
77                 </dependency>
78
79                 <dependency>
80                         <groupId>org.onap.aaf.cadi</groupId>
81                         <artifactId>aaf-cadi-aaf</artifactId>
82                 </dependency>
83
84                 <dependency>
85                         <groupId>org.onap.aaf.cadi</groupId>
86                         <artifactId>aaf-cadi-client</artifactId>
87                 </dependency>
88
89                 <dependency>
90                         <groupId>org.onap.aaf.misc</groupId>
91                         <artifactId>aaf-misc-xgen</artifactId>
92                 </dependency>
93
94
95
96         </dependencies>
97
98         <build>
99                 <plugins>
100                         <plugin>
101                                 <groupId>org.apache.maven.plugins</groupId>
102                                 <artifactId>maven-jar-plugin</artifactId>
103                                 <configuration>
104                                         <includes>
105                                                 <include>**/*.class</include>
106                                         </includes>
107                                 </configuration>
108                                 <version>2.3.1</version>
109                         </plugin>
110                         <plugin>
111                                 <groupId>org.apache.maven.plugins</groupId>
112                                 <artifactId>maven-deploy-plugin</artifactId>
113                                 <configuration>
114                                         <skip>true</skip>
115                                 </configuration>
116                         </plugin>
117                         <plugin>
118                                 <groupId>org.codehaus.mojo</groupId>
119                                 <artifactId>appassembler-maven-plugin</artifactId>
120                                 <configuration>
121                                         <programs>
122                                                 <program>
123                                                         <mainClass>org.onap.aaf.auth.gui.AAF_GUI</mainClass>
124                                                         <name>gui</name>
125                                                         <commandLineArguments>
126                                                                 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.gui.props</commandLineArgument>
127                                                         </commandLineArguments>
128                                                         <jvmSettings>
129                                                                 <extraArguments>
130                                                                         <extraArgument>-Daaf_cfa_web_path=$BASEDIR/theme/onap</extraArgument>
131                                                                 </extraArguments>
132                                                         </jvmSettings>
133                                                 </program>
134                                         </programs>
135                                         <copyConfigurationDirectory>true</copyConfigurationDirectory>
136                                         <configurationDirectory>theme</configurationDirectory>
137                                         <configurationSourceDirectory>theme</configurationSourceDirectory>
138                                 </configuration>
139                                 
140                         </plugin>
141                         <plugin>
142                                 <groupId>org.sonatype.plugins</groupId>
143                                 <artifactId>nexus-staging-maven-plugin</artifactId>
144                                 <version>1.6.7</version>
145                                 <extensions>true</extensions>
146                                 <configuration>
147                                         <nexusUrl>${nexusproxy}</nexusUrl>
148                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
149                                         <serverId>ecomp-staging</serverId>
150                                 </configuration>
151                         </plugin>               
152                         <plugin>
153                                 <groupId>org.jacoco</groupId>
154                                 <artifactId>jacoco-maven-plugin</artifactId>
155                                 <version>0.7.7.201606060606</version>
156                                 <configuration>
157                                         <dumpOnExit>true</dumpOnExit>
158                                         <includes>
159                                                 <include>org.onap.aaf.*</include>
160                                         </includes>
161                                 </configuration>
162                                 <executions>
163                                         <execution>
164                                                 <id>pre-unit-test</id>
165                                                 <goals>
166                                                         <goal>prepare-agent</goal>
167                                                 </goals>
168                                                 <configuration>
169                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
170                                                         <!-- <append>true</append> -->
171                                                 </configuration>
172                                         </execution>
173                                         <execution>
174                                                 <id>pre-integration-test</id>
175                                                 <phase>pre-integration-test</phase>
176                                                 <goals>
177                                                         <goal>prepare-agent</goal>
178                                                 </goals>
179                                                 <configuration>
180                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
181                                                         <!-- <append>true</append> -->
182                                                 </configuration>
183                                         </execution>
184                                         <execution>
185                         <goals>
186                             <goal>merge</goal>
187                         </goals>
188                         <phase>post-integration-test</phase>
189                         <configuration>
190                             <fileSets>
191                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
192                                     <directory>${project.build.directory}/coverage-reports</directory>
193                                     <includes>
194                                         <include>*.exec</include>
195                                     </includes>
196                                 </fileSet>
197                             </fileSets>
198                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
199                         </configuration>
200                     </execution>
201                                 </executions>
202                         </plugin>
203                 </plugins>
204         </build>
205
206         <distributionManagement>
207                 <repository>
208                         <id>ecomp-releases</id>
209                         <name>AAF Release Repository</name>
210                         <url>${nexusproxy}${releaseNexusPath}</url>
211                 </repository>
212                 <snapshotRepository>
213                         <id>ecomp-snapshots</id>
214                         <name>AAF Snapshot Repository</name>
215                         <url>${nexusproxy}${snapshotNexusPath}</url>
216                 </snapshotRepository>
217                 <site>
218                         <id>ecomp-site</id>
219                         <url>dav:${nexusproxy}${sitePath}</url>
220                 </site>
221         </distributionManagement>
222
223 </project>