blob: 6ed46fd1459e7b6226e46e046d2e71dc6f4e469b [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>
30 <version>1.0.0-SNAPSHOT</version>
31 <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>
54 <maven.test.failure.ignore>true</maven.test.failure.ignore>
55 <project.swmVersion>9</project.swmVersion>
56 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n40cd3562017-09-01 13:12:31 -040057 <sonar.language>java</sonar.language>
58 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
59 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
60 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
61 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
62 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
63 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040064 <nexusproxy>https://nexus.onap.org</nexusproxy>
65 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
66 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
67 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
68 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
69 </properties>
70
71
72 <dependencies>
73 <dependency>
74 <groupId>org.onap.aaf.authz</groupId>
75 <artifactId>authz-core</artifactId>
76 </dependency>
77 <dependency>
78 <groupId>org.onap.aaf.cadi</groupId>
79 <artifactId>cadi-core</artifactId>
80 </dependency>
81 <dependency>
82 <groupId>com.att.aft</groupId>
83 <artifactId>dme2</artifactId>
84 </dependency>
85 </dependencies>
86
87 <build>
88 <plugins>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-jar-plugin</artifactId>
92 <configuration>
93 <includes>
94 <include>**/*.class</include>
95 </includes>
96 </configuration>
97 <version>2.3.1</version>
98 </plugin>
99
100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-deploy-plugin</artifactId>
103 <configuration>
104 <skip>true</skip>
105 </configuration>
106 </plugin>
107
108
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-javadoc-plugin</artifactId>
112 <configuration>
113 <failOnError>false</failOnError>
114 </configuration>
115 <executions>
116 <execution>
117 <id>attach-javadocs</id>
118 <goals>
119 <goal>jar</goal>
120 </goals>
121 </execution>
122 </executions>
123 </plugin>
124
125
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-source-plugin</artifactId>
129 <version>2.2.1</version>
130 <executions>
131 <execution>
132 <id>attach-sources</id>
133 <goals>
134 <goal>jar-no-fork</goal>
135 </goals>
136 </execution>
137 </executions>
138 </plugin>
139 <plugin>
140 <groupId>org.sonatype.plugins</groupId>
141 <artifactId>nexus-staging-maven-plugin</artifactId>
142 <version>1.6.7</version>
143 <extensions>true</extensions>
144 <configuration>
145 <nexusUrl>${nexusproxy}</nexusUrl>
146 <stagingProfileId>176c31dfe190a</stagingProfileId>
147 <serverId>ecomp-staging</serverId>
sg481n40cd3562017-09-01 13:12:31 -0400148 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
sg481nbd890c52017-08-28 12:11:35 -0400149 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400150 </plugin>
151 <plugin>
152 <groupId>org.jacoco</groupId>
153 <artifactId>jacoco-maven-plugin</artifactId>
154 <version>0.7.7.201606060606</version>
155 <configuration>
156 <dumpOnExit>true</dumpOnExit>
157 <includes>
158 <include>org.onap.aaf.*</include>
159 </includes>
160 </configuration>
161 <executions>
162 <execution>
163 <id>pre-unit-test</id>
164 <goals>
165 <goal>prepare-agent</goal>
166 </goals>
167 <configuration>
168 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
169 <!-- <append>true</append> -->
170 </configuration>
171 </execution>
172 <execution>
173 <id>pre-integration-test</id>
174 <phase>pre-integration-test</phase>
175 <goals>
176 <goal>prepare-agent</goal>
177 </goals>
178 <configuration>
179 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
180 <!-- <append>true</append> -->
181 </configuration>
182 </execution>
183 <execution>
184 <goals>
185 <goal>merge</goal>
186 </goals>
187 <phase>post-integration-test</phase>
188 <configuration>
189 <fileSets>
190 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
191 <directory>${project.build.directory}/coverage-reports</directory>
192 <includes>
193 <include>*.exec</include>
194 </includes>
195 </fileSet>
196 </fileSets>
197 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
198 </configuration>
199 </execution>
200 </executions>
sg481nbd890c52017-08-28 12:11:35 -0400201 </plugin>
202 </plugins>
203
204 </build>
205<distributionManagement>
206 <repository>
207 <id>ecomp-releases</id>
208 <name>AAF Release Repository</name>
209 <url>${nexusproxy}${releaseNexusPath}</url>
210 </repository>
211 <snapshotRepository>
212 <id>ecomp-snapshots</id>
213 <name>AAF Snapshot Repository</name>
214 <url>${nexusproxy}${snapshotNexusPath}</url>
215 </snapshotRepository>
216 <site>
217 <id>ecomp-site</id>
218 <url>dav:${nexusproxy}${sitePath}</url>
219 </site>
220 </distributionManagement>
221<pluginRepositories>
222 <pluginRepository>
223 <id>onap-plugin-snapshots</id>
224 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
225 </pluginRepository>
226 </pluginRepositories>
227
228 <repositories>
229 <repository>
230 <id>central</id>
231 <name>Maven 2 repository 2</name>
232 <url>http://repo2.maven.org/maven2/</url>
233 </repository>
234 <repository>
235 <id>onap-jar-snapshots</id>
236 <url>https://nexus.onap.org/content/repositories/snapshots</url>
237 </repository>
238 <repository>
239 <id>spring-repo</id>
240 <name>Spring repo</name>
241 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
242 </repository>
243 <repository>
244 <id>repository.jboss.org-public</id>
245 <name>JBoss.org Maven repository</name>
246 <url>https://repository.jboss.org/nexus/content/groups/public</url>
247 </repository>
248 </repositories>
249</project>