blob: c0a1713c3de585c9ed0362640a5f3d14fa43a58b [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright © 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.aaf.authz</groupId>
29 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040030 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040031 <relativePath>../pom.xml</relativePath>
32 </parent>
33
34 <artifactId>authz-fs</artifactId>
35 <name>Authz File Server</name>
36 <description>Independent FileServer via HTTP (not S) for Public Files (i.e. CRLs)</description>
37 <url>https://github.com/att/AAF</url>
38 <licenses>
39 <license>
40 <name>BSD License</name>
41 <url> </url>
42 </license>
43 </licenses>
44 <developers>
45 <developer>
46 <name>Jonathan Gathman</name>
47 <email></email>
48 <organization>ATT</organization>
49 <organizationUrl></organizationUrl>
50 </developer>
51 </developers>
52
53 <properties>
sg481n08e11042017-09-29 12:33:53 +000054 <maven.test.failure.ignore>true</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040055 <project.swmVersion>9</project.swmVersion>
sg481na2ac6782017-09-18 16:35:50 -040056 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
57 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
sg481n40cd3562017-09-01 13:12:31 -040058 <sonar.language>java</sonar.language>
59 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
60 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
61 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
62 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nd84864f2017-10-01 20:56:42 +000063 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040064 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040065 <nexusproxy>https://nexus.onap.org</nexusproxy>
66 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
67 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
68 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000069 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040070 </properties>
71
72
73 <dependencies>
74 <dependency>
75 <groupId>org.onap.aaf.authz</groupId>
76 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040077 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040078 </dependency>
79 <dependency>
80 <groupId>org.onap.aaf.cadi</groupId>
81 <artifactId>cadi-core</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040082 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040083 </dependency>
84 <dependency>
85 <groupId>com.att.aft</groupId>
86 <artifactId>dme2</artifactId>
87 </dependency>
88 </dependencies>
89
90 <build>
91 <plugins>
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-jar-plugin</artifactId>
95 <configuration>
96 <includes>
97 <include>**/*.class</include>
98 </includes>
99 </configuration>
100 <version>2.3.1</version>
101 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400102
sg481na2ac6782017-09-18 16:35:50 -0400103 <plugin>
sg481nbd890c52017-08-28 12:11:35 -0400104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000106 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400107 <configuration>
108 <failOnError>false</failOnError>
109 </configuration>
110 <executions>
111 <execution>
112 <id>attach-javadocs</id>
113 <goals>
114 <goal>jar</goal>
115 </goals>
116 </execution>
117 </executions>
118 </plugin>
119
120
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-source-plugin</artifactId>
124 <version>2.2.1</version>
125 <executions>
126 <execution>
127 <id>attach-sources</id>
128 <goals>
129 <goal>jar-no-fork</goal>
130 </goals>
131 </execution>
132 </executions>
133 </plugin>
134 <plugin>
135 <groupId>org.sonatype.plugins</groupId>
136 <artifactId>nexus-staging-maven-plugin</artifactId>
137 <version>1.6.7</version>
138 <extensions>true</extensions>
139 <configuration>
140 <nexusUrl>${nexusproxy}</nexusUrl>
141 <stagingProfileId>176c31dfe190a</stagingProfileId>
142 <serverId>ecomp-staging</serverId>
143 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400144 </plugin>
145 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000146 <groupId>org.jacoco</groupId>
147 <artifactId>jacoco-maven-plugin</artifactId>
148 <version>${jacoco.version}</version>
149 <configuration>
150 <!-- Note: This exclusion list should match <sonar.exclusions>
151 property above -->
152 <excludes>
153 <exclude>**/gen/**</exclude>
154 <exclude>**/generated-sources/**</exclude>
155 <exclude>**/yang-gen/**</exclude>
156 <exclude>**/pax/**</exclude>
157 </excludes>
158 </configuration>
159 <executions>
160 <!--
161 Prepares the property pointing to the JaCoCo runtime agent which
162 is passed as VM argument when Maven the Surefire plugin is executed.
163 -->
164 <execution>
165 <id>pre-unit-test</id>
166 <goals>
167 <goal>prepare-agent</goal>
168 </goals>
169 <configuration>
170 <!-- Sets the path to the file which contains the execution data. -->
171 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
172 <!--
173 Sets the name of the property containing the settings
174 for JaCoCo runtime agent.
175 -->
176 <propertyName>surefireArgLine</propertyName>
177 </configuration>
178 </execution>
179 <!--
180 Ensures that the code coverage report for unit tests is created after
181 unit tests have been run.
182 -->
183 <execution>
184 <id>post-unit-test</id>
185 <phase>test</phase>
186 <goals>
187 <goal>report</goal>
188 </goals>
189 <configuration>
190 <!-- Sets the path to the file which contains the execution data. -->
191 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
192 <!-- Sets the output directory for the code coverage report. -->
193 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
194 </configuration>
195 </execution>
196 <execution>
197 <id>pre-integration-test</id>
198 <phase>pre-integration-test</phase>
199 <goals>
200 <goal>prepare-agent</goal>
201 </goals>
202 <configuration>
203 <!-- Sets the path to the file which contains the execution data. -->
204 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
205 <!--
206 Sets the name of the property containing the settings
207 for JaCoCo runtime agent.
208 -->
209 <propertyName>failsafeArgLine</propertyName>
210 </configuration>
211 </execution>
212 <!--
213 Ensures that the code coverage report for integration tests after
214 integration tests have been run.
215 -->
216 <execution>
217 <id>post-integration-test</id>
218 <phase>post-integration-test</phase>
219 <goals>
220 <goal>report</goal>
221 </goals>
222 <configuration>
223 <!-- Sets the path to the file which contains the execution data. -->
224 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
225 <!-- Sets the output directory for the code coverage report. -->
226 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
227 </configuration>
228 </execution>
229 </executions>
230 </plugin>
231
sg481nbd890c52017-08-28 12:11:35 -0400232 </plugins>
233
234 </build>
235<distributionManagement>
236 <repository>
237 <id>ecomp-releases</id>
238 <name>AAF Release Repository</name>
239 <url>${nexusproxy}${releaseNexusPath}</url>
240 </repository>
241 <snapshotRepository>
242 <id>ecomp-snapshots</id>
243 <name>AAF Snapshot Repository</name>
244 <url>${nexusproxy}${snapshotNexusPath}</url>
245 </snapshotRepository>
246 <site>
247 <id>ecomp-site</id>
248 <url>dav:${nexusproxy}${sitePath}</url>
249 </site>
250 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000251
sg481nbd890c52017-08-28 12:11:35 -0400252</project>