7b871267f83d260a8ba72ffd45f2bbc986382f5f
[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.1.16-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>Gabe Maurer</name>
61             <email>gabe.maurer@att.com</email>
62             <organization>ATT</organization>
63             <roles>
64                 <role>Developer</role>
65             </roles>
66         </developer>
67         <developer>
68             <name>Ian Howell</name>
69             <email>ian.howell@att.com</email>
70             <organization>ATT</organization>
71             <roles>
72                 <role>Developer</role>
73             </roles>
74         </developer>
75         <developer>
76             <name>Sai Gandham</name>
77             <email>sai.gandham@att.com</email>
78             <organization>ATT</organization>
79             <roles>
80                 <role>Developer</role>
81             </roles>
82         </developer>
83     </developers>
84
85     <dependencies>
86         <dependency>
87             <groupId>org.onap.aaf.authz</groupId>
88             <artifactId>aaf-auth-core</artifactId>
89         </dependency>
90
91         <dependency>
92             <groupId>org.onap.aaf.authz</groupId>
93             <artifactId>aaf-cadi-core</artifactId>
94         </dependency>
95     </dependencies>
96
97     <build>
98         <plugins>
99             <plugin>
100                 <groupId>org.codehaus.mojo</groupId>
101                 <artifactId>appassembler-maven-plugin</artifactId>
102                 <configuration>
103                     <programs>
104                         <program>
105                             <mainClass>org.onap.aaf.auth.fs.AAF_FS</mainClass>
106                             <name>fs</name>
107                             <commandLineArguments>
108                                 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.fs.props</commandLineArgument>
109                                 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/fs</commandLineArgument>
110                                 <commandLineArgument>cadi_etc_dir=${project.ext_root_dir}/etc</commandLineArgument>
111                             </commandLineArguments>
112                         </program>
113                     </programs>
114                 </configuration>
115             </plugin>
116             <plugin>
117                 <groupId>org.jacoco</groupId>
118                 <artifactId>jacoco-maven-plugin</artifactId>
119                 <configuration>
120                     <excludes>
121                         <exclude>**/gen/**</exclude>
122                         <exclude>**/generated-sources/**</exclude>
123                         <exclude>**/yang-gen/**</exclude>
124                         <exclude>**/pax/**</exclude>
125                     </excludes>
126                 </configuration>
127                 <executions>
128
129                     <execution>
130                         <id>pre-unit-test</id>
131                         <goals>
132                             <goal>prepare-agent</goal>
133                         </goals>
134                         <configuration>
135                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
136                             <propertyName>surefireArgLine</propertyName>
137                         </configuration>
138                     </execution>
139
140
141                     <execution>
142                         <id>post-unit-test</id>
143                         <phase>test</phase>
144                         <goals>
145                             <goal>report</goal>
146                         </goals>
147                         <configuration>
148                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
149                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
150                         </configuration>
151                     </execution>
152                     <execution>
153                         <id>pre-integration-test</id>
154                         <phase>pre-integration-test</phase>
155                         <goals>
156                             <goal>prepare-agent</goal>
157                         </goals>
158                         <configuration>
159                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
160                             <propertyName>failsafeArgLine</propertyName>
161                         </configuration>
162                     </execution>
163
164                     <execution>
165                         <id>post-integration-test</id>
166                         <phase>post-integration-test</phase>
167                         <goals>
168                             <goal>report</goal>
169                         </goals>
170                         <configuration>
171                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
172                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
173                         </configuration>
174                     </execution>
175                 </executions>
176             </plugin>
177         </plugins>
178         <pluginManagement>
179             <plugins />
180         </pluginManagement>
181     </build>
182
183     <distributionManagement>
184         <repository>
185             <id>ecomp-releases</id>
186             <name>AAF Release Repository</name>
187             <url>${nexusproxy}${releaseNexusPath}</url>
188         </repository>
189         <snapshotRepository>
190             <id>ecomp-snapshots</id>
191             <name>AAF Snapshot Repository</name>
192             <url>${nexusproxy}${snapshotNexusPath}</url>
193         </snapshotRepository>
194         <site>
195             <id>ecomp-site</id>
196             <url>dav:${nexusproxy}${sitePath}</url>
197         </site>
198     </distributionManagement>
199 </project>