blob: 9507792245d690cc3451f968c84659a21843ee7c [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/xsd/maven-4.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-core</artifactId>
35 <name>Authz Core</name>
36 <description>Core Libraries for Authz</description>
37 <packaging>jar</packaging>
38 <url>https://github.com/att/AAF</url>
39 <licenses>
40 <license>
41 <name>BSD License</name>
42 <url> </url>
43 </license>
44 </licenses>
45 <developers>
46 <developer>
47 <name>Jonathan Gathman</name>
48 <email></email>
49 <organization>ATT</organization>
50 <organizationUrl></organizationUrl>
51 </developer>
52 </developers>
53<properties>
54 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481na2ac6782017-09-18 16:35:50 -040055 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
sg481n40cd3562017-09-01 13:12:31 -040056 <sonar.language>java</sonar.language>
57 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
58 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
59 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
60 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nd84864f2017-10-01 20:56:42 +000061 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040062 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040063 <nexusproxy>https://nexus.onap.org</nexusproxy>
64 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
65 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
66 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481n2bc35382017-09-23 15:50:15 +000067 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040068</properties>
69 <dependencies>
70 <dependency>
71 <groupId>org.onap.aaf.inno</groupId>
72 <artifactId>env</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040073 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040074 </dependency>
75 <dependency>
76 <groupId>org.onap.aaf.inno</groupId>
77 <artifactId>log4j</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040078 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040079 </dependency>
80 <dependency>
81 <groupId>org.onap.aaf.inno</groupId>
82 <artifactId>rosetta</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040083 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040084 </dependency>
85 <dependency>
86 <groupId>org.onap.aaf.cadi</groupId>
87 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040088 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040089 <exclusions>
90 <exclusion>
91 <groupId>javax.servlet</groupId>
92 <artifactId>servlet-api</artifactId>
93 </exclusion>
94 </exclusions>
95
96 </dependency>
97 <dependency>
98 <groupId>javax.servlet</groupId>
99 <artifactId>servlet-api</artifactId>
100 </dependency>
101
102 </dependencies>
103
104 <build>
105 <plugins>
106 </plugins>
107 <pluginManagement>
108 <plugins>
sg481na2ac6782017-09-18 16:35:50 -0400109
sg481nbd890c52017-08-28 12:11:35 -0400110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000113 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400114 <configuration>
115 <failOnError>false</failOnError>
116 </configuration>
117 <executions>
118 <execution>
119 <id>attach-javadocs</id>
120 <goals>
121 <goal>jar</goal>
122 </goals>
123 </execution>
124 </executions>
sg481na9d21082017-09-23 14:26:06 +0000125 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400126
127
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-source-plugin</artifactId>
131 <version>2.2.1</version>
132 <executions>
133 <execution>
134 <id>attach-sources</id>
135 <goals>
136 <goal>jar-no-fork</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141
142 <plugin>
143 <groupId>org.sonatype.plugins</groupId>
144 <artifactId>nexus-staging-maven-plugin</artifactId>
145 <version>1.6.7</version>
146 <extensions>true</extensions>
147 <configuration>
148 <nexusUrl>${nexusproxy}</nexusUrl>
149 <stagingProfileId>176c31dfe190a</stagingProfileId>
150 <serverId>ecomp-staging</serverId>
151 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400152 </plugin>
153 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000154 <groupId>org.jacoco</groupId>
155 <artifactId>jacoco-maven-plugin</artifactId>
156 <version>${jacoco.version}</version>
157 <configuration>
158 <!-- Note: This exclusion list should match <sonar.exclusions>
159 property above -->
160 <excludes>
161 <exclude>**/gen/**</exclude>
162 <exclude>**/generated-sources/**</exclude>
163 <exclude>**/yang-gen/**</exclude>
164 <exclude>**/pax/**</exclude>
165 </excludes>
166 </configuration>
167 <executions>
168 <!--
169 Prepares the property pointing to the JaCoCo runtime agent which
170 is passed as VM argument when Maven the Surefire plugin is executed.
171 -->
172 <execution>
173 <id>pre-unit-test</id>
174 <goals>
175 <goal>prepare-agent</goal>
176 </goals>
177 <configuration>
178 <!-- Sets the path to the file which contains the execution data. -->
179 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
180 <!--
181 Sets the name of the property containing the settings
182 for JaCoCo runtime agent.
183 -->
184 <propertyName>surefireArgLine</propertyName>
185 </configuration>
186 </execution>
187 <!--
188 Ensures that the code coverage report for unit tests is created after
189 unit tests have been run.
190 -->
191 <execution>
192 <id>post-unit-test</id>
193 <phase>test</phase>
194 <goals>
195 <goal>report</goal>
196 </goals>
197 <configuration>
198 <!-- Sets the path to the file which contains the execution data. -->
199 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
200 <!-- Sets the output directory for the code coverage report. -->
201 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
202 </configuration>
203 </execution>
204 <execution>
205 <id>pre-integration-test</id>
206 <phase>pre-integration-test</phase>
207 <goals>
208 <goal>prepare-agent</goal>
209 </goals>
210 <configuration>
211 <!-- Sets the path to the file which contains the execution data. -->
212 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
213 <!--
214 Sets the name of the property containing the settings
215 for JaCoCo runtime agent.
216 -->
217 <propertyName>failsafeArgLine</propertyName>
218 </configuration>
219 </execution>
220 <!--
221 Ensures that the code coverage report for integration tests after
222 integration tests have been run.
223 -->
224 <execution>
225 <id>post-integration-test</id>
226 <phase>post-integration-test</phase>
227 <goals>
228 <goal>report</goal>
229 </goals>
230 <configuration>
231 <!-- Sets the path to the file which contains the execution data. -->
232 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
233 <!-- Sets the output directory for the code coverage report. -->
234 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
235 </configuration>
236 </execution>
237 </executions>
238 </plugin>
239
sg481nbd890c52017-08-28 12:11:35 -0400240
241 </plugins>
242 </pluginManagement>
243 </build>
244 <distributionManagement>
245 <repository>
246 <id>ecomp-releases</id>
247 <name>AAF Release Repository</name>
248 <url>${nexusproxy}${releaseNexusPath}</url>
249 </repository>
250 <snapshotRepository>
251 <id>ecomp-snapshots</id>
252 <name>AAF Snapshot Repository</name>
253 <url>${nexusproxy}${snapshotNexusPath}</url>
254 </snapshotRepository>
255 <site>
256 <id>ecomp-site</id>
257 <url>dav:${nexusproxy}${sitePath}</url>
258 </site>
259 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000260
sg481nbd890c52017-08-28 12:11:35 -0400261
262</project>
263