943c1082532c01d182a6a529981e342ba545ca4f
[aaf/authz.git] / auth / auth-fs / 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.7.0-SNAPSHOT</version>
21         <relativePath>../pom.xml</relativePath>
22     </parent>
23
24     <artifactId>aaf-auth-fs</artifactId>
25     <name>AAF Auth File Server (http)</name>
26     <description>Independent FileServer Component via HTTP (not S) for Public Files (i.e. CRLs) for AAF Auth</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
47     </properties>
48
49     <developers>
50         <developer>
51             <name>Jonathan Gathman</name>
52             <email>jonathan.gathman@att.com</email>
53             <organization>ATT</organization>
54             <roles>
55                 <role>Architect</role>
56                 <role>Lead Developer</role>
57             </roles>
58         </developer>
59         <developer>
60             <name>Sai Gandham</name>
61             <email>sai.gandham@att.com</email>
62             <organization>ATT</organization>
63             <roles>
64                 <role>Developer</role>
65             </roles>
66         </developer>
67     </developers>
68
69     <dependencies>
70         <dependency>
71             <groupId>org.onap.aaf.authz</groupId>
72             <artifactId>aaf-auth-core</artifactId>
73         </dependency>
74
75         <dependency>
76             <groupId>org.onap.aaf.authz</groupId>
77             <artifactId>aaf-cadi-core</artifactId>
78         </dependency>
79          <dependency>   
80                         <groupId>org.owasp.encoder</groupId>            
81                         <artifactId>encoder</artifactId>                
82                         <version>1.2.1</version>                
83                 </dependency>   
84                 <dependency>    
85             <groupId>org.owasp.esapi</groupId>  
86                         <artifactId>esapi</artifactId>  
87                         <version>2.0.1</version>        
88         </dependency>
89     </dependencies>
90
91     <build>
92         <plugins>
93             <plugin>
94                 <groupId>org.codehaus.mojo</groupId>
95                 <artifactId>appassembler-maven-plugin</artifactId>
96                 <configuration>
97                     <programs>
98                         <program>
99                             <mainClass>org.onap.aaf.auth.fs.AAF_FS</mainClass>
100                             <name>fs</name>
101                             <commandLineArguments>
102                                 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.fs.props</commandLineArgument>
103                                 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/fs</commandLineArgument>
104                                 <commandLineArgument>cadi_etc_dir=${project.ext_root_dir}/etc</commandLineArgument>
105                             </commandLineArguments>
106                         </program>
107                     </programs>
108                 </configuration>
109             </plugin>
110             <plugin>
111                 <groupId>org.jacoco</groupId>
112                 <artifactId>jacoco-maven-plugin</artifactId>
113                 <configuration>
114                     <excludes>
115                         <exclude>**/gen/**</exclude>
116                         <exclude>**/generated-sources/**</exclude>
117                         <exclude>**/yang-gen/**</exclude>
118                         <exclude>**/pax/**</exclude>
119                     </excludes>
120                 </configuration>
121                 <executions>
122
123                     <execution>
124                         <id>pre-unit-test</id>
125                         <goals>
126                             <goal>prepare-agent</goal>
127                         </goals>
128                         <configuration>
129                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
130                             <propertyName>surefireArgLine</propertyName>
131                         </configuration>
132                     </execution>
133
134
135                     <execution>
136                         <id>post-unit-test</id>
137                         <phase>test</phase>
138                         <goals>
139                             <goal>report</goal>
140                         </goals>
141                         <configuration>
142                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
143                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
144                         </configuration>
145                     </execution>
146                     <execution>
147                         <id>pre-integration-test</id>
148                         <phase>pre-integration-test</phase>
149                         <goals>
150                             <goal>prepare-agent</goal>
151                         </goals>
152                         <configuration>
153                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
154                             <propertyName>failsafeArgLine</propertyName>
155                         </configuration>
156                     </execution>
157
158                     <execution>
159                         <id>post-integration-test</id>
160                         <phase>post-integration-test</phase>
161                         <goals>
162                             <goal>report</goal>
163                         </goals>
164                         <configuration>
165                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
166                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
167                         </configuration>
168                     </execution>
169                 </executions>
170             </plugin>
171         </plugins>
172         <pluginManagement>
173             <plugins />
174         </pluginManagement>
175     </build>
176
177     <distributionManagement>
178         <repository>
179             <id>ecomp-releases</id>
180             <name>AAF Release Repository</name>
181             <url>${nexusproxy}${releaseNexusPath}</url>
182         </repository>
183         <snapshotRepository>
184             <id>ecomp-snapshots</id>
185             <name>AAF Snapshot Repository</name>
186             <url>${nexusproxy}${snapshotNexusPath}</url>
187         </snapshotRepository>
188         <site>
189             <id>ecomp-site</id>
190             <url>dav:${nexusproxy}${sitePath}</url>
191         </site>
192     </distributionManagement>
193 </project>