blob: 65929e65453feb5d3a918b8fbcc430ca0dbc1328 [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"
Instrumentale9ae0482019-08-02 14:46:27 -050023 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <parent>
25 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>miscparent</artifactId>
Instrumental4d0a0452019-11-14 12:14:16 -060027 <version>2.1.17-SNAPSHOT</version>
Instrumentale9ae0482019-08-02 14:46:27 -050028 <relativePath>..</relativePath>
29 </parent>
Instrumentalac1e1ec2018-03-26 13:37:04 -070030
Instrumentale9ae0482019-08-02 14:46:27 -050031 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-misc-log4j</artifactId>
33 <name>AAF Misc Log4J</name>
34 <packaging>jar</packaging>
Instrumentalac1e1ec2018-03-26 13:37:04 -070035
Instrumentale9ae0482019-08-02 14:46:27 -050036 <developers>
37 <developer>
38 <name>Jonathan Gathman</name>
39 <email>jonathan.gathman@att.com</email>
40 <organization>ATT</organization>
41 <roles>
42 <role>Architect</role>
43 <role>Lead Developer</role>
44 </roles>
45 </developer>
46 <developer>
Instrumentale9ae0482019-08-02 14:46:27 -050047 <name>Sai Gandham</name>
48 <email>sai.gandham@att.com</email>
49 <organization>ATT</organization>
50 <roles>
51 <role>Developer</role>
52 </roles>
53 </developer>
54 </developers>
IanHowell3901cf82018-04-03 11:24:27 -050055
Instrumentale9ae0482019-08-02 14:46:27 -050056 <properties>
57 <!-- SONAR -->
58 <!--<sonar.skip>true</sonar.skip> -->
59 <jacoco.version>0.7.7.201606060606</jacoco.version>
60 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
61 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
62 <!-- Default Sonar configuration -->
63 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
64 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
65 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
66 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
IanHowell3901cf82018-04-03 11:24:27 -050067
Instrumentale9ae0482019-08-02 14:46:27 -050068 <nexusproxy>https://nexus.onap.org</nexusproxy>
69 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
70 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
71 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
72 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
73 </properties>
IanHowell3901cf82018-04-03 11:24:27 -050074
Instrumentale9ae0482019-08-02 14:46:27 -050075 <dependencies>
76 <dependency>
77 <groupId>org.onap.aaf.authz</groupId>
78 <artifactId>aaf-misc-env</artifactId>
79 <version>${project.version}</version>
80 </dependency>
81 </dependencies>
Instrumentalac1e1ec2018-03-26 13:37:04 -070082
Sai Gandham61f8fdf2018-04-03 12:07:07 -050083<!-- ============================================================== -->
Instrumentale9ae0482019-08-02 14:46:27 -050084 <!-- Define common plugins and make them available for all modules -->
85 <!-- ============================================================== -->
86 <build>
87 <testSourceDirectory>src/test/java</testSourceDirectory>
88 <plugins>
89 </plugins>
90 <pluginManagement>
91 <plugins>
92 <plugin>
93 <inherited>true</inherited>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-compiler-plugin</artifactId>
96 <version>2.3.2</version>
97 <configuration>
98 <source>1.7</source>
99 <target>1.7</target>
100 </configuration>
101 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500102
Instrumentale9ae0482019-08-02 14:46:27 -0500103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <version>2.4</version>
106 <artifactId>maven-jar-plugin</artifactId>
107 <configuration>
108 <outputDirectory>target</outputDirectory>
109 <archive>
110 <manifestEntries>
111 <Sealed>true</Sealed>
112 </manifestEntries>
113 </archive>
114 </configuration>
115 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500116
Instrumentale9ae0482019-08-02 14:46:27 -0500117 <!-- Define the javadoc plugin -->
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-javadoc-plugin</artifactId>
121 <version>2.10</version>
122 <configuration>
123 <excludePackageNames>org.opendaylight.*</excludePackageNames>
124 </configuration>
125 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500126
Instrumentale9ae0482019-08-02 14:46:27 -0500127 <plugin>
128 <artifactId>maven-release-plugin</artifactId>
129 <version>2.5.2</version>
130 <configuration>
131 <goals>-s ${mvn.settings} deploy</goals>
132 </configuration>
133 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500134
Instrumentale9ae0482019-08-02 14:46:27 -0500135 <plugin>
136 <artifactId>maven-assembly-plugin</artifactId>
137 <version>2.5.5</version>
138 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500139
Instrumentale9ae0482019-08-02 14:46:27 -0500140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-deploy-plugin</artifactId>
143 <version>2.8.1</version>
144 <configuration>
145 <skip>false</skip>
146 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500147
Instrumentale9ae0482019-08-02 14:46:27 -0500148 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500149
Instrumentale9ae0482019-08-02 14:46:27 -0500150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-dependency-plugin</artifactId>
153 <version>2.10</version>
154 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500155
Instrumentale9ae0482019-08-02 14:46:27 -0500156 <!-- Maven surefire plugin for testing -->
157 <plugin>
158 <artifactId>maven-surefire-plugin</artifactId>
159 <version>2.17</version>
160 <configuration>
161 <skipTests>false</skipTests>
162 <includes>
163 <include>**/JU*.java</include>
164 </includes>
165 <excludes>
166 </excludes>
167 </configuration>
168 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500169
Instrumentale9ae0482019-08-02 14:46:27 -0500170 <!--This plugin's configuration is used to store Eclipse m2e settings
171 only. It has no influence on the Maven build itself. -->
172 <plugin>
173 <groupId>org.eclipse.m2e</groupId>
174 <artifactId>lifecycle-mapping</artifactId>
175 <version>1.0.0</version>
176 <configuration>
177 <lifecycleMappingMetadata>
178 <pluginExecutions>
179 <pluginExecution>
180 <pluginExecutionFilter>
181 <groupId>
182 org.codehaus.mojo
183 </groupId>
184 <artifactId>
185 jaxb2-maven-plugin
186 </artifactId>
187 <versionRange>
188 [1.3,)
189 </versionRange>
190 <goals>
191 <goal>xjc</goal>
192 </goals>
193 </pluginExecutionFilter>
194 <action>
195 <ignore />
196 </action>
197 </pluginExecution>
198 </pluginExecutions>
199 </lifecycleMappingMetadata>
200 </configuration>
201 </plugin>
202 <plugin>
203 <groupId>org.jacoco</groupId>
204 <artifactId>jacoco-maven-plugin</artifactId>
205 <version>${jacoco.version}</version>
206 <configuration>
207 <excludes>
208 <exclude>**/gen/**</exclude>
209 <exclude>**/generated-sources/**</exclude>
210 <exclude>**/yang-gen/**</exclude>
211 <exclude>**/pax/**</exclude>
212 </excludes>
213 </configuration>
214 <executions>
215 <execution>
216 <id>pre-unit-test</id>
217 <goals>
218 <goal>prepare-agent</goal>
219 </goals>
220 <configuration>
221 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
222 <propertyName>surefireArgLine</propertyName>
223 </configuration>
224 </execution>
225 <execution>
226 <id>post-unit-test</id>
227 <phase>test</phase>
228 <goals>
229 <goal>report</goal>
230 </goals>
231 <configuration>
232 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
233 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
234 </configuration>
235 </execution>
236 <execution>
237 <id>pre-integration-test</id>
238 <phase>pre-integration-test</phase>
239 <goals>
240 <goal>prepare-agent</goal>
241 </goals>
242 <configuration>
243 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
244 <propertyName>failsafeArgLine</propertyName>
245 </configuration>
246 </execution>
247 <execution>
248 <id>post-integration-test</id>
249 <phase>post-integration-test</phase>
250 <goals>
251 <goal>report</goal>
252 </goals>
253 <configuration>
254 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
255 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
256 </configuration>
257 </execution>
258 </executions>
259 </plugin>
260 </plugins>
261 </pluginManagement>
262 </build>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700263
Instrumentale9ae0482019-08-02 14:46:27 -0500264 <distributionManagement>
265 <repository>
266 <id>ecomp-releases</id>
267 <name>AAF Release Repository</name>
268 <url>${nexusproxy}${releaseNexusPath}</url>
269 </repository>
270 <snapshotRepository>
271 <id>ecomp-snapshots</id>
272 <name>AAF Snapshot Repository</name>
273 <url>${nexusproxy}${snapshotNexusPath}</url>
274 </snapshotRepository>
275 <site>
276 <id>ecomp-site</id>
277 <url>dav:${nexusproxy}${sitePath}</url>
278 </site>
279 </distributionManagement>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700280</project>