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