blob: e444ea417901c83526dd8c57b90057a944a9a689 [file] [log] [blame]
Instrumentalac1e1ec2018-03-26 13:37:04 -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 <modelVersion>4.0.0</modelVersion>
Sai Gandhamb4f108d2018-04-09 01:12:45 +000025 <parent>
Sai Gandhama3ee2292018-04-07 22:38:08 -050026 <groupId>org.onap.aaf.authz</groupId>
Sai Gandham83fc0252018-04-09 16:28:48 +000027 <artifactId>parent</artifactId>
Sai Gandhama3ee2292018-04-07 22:38:08 -050028 <version>2.1.0-SNAPSHOT</version>
Sai Gandhamb4f108d2018-04-09 01:12:45 +000029 </parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000030 <groupId>org.onap.aaf.authz</groupId>
31 <artifactId>miscparent</artifactId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070032 <name>AAF Misc Parent</name>
Sai Gandhamc83c6332018-04-05 16:08:24 -050033 <version>2.1.0-SNAPSHOT</version>
Instrumentalac1e1ec2018-03-26 13:37:04 -070034 <packaging>pom</packaging>
IanHowell3901cf82018-04-03 11:24:27 -050035
Sai Gandhama3ee2292018-04-07 22:38:08 -050036
Instrumentalac1e1ec2018-03-26 13:37:04 -070037
38 <properties>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050039 <!-- SONAR -->
Sai Gandhama88f56f2018-04-03 17:09:33 -050040 <sonar.skip>true</sonar.skip>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050041 <jacoco.version>0.7.7.201606060606</jacoco.version>
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44 <!-- Default Sonar configuration -->
45 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
46 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
47 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Instrumentalac1e1ec2018-03-26 13:37:04 -070049 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50 <powermock.version>1.5.1</powermock.version>
Sai Gandhame01703c2018-03-26 22:57:09 +000051 <nexusproxy>https://nexus.onap.org</nexusproxy>
52 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
53 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
54 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000055 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumentalac1e1ec2018-03-26 13:37:04 -070056 </properties>
57
IanHowell3901cf82018-04-03 11:24:27 -050058
Sai Gandhame01703c2018-03-26 22:57:09 +000059
Instrumentalac1e1ec2018-03-26 13:37:04 -070060 <developers>
61 <developer>
62 <name>Jonathan Gathman</name>
63 <email>jonathan.gathman@att.com</email>
64 <organization>ATT</organization>
65 <roles>
66 <role>Architect</role>
67 <role>Lead Developer</role>
68 </roles>
69 </developer>
70 <developer>
71 <name>Gabe Maurer</name>
72 <email>gabe.maurer@att.com</email>
73 <organization>ATT</organization>
74 <roles>
75 <role>Developer</role>
76 </roles>
77 </developer>
78 <developer>
79 <name>Ian Howell</name>
80 <email>ian.howell@att.com</email>
81 <organization>ATT</organization>
82 <roles>
83 <role>Developer</role>
84 </roles>
85 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000086 <developer>
87 <name>Sai Gandham</name>
88 <email>sai.gandham@att.com</email>
89 <organization>ATT</organization>
90 <roles>
91 <role>Developer</role>
92 </roles>
93 </developer>
Instrumentalac1e1ec2018-03-26 13:37:04 -070094 </developers>
95
96 <dependencies>
97 <dependency>
98 <groupId>org.mockito</groupId>
99 <artifactId>mockito-all</artifactId>
100 <version>1.9.5</version>
101 <scope>test</scope>
102 </dependency>
103
104 <dependency>
105 <groupId>org.powermock</groupId>
106 <artifactId>powermock-module-junit4</artifactId>
107 <version>${powermock.version}</version>
108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.powermock</groupId>
112 <artifactId>powermock-api-mockito</artifactId>
113 <version>${powermock.version}</version>
114 <scope>test</scope>
115 </dependency>
116 <dependency>
117 <groupId>junit</groupId>
118 <artifactId>junit</artifactId>
119 <version>4.10</version>
120 <scope>test</scope>
IanHowell3901cf82018-04-03 11:24:27 -0500121 </dependency>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700122 </dependencies>
123
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500124 <!-- ============================================================== -->
125 <!-- Define common plugins and make them available for all modules -->
126 <!-- ============================================================== -->
Instrumentalac1e1ec2018-03-26 13:37:04 -0700127 <build>
128 <testSourceDirectory>src/test/java</testSourceDirectory>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500129 <plugins>
130 </plugins>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700131 <pluginManagement>
132 <plugins>
133 <plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700134 <inherited>true</inherited>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-compiler-plugin</artifactId>
137 <version>2.3.2</version>
138 <configuration>
139 <source>1.7</source>
140 <target>1.7</target>
141 </configuration>
142 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500143
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <version>2.4</version>
147 <artifactId>maven-jar-plugin</artifactId>
148 <configuration>
149 <outputDirectory>target</outputDirectory>
150 <archive>
151 <manifestEntries>
152 <Sealed>true</Sealed>
153 </manifestEntries>
154 </archive>
155 </configuration>
156 </plugin>
157
158 <!-- Define the javadoc plugin -->
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-javadoc-plugin</artifactId>
162 <version>2.10</version>
163 <configuration>
164 <excludePackageNames>org.opendaylight.*</excludePackageNames>
165 </configuration>
166 </plugin>
167
168 <plugin>
169 <artifactId>maven-release-plugin</artifactId>
170 <version>2.5.2</version>
171 <configuration>
172 <goals>-s ${mvn.settings} deploy</goals>
173 </configuration>
174 </plugin>
175
176 <plugin>
177 <artifactId>maven-assembly-plugin</artifactId>
178 <version>2.5.5</version>
179 </plugin>
180
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-deploy-plugin</artifactId>
184 <version>2.8.1</version>
185 <configuration>
186 <skip>false</skip>
187 </configuration>
188
189 </plugin>
190
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-dependency-plugin</artifactId>
194 <version>2.10</version>
195 </plugin>
196
197 <!-- Maven surefire plugin for testing -->
198 <plugin>
199 <artifactId>maven-surefire-plugin</artifactId>
200 <version>2.17</version>
201 <configuration>
202 </configuration>
203 </plugin>
204
205 <!--This plugin's configuration is used to store Eclipse m2e settings
206 only. It has no influence on the Maven build itself. -->
207 <plugin>
208 <groupId>org.eclipse.m2e</groupId>
209 <artifactId>lifecycle-mapping</artifactId>
210 <version>1.0.0</version>
211 <configuration>
212 <lifecycleMappingMetadata>
213 <pluginExecutions>
214 <pluginExecution>
215 <pluginExecutionFilter>
216 <groupId>
217 org.codehaus.mojo
218 </groupId>
219 <artifactId>
220 jaxb2-maven-plugin
221 </artifactId>
222 <versionRange>
223 [1.3,)
224 </versionRange>
225 <goals>
226 <goal>xjc</goal>
227 </goals>
228 </pluginExecutionFilter>
229 <action>
230 <ignore />
231 </action>
232 </pluginExecution>
233 </pluginExecutions>
234 </lifecycleMappingMetadata>
235 </configuration>
236 </plugin>
Sai Gandhame01703c2018-03-26 22:57:09 +0000237 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500238 <groupId>org.sonatype.plugins</groupId>
239 <artifactId>nexus-staging-maven-plugin</artifactId>
240 <version>1.6.7</version>
241 <extensions>true</extensions>
242 <configuration>
243 <nexusUrl>${nexusproxy}</nexusUrl>
244 <stagingProfileId>176c31dfe190a</stagingProfileId>
245 <serverId>ecomp-staging</serverId>
246 </configuration>
247 </plugin>
248 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500249 <groupId>org.jacoco</groupId>
250 <artifactId>jacoco-maven-plugin</artifactId>
251 <version>${jacoco.version}</version>
252 <configuration>
253 <excludes>
254 <exclude>**/gen/**</exclude>
255 <exclude>**/generated-sources/**</exclude>
256 <exclude>**/yang-gen/**</exclude>
257 <exclude>**/pax/**</exclude>
258 </excludes>
259 </configuration>
260 <executions>
261 <execution>
262 <id>pre-unit-test</id>
263 <goals>
264 <goal>prepare-agent</goal>
265 </goals>
266 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500267 <skipTests>false</skipTests>
268 <includes>
269 <include>**/JU*.java</include>
270 </includes>
271 <excludes>
272 </excludes>
IanHowell3901cf82018-04-03 11:24:27 -0500273 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
274 <propertyName>surefireArgLine</propertyName>
275 </configuration>
276 </execution>
277 <execution>
278 <id>post-unit-test</id>
279 <phase>test</phase>
280 <goals>
281 <goal>report</goal>
282 </goals>
283 <configuration>
284 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
285 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
286 </configuration>
287 </execution>
288 <execution>
289 <id>pre-integration-test</id>
290 <phase>pre-integration-test</phase>
291 <goals>
292 <goal>prepare-agent</goal>
293 </goals>
294 <configuration>
295 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
296 <propertyName>failsafeArgLine</propertyName>
297 </configuration>
298 </execution>
299 <execution>
300 <id>post-integration-test</id>
301 <phase>post-integration-test</phase>
302 <goals>
303 <goal>report</goal>
304 </goals>
305 <configuration>
306 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
307 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
308 </configuration>
309 </execution>
310 </executions>
311 </plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700312 </plugins>
313 </pluginManagement>
314 </build>
315
Instrumentalac1e1ec2018-03-26 13:37:04 -0700316 <modules>
317 <module>env</module>
318 <module>xgen</module>
319 <module>rosetta</module>
320 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
321 </modules>
322
323 <dependencyManagement>
324 <dependencies>
325 <dependency>
326 <groupId>log4j</groupId>
327 <artifactId>log4j</artifactId>
328 <version>1.2.17</version>
329 </dependency>
330 <dependency>
331 <groupId>org.slf4j</groupId>
332 <artifactId>slf4j-log4j12</artifactId>
333 <version>1.7.5</version>
334 </dependency>
335 </dependencies>
336 </dependencyManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500337
Sai Gandhame01703c2018-03-26 22:57:09 +0000338 <distributionManagement>
339 <repository>
340 <id>ecomp-releases</id>
341 <name>AAF Release Repository</name>
342 <url>${nexusproxy}${releaseNexusPath}</url>
343 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000344 <snapshotRepository>
345 <id>ecomp-snapshots</id>
346 <name>AAF Snapshot Repository</name>
347 <url>${nexusproxy}${snapshotNexusPath}</url>
348 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000349 <site>
350 <id>ecomp-site</id>
351 <url>dav:${nexusproxy}${sitePath}</url>
352 </site>
353 </distributionManagement>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700354</project>