blob: f6fb1fdfc7ec34356970eacbd0dfd29647875762 [file] [log] [blame]
Instrumentala20accc2018-03-26 13:49:56 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright (c) 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-->
22<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <parent>
Instrumental17ca7442018-03-29 16:54:19 -050025 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070026 <artifactId>parent</artifactId>
Sai Gandhamc83c6332018-04-05 16:08:24 -050027 <version>2.1.0-SNAPSHOT</version>
su622b40077be2018-04-08 13:50:31 -040028 <relativePath>../pom.xml</relativePath>
Instrumentala20accc2018-03-26 13:49:56 -070029 </parent>
30
31 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-cadi-aaf</artifactId>
33 <name>AAF CADI AAF Connection Library</name>
34 <packaging>jar</packaging>
35
Sai Gandhamc434f3c2018-03-27 16:29:24 +000036 <properties>
37 <!-- SONAR -->
Sai Gandhama88f56f2018-04-03 17:09:33 -050038 <sonar.skip>true</sonar.skip>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000039 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050043 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
44 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000045 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <nexusproxy>https://nexus.onap.org</nexusproxy>
48 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham103d3ca2018-04-06 14:00:44 -050051 <sitePath>/content/sites/site/org/onap/aaf/authz/cadi/${project.artifactId}/${project.version}</sitePath>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000052 </properties>
Instrumentala20accc2018-03-26 13:49:56 -070053 <developers>
54 <developer>
55 <name>Jonathan Gathman</name>
56 <email>jonathan.gathman@att.com</email>
57 <organization>ATT</organization>
58 <roles>
59 <role>Architect</role>
60 <role>Lead Developer</role>
61 </roles>
62 </developer>
63 <developer>
64 <name>Gabe Maurer</name>
65 <email>gabe.maurer@att.com</email>
66 <organization>ATT</organization>
67 <roles>
68 <role>Developer</role>
69 </roles>
70 </developer>
71 <developer>
72 <name>Ian Howell</name>
73 <email>ian.howell@att.com</email>
74 <organization>ATT</organization>
75 <roles>
76 <role>Developer</role>
77 </roles>
78 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000079 <developer>
80 <name>Sai Gandham</name>
81 <email>sai.gandham@att.com</email>
82 <organization>ATT</organization>
83 <roles>
84 <role>Developer</role>
85 </roles>
86 </developer>
Instrumentala20accc2018-03-26 13:49:56 -070087 </developers>
88
89
90 <dependencies>
91 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050092 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070093 <artifactId>aaf-auth-client</artifactId>
su622b40077be2018-04-08 13:50:31 -040094 <version>${project.version}</version>
Instrumentala20accc2018-03-26 13:49:56 -070095 </dependency>
96
97 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050098 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070099 <artifactId>aaf-cadi-client</artifactId>
su622b40077be2018-04-08 13:50:31 -0400100 <version>${project.version}</version>
Instrumentala20accc2018-03-26 13:49:56 -0700101 </dependency>
102
103 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500104 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700105 <artifactId>aaf-misc-env</artifactId>
su622b40077be2018-04-08 13:50:31 -0400106 <version>${project.version}</version>
Instrumentala20accc2018-03-26 13:49:56 -0700107 </dependency>
108
109 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500110 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700111 <artifactId>aaf-cadi-core</artifactId>
su622b40077be2018-04-08 13:50:31 -0400112 <version>${project.version}</version>
Instrumentala20accc2018-03-26 13:49:56 -0700113 </dependency>
114
115 <dependency>
116 <groupId>javax.servlet</groupId>
Instrumental924b18d2018-04-05 20:17:18 -0500117 <artifactId>javax.servlet-api</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -0700118 <scope>provided</scope>
119 </dependency>
120 </dependencies>
121 <build>
122 <plugins>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500127 <plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000128 <groupId>org.sonatype.plugins</groupId>
129 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000130 <extensions>true</extensions>
131 <configuration>
132 <nexusUrl>${nexusproxy}</nexusUrl>
133 <stagingProfileId>176c31dfe190a</stagingProfileId>
134 <serverId>ecomp-staging</serverId>
135 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500136 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000137 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500138 <groupId>org.jacoco</groupId>
139 <artifactId>jacoco-maven-plugin</artifactId>
140 <version>${jacoco.version}</version>
141 <configuration>
142 <excludes>
143 <exclude>**/gen/**</exclude>
144 <exclude>**/generated-sources/**</exclude>
145 <exclude>**/yang-gen/**</exclude>
146 <exclude>**/pax/**</exclude>
147 </excludes>
148 </configuration>
149 <executions>
150 <execution>
151 <id>pre-unit-test</id>
152 <goals>
153 <goal>prepare-agent</goal>
154 </goals>
155 <configuration>
156 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
157 <propertyName>surefireArgLine</propertyName>
158 </configuration>
159 </execution>
160 <execution>
161 <id>post-unit-test</id>
162 <phase>test</phase>
163 <goals>
164 <goal>report</goal>
165 </goals>
166 <configuration>
167 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
168 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
169 </configuration>
170 </execution>
171 <execution>
172 <id>pre-integration-test</id>
173 <phase>pre-integration-test</phase>
174 <goals>
175 <goal>prepare-agent</goal>
176 </goals>
177 <configuration>
178 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
179 <propertyName>failsafeArgLine</propertyName>
180 </configuration>
181 </execution>
182 <execution>
183 <id>post-integration-test</id>
184 <phase>post-integration-test</phase>
185 <goals>
186 <goal>report</goal>
187 </goals>
188 <configuration>
189 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
190 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
191 </configuration>
192 </execution>
193 </executions>
194 </plugin>
195 <!-- We want to create a Jar with Rosetta built in (since I don't want
196 a separate deployment at this time Use this one as the jar to put in SWM
197 packages <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration>
198 <classifier>tests</classifier> <archive> <manifest> <mainClass>org.onap.aaf.cadi.cm.CmAgent</mainClass>
199 </manifest> <manifestEntries> <Sealed>true</Sealed> </manifestEntries> </archive>
200 </configuration> <executions> <execution> <id>full</id> <phase>package</phase>
201 <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/assemble/cadi-aaf.xml</descriptor>
Instrumentala20accc2018-03-26 13:49:56 -0700202 </descriptors> </configuration> </execution> </executions> </plugin> -->
203 </plugins>
204 </build>
IanHowell3901cf82018-04-03 11:24:27 -0500205
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000206 <distributionManagement>
207 <repository>
208 <id>ecomp-releases</id>
209 <name>AAF Release Repository</name>
210 <url>${nexusproxy}${releaseNexusPath}</url>
211 </repository>
212 <snapshotRepository>
213 <id>ecomp-snapshots</id>
214 <name>AAF Snapshot Repository</name>
215 <url>${nexusproxy}${snapshotNexusPath}</url>
216 </snapshotRepository>
217 <site>
218 <id>ecomp-site</id>
219 <url>dav:${nexusproxy}${sitePath}</url>
220 </site>
221 </distributionManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700222</project>