blob: 47d7c442ad3b3be8ad2562667075c07075191bbe [file] [log] [blame]
Sebastian Bazley8391bf82013-05-13 19:25:52 +00001<?xml version="1.0" encoding="UTF-8"?>
Torsten Curdt444238f2008-07-10 21:36:43 +00002<!--
Torsten Curdt444238f2008-07-10 21:36:43 +00003 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
Torsten Curdt444238f2008-07-10 21:36:43 +000017-->
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000018<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000019 <modelVersion>4.0.0</modelVersion>
Torsten Curdtca165392008-07-10 10:17:44 +000020 <parent>
21 <groupId>org.apache.commons</groupId>
Stefan Bodewig01185cb2009-03-20 13:31:11 +000022 <artifactId>commons-parent</artifactId>
Stefan Bodewig3125fb62018-07-03 06:49:46 +020023 <version>47</version>
Torsten Curdtca165392008-07-10 10:17:44 +000024 </parent>
25
26 <artifactId>commons-compress</artifactId>
Stefan Bodewiga7a95f02018-08-16 10:13:59 +020027 <version>1.19-SNAPSHOT</version>
Sebastian Bazley6eb03602013-10-21 14:50:42 +000028 <name>Apache Commons Compress</name>
Stefan Bodewig91b84322018-03-08 11:42:12 +010029 <url>https://commons.apache.org/proper/commons-compress/</url>
Sebastian Bazleyec377622012-03-31 12:07:04 +000030 <!-- The description is not indented to make it look better in the release notes -->
Sebastian Bazley842dfd82010-04-13 19:25:29 +000031 <description>
Stefan Bodewig083e7a42014-10-05 13:38:23 +000032Apache Commons Compress software defines an API for working with
Sebastian Bazley08bf3f72015-02-04 17:56:41 +000033compression and archive formats. These include: bzip2, gzip, pack200,
Stefan Bodewig69a4a552018-02-02 18:23:59 +010034lzma, xz, Snappy, traditional Unix Compress, DEFLATE, DEFLATE64, LZ4,
35Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
Sebastian Bazley842dfd82010-04-13 19:25:29 +000036 </description>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000037
Sebastian Bazleybea8d432010-04-13 19:16:58 +000038 <properties>
Gary Gregoryf8e09942016-06-25 13:34:07 -070039 <maven.compiler.source>1.7</maven.compiler.source>
40 <maven.compiler.target>1.7</maven.compiler.target>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000041 <commons.componentid>compress</commons.componentid>
Rob Tompkins787efb82017-05-27 20:18:35 -040042 <commons.module.name>org.apache.commons.compress</commons.module.name>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000043 <commons.jira.id>COMPRESS</commons.jira.id>
44 <commons.jira.pid>12310904</commons.jira.pid>
45 <!-- configuration bits for cutting a release candidate -->
Stefan Bodewig7ee21992014-01-11 16:07:00 +000046 <commons.release.version>${project.version}</commons.release.version>
Stefan Bodewig68d0c022011-10-26 03:50:11 +000047 <commons.rc.version>RC1</commons.rc.version>
Gary Gregoryb49663a2018-01-09 12:24:05 -070048 <powermock.version>1.7.3</powermock.version>
Gary Gregoryf2430852018-01-09 12:25:56 -070049 <commons.pmd-plugin.version>3.8</commons.pmd-plugin.version>
Stefan Bodewig72f048d2016-12-23 09:50:17 +010050
Stefan Bodewig92c8fc12018-04-25 20:25:32 +020051 <commons.manifestlocation>${project.build.outputDirectory}/META-INF</commons.manifestlocation>
52 <commons.manifestfile>${commons.manifestlocation}/MANIFEST.MF</commons.manifestfile>
Stefan Bodewig8ed5daa2018-06-19 17:16:29 +020053 <commons.osgi.import>
54 org.tukaani.xz;resolution:=optional,
55 org.brotli.dec;resolution:=optional,
56 com.github.luben.zstd;resolution:=optional,
57 javax.crypto.*;resolution:=optional,
58 *
59 </commons.osgi.import>
Stefan Bodewig92c8fc12018-04-25 20:25:32 +020060
Stefan Bodewig72f048d2016-12-23 09:50:17 +010061 <!-- only show issues of the current version -->
62 <commons.changes.onlyCurrentVersion>true</commons.changes.onlyCurrentVersion>
Stefan Bodewigcd6de3a2016-12-29 18:57:37 +010063
64 <!-- generate report even if there are binary incompatible changes -->
65 <commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
Stefan Bodewigb4b13bd2018-08-12 14:47:38 +020066 <!-- 0.12.0 dies with a NullPointerException -->
67 <commons.japicmp.version>0.11.1</commons.japicmp.version>
Stefan Bodewig0de76f12018-04-23 22:11:27 +020068
Stefan Bodewig0a30d432018-08-16 18:04:35 +020069 <!-- definition uses commons.componentId starting with parent 47,
70 this doesn't work for us -->
71 <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${project.artifactId}</commons.scmPubUrl>
72
Stefan Bodewig0de76f12018-04-23 22:11:27 +020073 <pax.exam.version>4.11.0</pax.exam.version>
Stefan Bodewig9146faa2018-04-25 20:20:09 +020074 <slf4j.version>1.7.21</slf4j.version>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000075 </properties>
76
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000077 <issueManagement>
78 <system>jira</system>
Stefan Bodewig91b84322018-03-08 11:42:12 +010079 <url>https://issues.apache.org/jira/browse/COMPRESS</url>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000080 </issueManagement>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000081
Torsten Curdtca165392008-07-10 10:17:44 +000082 <dependencies>
83 <dependency>
84 <groupId>junit</groupId>
85 <artifactId>junit</artifactId>
Sebastian Bazleyf18a9f62015-02-16 00:08:05 +000086 <version>4.12</version>
Torsten Curdtca165392008-07-10 10:17:44 +000087 <scope>test</scope>
88 </dependency>
Stefan Bodewigaa739262011-11-02 16:13:41 +000089 <dependency>
Andre F de Miranda79843872017-10-14 17:57:19 +110090 <groupId>com.github.luben</groupId>
91 <artifactId>zstd-jni</artifactId>
Stefan Bodewig3026d1f2018-02-07 06:25:05 +010092 <version>1.3.3-3</version>
Andre F de Miranda79843872017-10-14 17:57:19 +110093 <optional>true</optional>
94 </dependency>
95 <dependency>
Philippe Mouawada7936122017-05-02 12:22:04 -070096 <groupId>org.brotli</groupId>
97 <artifactId>dec</artifactId>
Stefan Bodewig0eccda82017-05-07 20:22:58 +020098 <version>0.1.2</version>
Philippe Mouawada7936122017-05-02 12:22:04 -070099 <optional>true</optional>
100 </dependency>
101 <dependency>
Stefan Bodewigaa739262011-11-02 16:13:41 +0000102 <groupId>org.tukaani</groupId>
103 <artifactId>xz</artifactId>
Stefan Bodewigc3be6fb2018-01-04 17:54:59 +0100104 <version>1.8</version>
Emmanuel Bourg61792c92014-03-19 12:28:16 +0000105 <optional>true</optional>
Stefan Bodewigaa739262011-11-02 16:13:41 +0000106 </dependency>
Stefan Bodewige7c50ce2016-04-09 18:25:14 +0200107 <dependency>
108 <groupId>org.powermock</groupId>
109 <artifactId>powermock-module-junit4</artifactId>
110 <version>${powermock.version}</version>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.powermock</groupId>
115 <artifactId>powermock-api-mockito</artifactId>
116 <version>${powermock.version}</version>
117 <scope>test</scope>
118 </dependency>
Stefan Bodewig0de76f12018-04-23 22:11:27 +0200119
120 <!-- integration test verifiying OSGi bundle works -->
121 <dependency>
122 <groupId>org.ops4j.pax.exam</groupId>
Stefan Bodewig9146faa2018-04-25 20:20:09 +0200123 <artifactId>pax-exam-container-native</artifactId>
Stefan Bodewig0de76f12018-04-23 22:11:27 +0200124 <version>${pax.exam.version}</version>
125 <scope>test</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.ops4j.pax.exam</groupId>
129 <artifactId>pax-exam-junit4</artifactId>
130 <version>${pax.exam.version}</version>
131 <scope>test</scope>
132 </dependency>
133 <dependency>
134 <groupId>org.ops4j.pax.exam</groupId>
Stefan Bodewig9146faa2018-04-25 20:20:09 +0200135 <artifactId>pax-exam-cm</artifactId>
Stefan Bodewig0de76f12018-04-23 22:11:27 +0200136 <version>${pax.exam.version}</version>
137 <scope>test</scope>
138 </dependency>
139 <dependency>
Stefan Bodewig9146faa2018-04-25 20:20:09 +0200140 <groupId>org.ops4j.pax.exam</groupId>
141 <artifactId>pax-exam-link-mvn</artifactId>
142 <version>${pax.exam.version}</version>
143 <scope>test</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.apache.felix</groupId>
147 <artifactId>org.apache.felix.framework</artifactId>
148 <version>5.6.10</version>
Stefan Bodewig0de76f12018-04-23 22:11:27 +0200149 <scope>test</scope>
150 </dependency>
151 <dependency>
152 <groupId>javax.inject</groupId>
153 <artifactId>javax.inject</artifactId>
154 <version>1</version>
155 <scope>test</scope>
156 </dependency>
157 <dependency>
Stefan Bodewig0de76f12018-04-23 22:11:27 +0200158 <groupId>org.slf4j</groupId>
159 <artifactId>slf4j-api</artifactId>
160 <version>${slf4j.version}</version>
161 <scope>test</scope>
162 </dependency>
163
164 <dependency>
165 <groupId>org.osgi</groupId>
166 <artifactId>org.osgi.core</artifactId>
Stefan Bodewig9146faa2018-04-25 20:20:09 +0200167 <version>6.0.0</version>
Stefan Bodewig0de76f12018-04-23 22:11:27 +0200168 <scope>provided</scope>
169 </dependency>
Torsten Curdtca165392008-07-10 10:17:44 +0000170 </dependencies>
171
172 <developers>
173 <developer>
Torsten Curdtc06ef182009-01-07 12:53:42 +0000174 <name>Torsten Curdt</name>
175 <id>tcurdt</id>
176 <email>tcurdt at apache.org</email>
Torsten Curdtca165392008-07-10 10:17:44 +0000177 </developer>
178 <developer>
Stefan Bodewig743d7c52009-02-05 11:01:35 +0000179 <name>Stefan Bodewig</name>
180 <id>bodewig</id>
181 <email>bodewig at apache.org</email>
182 </developer>
Sebastian Bazley93fe95d2009-04-02 13:48:38 +0000183 <developer>
184 <name>Sebastian Bazley</name>
185 <id>sebb</id>
186 <email>sebb at apache.org</email>
187 </developer>
Christian Grobmeierc9affe02009-04-10 19:36:26 +0000188 <developer>
189 <name>Christian Grobmeier</name>
Stefan Bodewigec0dd9b2011-11-03 06:33:06 +0000190 <id>grobmeier</id>
Christian Grobmeierc9affe02009-04-10 19:36:26 +0000191 <email>grobmeier at apache.org</email>
192 </developer>
Julius Davies2a2c5fc2013-01-08 22:16:17 +0000193 <developer>
194 <name>Julius Davies</name>
195 <id>julius</id>
196 <email>julius at apache.org</email>
197 </developer>
Damjan Jovanovicb6b1e4f2013-05-14 05:01:35 +0000198 <developer>
199 <name>Damjan Jovanovic</name>
200 <id>damjan</id>
201 <email>damjan at apache.org</email>
202 </developer>
Emmanuel Bourgb7fc9312013-12-19 16:12:24 +0000203 <developer>
204 <name>Emmanuel Bourg</name>
205 <id>ebourg</id>
206 <email>ebourg at apache.org</email>
207 </developer>
Gary D. Gregory5237cee2014-10-23 15:31:03 +0000208 <developer>
209 <name>Gary Gregory</name>
210 <id>ggregory</id>
211 <email>ggregory at apache.org</email>
212 </developer>
Rob Tompkins787efb82017-05-27 20:18:35 -0400213 <developer>
214 <name>Rob Tompkins</name>
215 <id>chtompki</id>
216 <email>chtompki at apache.org</email>
217 </developer>
Torsten Curdtca165392008-07-10 10:17:44 +0000218 </developers>
Torsten Curdtc06ef182009-01-07 12:53:42 +0000219
220 <contributors>
221 <contributor>
Stefan Bodewige451ee42009-02-19 13:36:59 +0000222 <name>Wolfgang Glas</name>
223 <email>wolfgang.glas at ev-i.at</email>
224 </contributor>
Matthew Jason Bensona24f8312009-03-24 20:41:45 +0000225 <contributor>
226 <name>Christian Kohlschütte</name>
227 <email>ck@newsclub.de</email>
228 </contributor>
Stefan Bodewig054452a2011-08-15 10:47:04 +0000229 <contributor>
230 <name>Bear Giles</name>
231 <email>bgiles@coyotesong.com</email>
232 </contributor>
Stefan Bodewig950543f2011-10-26 14:39:04 +0000233 <contributor>
234 <name>Michael Kuss</name>
235 <email>mail at michael minus kuss.de</email>
236 </contributor>
Stefan Bodewige166fa72011-11-03 06:32:25 +0000237 <contributor>
238 <name>Lasse Collin</name>
239 <email>lasse.collin@tukaani.org</email>
240 </contributor>
Stefan Bodewig68465642011-12-05 09:58:04 +0000241 <contributor>
242 <name>John Kodis</name>
243 </contributor>
Stefan Bodewig90fc55e2013-11-08 15:44:16 +0000244 <contributor>
245 <name>BELUGA BEHR</name>
246 </contributor>
Michael Hauseggercf9f45b2017-06-16 20:44:40 +0200247 <contributor>
Simon Spero5481dd32017-06-30 16:01:53 -0700248 <name>Simon Spero</name>
249 <email>sesuncedu@gmail.com</email>
250 </contributor>
251 <contributor>
Michael Hauseggercf9f45b2017-06-16 20:44:40 +0200252 <name>Michael Hausegger</name>
253 <email>hausegger.michael@googlemail.com</email>
254 </contributor>
Torsten Curdtc06ef182009-01-07 12:53:42 +0000255 </contributors>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000256
Torsten Curdtca165392008-07-10 10:17:44 +0000257 <scm>
Stefan Bodewig91b84322018-03-08 11:42:12 +0100258 <connection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-compress.git</connection>
Stefan Bodewigd85561d2015-08-27 21:30:24 +0200259 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-compress.git</developerConnection>
260 <url>https://git-wip-us.apache.org/repos/asf?p=commons-compress.git</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000261 </scm>
262
Torsten Curdtca165392008-07-10 10:17:44 +0000263 <build>
Sebastian Bazley74e1dd62015-02-16 23:19:37 +0000264 <pluginManagement>
265 <plugins>
266 <!-- Override Javadoc config in parent pom to add JCIP tags -->
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-javadoc-plugin</artifactId>
Gary Gregory881d0142018-01-09 12:27:12 -0700270 <version>${commons.javadoc.version}</version>
Sebastian Bazley74e1dd62015-02-16 23:19:37 +0000271 <configuration>
272 <quiet>true</quiet>
273 <source>${maven.compiler.source}</source>
274 <encoding>${commons.encoding}</encoding>
Simon Spero5481dd32017-06-30 16:01:53 -0700275 <docencoding>${commons.docEncoding}</docencoding>
Sebastian Bazley74e1dd62015-02-16 23:19:37 +0000276 <linksource>true</linksource>
277 <links>
278 <link>${commons.javadoc.java.link}</link>
279 <link>${commons.javadoc.javaee.link}</link>
280 </links>
281 <tags>
282 <tag>
283 <name>Immutable</name>
284 <placement>a</placement>
285 <head>This class is immutable</head>
286 </tag>
287 <tag>
288 <name>NotThreadSafe</name>
289 <placement>a</placement>
290 <head>This class is not thread-safe</head>
291 </tag>
292 <tag>
293 <name>ThreadSafe</name>
294 <placement>a</placement>
295 <head>This class is thread-safe</head>
296 </tag>
297 </tags>
298 </configuration>
299 </plugin>
pascalschumachera172b4b2016-12-18 17:19:50 +0100300 <plugin>
301 <groupId>org.apache.rat</groupId>
302 <artifactId>apache-rat-plugin</artifactId>
303 <version>${commons.rat.version}</version>
304 <configuration>
305 <excludes>
306 <!-- files used during tests -->
307 <exclude>src/test/resources/**</exclude>
308 <exclude>.pmd</exclude>
309 <exclude>.projectile</exclude>
Simon Spero5481dd32017-06-30 16:01:53 -0700310 <exclude>.mvn/**</exclude>
pascalschumachera172b4b2016-12-18 17:19:50 +0100311 </excludes>
312 </configuration>
313 </plugin>
Simon Spero5481dd32017-06-30 16:01:53 -0700314 <plugin>
315 <groupId>org.eluder.coveralls</groupId>
316 <artifactId>coveralls-maven-plugin</artifactId>
317 <configuration>
318 <failOnServiceError>false</failOnServiceError>
319 </configuration>
320 </plugin>
321 <plugin>
322 <groupId>org.apache.felix</groupId>
323 <artifactId>maven-bundle-plugin</artifactId>
Gary Gregory593f3e62018-01-09 12:18:29 -0700324 <version>${commons.felix.version}</version>
Simon Spero5481dd32017-06-30 16:01:53 -0700325 </plugin>
Stefan Bodewig3867f3e2018-08-16 18:09:08 +0200326 <!-- override skip property of parent pom, can be removed once
327 we adopt parent 48+ -->
Stefan Bodewigb4b13bd2018-08-12 14:47:38 +0200328 <plugin>
329 <groupId>com.github.siom79.japicmp</groupId>
330 <artifactId>japicmp-maven-plugin</artifactId>
331 <configuration>
332 <skip>false</skip>
333 </configuration>
334 </plugin>
Sebastian Bazley74e1dd62015-02-16 23:19:37 +0000335 </plugins>
336 </pluginManagement>
Torsten Curdtca165392008-07-10 10:17:44 +0000337 <plugins>
Stefan Bodewig75d59c32009-02-12 10:03:44 +0000338 <plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000339 <!-- create the source and binary assemblies -->
340 <artifactId>maven-assembly-plugin</artifactId>
Torsten Curdtca165392008-07-10 10:17:44 +0000341 <configuration>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000342 <descriptors>
Sebbff5158b2016-04-19 00:10:43 +0100343 <descriptor>src/assembly/bin.xml</descriptor>
344 <descriptor>src/assembly/src.xml</descriptor>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000345 </descriptors>
346 <tarLongFileMode>gnu</tarLongFileMode>
Torsten Curdtca165392008-07-10 10:17:44 +0000347 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000348 </plugin>
Sebastian Bazley0fc47a92009-05-11 21:56:15 +0000349 <plugin>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000350 <artifactId>maven-jar-plugin</artifactId>
351 <configuration>
352 <archive>
353 <manifestEntries>
Stefan Bodewig7a102302018-05-08 05:53:08 +0200354 <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
Stefan Bodewig5b494b52011-07-25 19:21:53 +0000355 <Extension-Name>org.apache.commons.compress</Extension-Name>
Stefan Bodewig9aae1f82017-05-29 17:03:14 +0200356 <Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000357 </manifestEntries>
358 </archive>
359 </configuration>
360 </plugin>
Stefan Bodewig73603cd2012-12-27 18:28:24 +0000361 <plugin>
362 <groupId>org.apache.felix</groupId>
363 <artifactId>maven-bundle-plugin</artifactId>
364 <configuration>
Stefan Bodewig92c8fc12018-04-25 20:25:32 +0200365 <manifestLocation>${commons.manifestlocation}</manifestLocation>
Stefan Bodewig73603cd2012-12-27 18:28:24 +0000366 </configuration>
367 </plugin>
Stefan Bodewig97460b92013-10-26 05:30:17 +0000368 <plugin>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-scm-publish-plugin</artifactId>
371 <configuration>
372 <ignorePathsToDelete>
Stefan Bodewig6a59b352013-10-26 14:23:47 +0000373 <ignorePathToDelete>javadocs</ignorePathToDelete>
Stefan Bodewig97460b92013-10-26 05:30:17 +0000374 </ignorePathsToDelete>
375 </configuration>
376 </plugin>
Stefan Bodewig43a7d7b2014-11-01 12:06:20 +0000377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-pmd-plugin</artifactId>
ggregory90157ea2016-04-18 14:55:47 -0700380 <version>${commons.pmd-plugin.version}</version>
Stefan Bodewig43a7d7b2014-11-01 12:06:20 +0000381 </plugin>
Stefan Bodewig08cdbe22018-01-14 16:53:45 +0100382 <plugin>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-antrun-plugin</artifactId>
385 <executions>
386 <execution>
387 <phase>process-test-resources</phase>
388 <configuration>
389 <target>
390 <untar src="${basedir}/src/test/resources/zstd-tests.tar"
391 dest="${project.build.testOutputDirectory}"
392 />
393 </target>
394 </configuration>
395 <goals>
396 <goal>run</goal>
397 </goals>
398 </execution>
399 </executions>
400 </plugin>
Stefan Bodewig0de76f12018-04-23 22:11:27 +0200401 <plugin>
402 <artifactId>maven-surefire-plugin</artifactId>
403 <configuration>
404 <systemPropertyVariables>
405 <pax.exam.karaf.version>${karaf.version}</pax.exam.karaf.version>
406 <commons-compress.version>${project.version}</commons-compress.version>
407 </systemPropertyVariables>
408 </configuration>
409 </plugin>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000410 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000411 </build>
412
413 <reporting>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000414 <plugins>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000415 <plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000416 <!-- generate the PMD reports -->
417 <groupId>org.apache.maven.plugins</groupId>
418 <artifactId>maven-pmd-plugin</artifactId>
ggregory90157ea2016-04-18 14:55:47 -0700419 <version>${commons.pmd-plugin.version}</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000420 <configuration>
421 <minimumTokens>200</minimumTokens>
Stefan Bodewigd2391db2013-07-02 04:17:30 +0000422 <targetJdk>${maven.compiler.source}</targetJdk>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000423 <rulesets>
Stefan Bodewigdd6fffb2011-07-25 04:58:33 +0000424 <ruleset>${basedir}/pmd-ruleset.xml</ruleset>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000425 </rulesets>
426 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000427 </plugin>
Stefan Bodewig84368f72011-10-25 12:36:42 +0000428 <!-- Override Javadoc config in parent pom to add JCIP tags -->
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000429 <plugin>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-javadoc-plugin</artifactId>
432 <configuration>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000433 <quiet>true</quiet>
Stefan Bodewigd2391db2013-07-02 04:17:30 +0000434 <source>${maven.compiler.source}</source>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000435 <encoding>${commons.encoding}</encoding>
Simon Spero5481dd32017-06-30 16:01:53 -0700436 <docencoding>${commons.docEncoding}</docencoding>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000437 <linksource>true</linksource>
438 <links>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000439 <link>${commons.javadoc.java.link}</link>
440 <link>${commons.javadoc.javaee.link}</link>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000441 </links>
Sebastian Bazley23dd8092010-05-24 18:25:52 +0000442 <tags>
443 <tag>
444 <name>Immutable</name>
445 <placement>a</placement>
446 <head>This class is immutable</head>
447 </tag>
448 <tag>
449 <name>NotThreadSafe</name>
450 <placement>a</placement>
451 <head>This class is not thread-safe</head>
452 </tag>
453 <tag>
454 <name>ThreadSafe</name>
455 <placement>a</placement>
456 <head>This class is thread-safe</head>
457 </tag>
458 </tags>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000459 </configuration>
460 </plugin>
Stefan Bodewig52b9fcd2011-08-07 06:09:43 +0000461 <plugin>
462 <groupId>org.codehaus.mojo</groupId>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000463 <artifactId>findbugs-maven-plugin</artifactId>
Gary Gregorycc7a6052018-01-09 12:25:02 -0700464 <version>3.0.5</version>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000465 <configuration>
466 <threshold>Normal</threshold>
467 <effort>Default</effort>
Stefan Bodewig4aea7b22011-08-07 07:56:19 +0000468 <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000469 </configuration>
470 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000471 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000472 </reporting>
473
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000474 <profiles>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000475 <!-- Add long running tests as **/*IT.java -->
Stefan Bodewig500d9402011-08-12 04:36:19 +0000476 <profile>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000477 <id>run-zipit</id>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000478 <build>
479 <plugins>
480 <plugin>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000481 <groupId>org.apache.maven.plugins</groupId>
482 <artifactId>maven-antrun-plugin</artifactId>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000483 <executions>
484 <execution>
485 <phase>process-test-resources</phase>
486 <configuration>
487 <target>
488 <untar src="${basedir}/src/test/resources/zip64support.tar.bz2"
489 dest="${project.build.testOutputDirectory}"
490 compression="bzip2"/>
491 </target>
492 </configuration>
493 <goals>
494 <goal>run</goal>
495 </goals>
496 </execution>
497 </executions>
498 </plugin>
499 <plugin>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000500 <artifactId>maven-surefire-plugin</artifactId>
501 <configuration>
502 <includes>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000503 <include>**/zip/*IT.java</include>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000504 </includes>
505 </configuration>
506 </plugin>
507 </plugins>
508 </build>
509 </profile>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000510 <profile>
511 <id>run-tarit</id>
512 <build>
513 <plugins>
514 <plugin>
515 <artifactId>maven-surefire-plugin</artifactId>
516 <configuration>
517 <includes>
518 <include>**/tar/*IT.java</include>
519 </includes>
520 </configuration>
521 </plugin>
522 </plugins>
523 </build>
524 </profile>
Simon Spero5481dd32017-06-30 16:01:53 -0700525 <profile>
Stefan Bodewig1132bc02018-06-09 12:50:45 +0200526 <id>java9+</id>
Simon Spero5481dd32017-06-30 16:01:53 -0700527 <activation>
Stefan Bodewig1132bc02018-06-09 12:50:45 +0200528 <jdk>[9,)</jdk>
Simon Spero5481dd32017-06-30 16:01:53 -0700529 </activation>
530 <properties>
531 <maven.compiler.release>9</maven.compiler.release>
532 <commons.jacoco.version>0.7.9</commons.jacoco.version>
533 <animal.sniffer.skip>true</animal.sniffer.skip>
Pascal Schumachere00ea6c2017-07-28 18:59:14 +0200534 <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
535 <coveralls.skip>true</coveralls.skip>
Simon Spero5481dd32017-06-30 16:01:53 -0700536 </properties>
537 </profile>
538
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000539 </profiles>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000540
Torsten Curdtca165392008-07-10 10:17:44 +0000541</project>