2084e18cced41a09a489f7a5852852b11d50293e
[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     </dependencies>
85
86     <build>
87         <plugins>
88             <plugin>
89                 <groupId>org.codehaus.mojo</groupId>
90                 <artifactId>appassembler-maven-plugin</artifactId>
91                 <configuration>
92                     <programs>
93                         <program>
94                             <mainClass>org.onap.aaf.auth.fs.AAF_FS</mainClass>
95                             <name>fs</name>
96                             <commandLineArguments>
97                                 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.fs.props</commandLineArgument>
98                                 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/fs</commandLineArgument>
99                                 <commandLineArgument>cadi_etc_dir=${project.ext_root_dir}/etc</commandLineArgument>
100                             </commandLineArguments>
101                         </program>
102                     </programs>
103                 </configuration>
104             </plugin>
105             <plugin>
106                 <groupId>org.jacoco</groupId>
107                 <artifactId>jacoco-maven-plugin</artifactId>
108                 <configuration>
109                     <excludes>
110                         <exclude>**/gen/**</exclude>
111                         <exclude>**/generated-sources/**</exclude>
112                         <exclude>**/yang-gen/**</exclude>
113                         <exclude>**/pax/**</exclude>
114                     </excludes>
115                 </configuration>
116                 <executions>
117
118                     <execution>
119                         <id>pre-unit-test</id>
120                         <goals>
121                             <goal>prepare-agent</goal>
122                         </goals>
123                         <configuration>
124                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
125                             <propertyName>surefireArgLine</propertyName>
126                         </configuration>
127                     </execution>
128
129
130                     <execution>
131                         <id>post-unit-test</id>
132                         <phase>test</phase>
133                         <goals>
134                             <goal>report</goal>
135                         </goals>
136                         <configuration>
137                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
138                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
139                         </configuration>
140                     </execution>
141                     <execution>
142                         <id>pre-integration-test</id>
143                         <phase>pre-integration-test</phase>
144                         <goals>
145                             <goal>prepare-agent</goal>
146                         </goals>
147                         <configuration>
148                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
149                             <propertyName>failsafeArgLine</propertyName>
150                         </configuration>
151                     </execution>
152
153                     <execution>
154                         <id>post-integration-test</id>
155                         <phase>post-integration-test</phase>
156                         <goals>
157                             <goal>report</goal>
158                         </goals>
159                         <configuration>
160                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
161                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
162                         </configuration>
163                     </execution>
164                 </executions>
165             </plugin>
166         </plugins>
167         <pluginManagement>
168             <plugins />
169         </pluginManagement>
170     </build>
171
172     <distributionManagement>
173         <repository>
174             <id>ecomp-releases</id>
175             <name>AAF Release Repository</name>
176             <url>${nexusproxy}${releaseNexusPath}</url>
177         </repository>
178         <snapshotRepository>
179             <id>ecomp-snapshots</id>
180             <name>AAF Snapshot Repository</name>
181             <url>${nexusproxy}${snapshotNexusPath}</url>
182         </snapshotRepository>
183         <site>
184             <id>ecomp-site</id>
185             <url>dav:${nexusproxy}${sitePath}</url>
186         </site>
187     </distributionManagement>
188 </project>