blob: 14bdb03910a80005dc384746f11de091df9caddb [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>
sg481n72aacef2017-10-05 16:13:21 +000039
sg481nbd890c52017-08-28 12:11:35 -040040 <developers>
41 <developer>
42 <name>Jonathan Gathman</name>
43 <email></email>
44 <organization>ATT</organization>
45 <organizationUrl></organizationUrl>
46 </developer>
47 </developers>
48<properties>
49 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481na2ac6782017-09-18 16:35:50 -040050 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
sg481n4ccc6b82017-10-04 17:29:37 +000051 <!-- SONAR -->
52 <jacoco.version>0.7.7.201606060606</jacoco.version>
53 <sonar.skip>true</sonar.skip>
54 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
55 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
56 <!-- Default Sonar configuration -->
57 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
58 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
59 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
60 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
sg481nbd890c52017-08-28 12:11:35 -040061 <nexusproxy>https://nexus.onap.org</nexusproxy>
62 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
63 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
64 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481n2bc35382017-09-23 15:50:15 +000065 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040066</properties>
67 <dependencies>
68 <dependency>
69 <groupId>org.onap.aaf.inno</groupId>
70 <artifactId>env</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040071 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040072 </dependency>
73 <dependency>
74 <groupId>org.onap.aaf.inno</groupId>
75 <artifactId>log4j</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040076 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040077 </dependency>
78 <dependency>
79 <groupId>org.onap.aaf.inno</groupId>
80 <artifactId>rosetta</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040081 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040082 </dependency>
83 <dependency>
84 <groupId>org.onap.aaf.cadi</groupId>
85 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040086 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040087 <exclusions>
88 <exclusion>
89 <groupId>javax.servlet</groupId>
90 <artifactId>servlet-api</artifactId>
91 </exclusion>
92 </exclusions>
93
94 </dependency>
95 <dependency>
96 <groupId>javax.servlet</groupId>
97 <artifactId>servlet-api</artifactId>
98 </dependency>
99
100 </dependencies>
101
102 <build>
103 <plugins>
104 </plugins>
105 <pluginManagement>
106 <plugins>
sg481na2ac6782017-09-18 16:35:50 -0400107
sg481nbd890c52017-08-28 12:11:35 -0400108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000111 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400112 <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>
sg481na9d21082017-09-23 14:26:06 +0000123 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400124
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
140 <plugin>
141 <groupId>org.sonatype.plugins</groupId>
142 <artifactId>nexus-staging-maven-plugin</artifactId>
143 <version>1.6.7</version>
144 <extensions>true</extensions>
145 <configuration>
146 <nexusUrl>${nexusproxy}</nexusUrl>
147 <stagingProfileId>176c31dfe190a</stagingProfileId>
148 <serverId>ecomp-staging</serverId>
149 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400150 </plugin>
151 <plugin>
sg481n4ccc6b82017-10-04 17:29:37 +0000152 <groupId>org.jacoco</groupId>
153 <artifactId>jacoco-maven-plugin</artifactId>
154 <version>${jacoco.version}</version>
155 <configuration>
156 <excludes>
157 <exclude>**/gen/**</exclude>
158 <exclude>**/generated-sources/**</exclude>
159 <exclude>**/yang-gen/**</exclude>
160 <exclude>**/pax/**</exclude>
161 </excludes>
162 </configuration>
163 <executions>
164
165 <execution>
166 <id>pre-unit-test</id>
167 <goals>
168 <goal>prepare-agent</goal>
169 </goals>
170 <configuration>
171 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
172 <propertyName>surefireArgLine</propertyName>
173 </configuration>
174 </execution>
175
176
177 <execution>
178 <id>post-unit-test</id>
179 <phase>test</phase>
180 <goals>
181 <goal>report</goal>
182 </goals>
183 <configuration>
184 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
185 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
186 </configuration>
187 </execution>
188 <execution>
189 <id>pre-integration-test</id>
190 <phase>pre-integration-test</phase>
191 <goals>
192 <goal>prepare-agent</goal>
193 </goals>
194 <configuration>
195 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
196
197 <propertyName>failsafeArgLine</propertyName>
198 </configuration>
199 </execution>
200
201
202 <execution>
203 <id>post-integration-test</id>
204 <phase>post-integration-test</phase>
205 <goals>
206 <goal>report</goal>
207 </goals>
208 <configuration>
209 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
210 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
211 </configuration>
212 </execution>
213 </executions>
214 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400215
216 </plugins>
217 </pluginManagement>
218 </build>
219 <distributionManagement>
220 <repository>
221 <id>ecomp-releases</id>
222 <name>AAF Release Repository</name>
223 <url>${nexusproxy}${releaseNexusPath}</url>
224 </repository>
225 <snapshotRepository>
226 <id>ecomp-snapshots</id>
227 <name>AAF Snapshot Repository</name>
228 <url>${nexusproxy}${snapshotNexusPath}</url>
229 </snapshotRepository>
230 <site>
231 <id>ecomp-site</id>
232 <url>dav:${nexusproxy}${sitePath}</url>
233 </site>
234 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000235
sg481nbd890c52017-08-28 12:11:35 -0400236
237</project>
238