blob: 1b663d841794ca50ae7864763b82c07dde336599 [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 Bodewig633f9c92016-01-15 05:55:43 +010023 <version>39</version>
Torsten Curdtca165392008-07-10 10:17:44 +000024 </parent>
25
Sebastian Bazley606bd732010-05-21 15:09:32 +000026 <groupId>org.apache.commons</groupId>
Torsten Curdtca165392008-07-10 10:17:44 +000027 <artifactId>commons-compress</artifactId>
Stefan Bodewig9a677fb2016-06-21 21:27:57 +020028 <version>1.13-SNAPSHOT</version>
Sebastian Bazley6eb03602013-10-21 14:50:42 +000029 <name>Apache Commons Compress</name>
Sebastian Bazley80beb0e2013-03-22 17:49:27 +000030 <url>http://commons.apache.org/proper/commons-compress/</url>
Sebastian Bazleyec377622012-03-31 12:07:04 +000031 <!-- The description is not indented to make it look better in the release notes -->
Sebastian Bazley842dfd82010-04-13 19:25:29 +000032 <description>
Stefan Bodewig083e7a42014-10-05 13:38:23 +000033Apache Commons Compress software defines an API for working with
Sebastian Bazley08bf3f72015-02-04 17:56:41 +000034compression and archive formats. These include: bzip2, gzip, pack200,
35lzma, xz, Snappy, traditional Unix Compress, DEFLATE and ar, cpio,
36jar, tar, zip, dump, 7z, arj.
Sebastian Bazley842dfd82010-04-13 19:25:29 +000037 </description>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000038
Sebastian Bazleybea8d432010-04-13 19:16:58 +000039 <properties>
ggregory35d616f2016-04-09 09:02:59 -070040 <maven.compiler.source>1.6</maven.compiler.source>
41 <maven.compiler.target>1.6</maven.compiler.target>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000042 <commons.componentid>compress</commons.componentid>
43 <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>
Stefan Bodewige7c50ce2016-04-09 18:25:14 +020048 <powermock.version>1.6.4</powermock.version>
ggregory7fb62772016-04-18 15:01:34 -070049 <commons.pmd-plugin.version>3.6</commons.pmd-plugin.version>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000050 </properties>
51
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000052 <issueManagement>
53 <system>jira</system>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000054 <url>http://issues.apache.org/jira/browse/COMPRESS</url>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000055 </issueManagement>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000056
Torsten Curdtca165392008-07-10 10:17:44 +000057 <dependencies>
58 <dependency>
59 <groupId>junit</groupId>
60 <artifactId>junit</artifactId>
Sebastian Bazleyf18a9f62015-02-16 00:08:05 +000061 <version>4.12</version>
Torsten Curdtca165392008-07-10 10:17:44 +000062 <scope>test</scope>
63 </dependency>
Stefan Bodewigaa739262011-11-02 16:13:41 +000064 <dependency>
65 <groupId>org.tukaani</groupId>
66 <artifactId>xz</artifactId>
Stefan Bodewig02006b52014-03-08 17:17:34 +000067 <version>1.5</version>
Emmanuel Bourg61792c92014-03-19 12:28:16 +000068 <optional>true</optional>
Stefan Bodewigaa739262011-11-02 16:13:41 +000069 </dependency>
Stefan Bodewige7c50ce2016-04-09 18:25:14 +020070 <dependency>
71 <groupId>org.powermock</groupId>
72 <artifactId>powermock-module-junit4</artifactId>
73 <version>${powermock.version}</version>
74 <scope>test</scope>
75 </dependency>
76 <dependency>
77 <groupId>org.powermock</groupId>
78 <artifactId>powermock-api-mockito</artifactId>
79 <version>${powermock.version}</version>
80 <scope>test</scope>
81 </dependency>
Torsten Curdtca165392008-07-10 10:17:44 +000082 </dependencies>
83
84 <developers>
85 <developer>
Torsten Curdtc06ef182009-01-07 12:53:42 +000086 <name>Torsten Curdt</name>
87 <id>tcurdt</id>
88 <email>tcurdt at apache.org</email>
Torsten Curdtca165392008-07-10 10:17:44 +000089 </developer>
90 <developer>
Stefan Bodewig743d7c52009-02-05 11:01:35 +000091 <name>Stefan Bodewig</name>
92 <id>bodewig</id>
93 <email>bodewig at apache.org</email>
94 </developer>
Sebastian Bazley93fe95d2009-04-02 13:48:38 +000095 <developer>
96 <name>Sebastian Bazley</name>
97 <id>sebb</id>
98 <email>sebb at apache.org</email>
99 </developer>
Christian Grobmeierc9affe02009-04-10 19:36:26 +0000100 <developer>
101 <name>Christian Grobmeier</name>
Stefan Bodewigec0dd9b2011-11-03 06:33:06 +0000102 <id>grobmeier</id>
Christian Grobmeierc9affe02009-04-10 19:36:26 +0000103 <email>grobmeier at apache.org</email>
104 </developer>
Julius Davies2a2c5fc2013-01-08 22:16:17 +0000105 <developer>
106 <name>Julius Davies</name>
107 <id>julius</id>
108 <email>julius at apache.org</email>
109 </developer>
Damjan Jovanovicb6b1e4f2013-05-14 05:01:35 +0000110 <developer>
111 <name>Damjan Jovanovic</name>
112 <id>damjan</id>
113 <email>damjan at apache.org</email>
114 </developer>
Emmanuel Bourgb7fc9312013-12-19 16:12:24 +0000115 <developer>
116 <name>Emmanuel Bourg</name>
117 <id>ebourg</id>
118 <email>ebourg at apache.org</email>
119 </developer>
Gary D. Gregory5237cee2014-10-23 15:31:03 +0000120 <developer>
121 <name>Gary Gregory</name>
122 <id>ggregory</id>
123 <email>ggregory at apache.org</email>
124 </developer>
Torsten Curdtca165392008-07-10 10:17:44 +0000125 </developers>
Torsten Curdtc06ef182009-01-07 12:53:42 +0000126
127 <contributors>
128 <contributor>
Stefan Bodewige451ee42009-02-19 13:36:59 +0000129 <name>Wolfgang Glas</name>
130 <email>wolfgang.glas at ev-i.at</email>
131 </contributor>
Matthew Jason Bensona24f8312009-03-24 20:41:45 +0000132 <contributor>
133 <name>Christian Kohlschütte</name>
134 <email>ck@newsclub.de</email>
135 </contributor>
Stefan Bodewig054452a2011-08-15 10:47:04 +0000136 <contributor>
137 <name>Bear Giles</name>
138 <email>bgiles@coyotesong.com</email>
139 </contributor>
Stefan Bodewig950543f2011-10-26 14:39:04 +0000140 <contributor>
141 <name>Michael Kuss</name>
142 <email>mail at michael minus kuss.de</email>
143 </contributor>
Stefan Bodewige166fa72011-11-03 06:32:25 +0000144 <contributor>
145 <name>Lasse Collin</name>
146 <email>lasse.collin@tukaani.org</email>
147 </contributor>
Stefan Bodewig68465642011-12-05 09:58:04 +0000148 <contributor>
149 <name>John Kodis</name>
150 </contributor>
Stefan Bodewig90fc55e2013-11-08 15:44:16 +0000151 <contributor>
152 <name>BELUGA BEHR</name>
153 </contributor>
Torsten Curdtc06ef182009-01-07 12:53:42 +0000154 </contributors>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000155
Torsten Curdtca165392008-07-10 10:17:44 +0000156 <scm>
Stefan Bodewigd85561d2015-08-27 21:30:24 +0200157 <connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-compress.git</connection>
158 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-compress.git</developerConnection>
159 <url>https://git-wip-us.apache.org/repos/asf?p=commons-compress.git</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000160 </scm>
161
Torsten Curdtca165392008-07-10 10:17:44 +0000162 <build>
Sebastian Bazley74e1dd62015-02-16 23:19:37 +0000163 <pluginManagement>
164 <plugins>
165 <!-- Override Javadoc config in parent pom to add JCIP tags -->
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-javadoc-plugin</artifactId>
169 <configuration>
170 <quiet>true</quiet>
171 <source>${maven.compiler.source}</source>
172 <encoding>${commons.encoding}</encoding>
173 <docEncoding>${commons.docEncoding}</docEncoding>
174 <linksource>true</linksource>
175 <links>
176 <link>${commons.javadoc.java.link}</link>
177 <link>${commons.javadoc.javaee.link}</link>
178 </links>
179 <tags>
180 <tag>
181 <name>Immutable</name>
182 <placement>a</placement>
183 <head>This class is immutable</head>
184 </tag>
185 <tag>
186 <name>NotThreadSafe</name>
187 <placement>a</placement>
188 <head>This class is not thread-safe</head>
189 </tag>
190 <tag>
191 <name>ThreadSafe</name>
192 <placement>a</placement>
193 <head>This class is thread-safe</head>
194 </tag>
195 </tags>
196 </configuration>
197 </plugin>
198 </plugins>
199 </pluginManagement>
Torsten Curdtca165392008-07-10 10:17:44 +0000200 <plugins>
Stefan Bodewig75d59c32009-02-12 10:03:44 +0000201 <plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000202 <!-- create the source and binary assemblies -->
203 <artifactId>maven-assembly-plugin</artifactId>
Torsten Curdtca165392008-07-10 10:17:44 +0000204 <configuration>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000205 <descriptors>
Sebbff5158b2016-04-19 00:10:43 +0100206 <descriptor>src/assembly/bin.xml</descriptor>
207 <descriptor>src/assembly/src.xml</descriptor>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000208 </descriptors>
209 <tarLongFileMode>gnu</tarLongFileMode>
Torsten Curdtca165392008-07-10 10:17:44 +0000210 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000211 </plugin>
Sebastian Bazley0fc47a92009-05-11 21:56:15 +0000212 <plugin>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000213 <artifactId>maven-jar-plugin</artifactId>
214 <configuration>
215 <archive>
216 <manifestEntries>
217 <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
Stefan Bodewig5b494b52011-07-25 19:21:53 +0000218 <Extension-Name>org.apache.commons.compress</Extension-Name>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000219 </manifestEntries>
220 </archive>
221 </configuration>
222 </plugin>
Stefan Bodewig73603cd2012-12-27 18:28:24 +0000223 <plugin>
224 <groupId>org.apache.felix</groupId>
225 <artifactId>maven-bundle-plugin</artifactId>
226 <configuration>
227 <instructions>
228 <Import-Package>org.tukaani.xz;resolution:=optional</Import-Package>
229 </instructions>
230 </configuration>
231 </plugin>
Stefan Bodewig97460b92013-10-26 05:30:17 +0000232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-scm-publish-plugin</artifactId>
235 <configuration>
236 <ignorePathsToDelete>
Stefan Bodewig6a59b352013-10-26 14:23:47 +0000237 <ignorePathToDelete>javadocs</ignorePathToDelete>
Stefan Bodewig97460b92013-10-26 05:30:17 +0000238 </ignorePathsToDelete>
239 </configuration>
240 </plugin>
Stefan Bodewig43a7d7b2014-11-01 12:06:20 +0000241 <plugin>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-pmd-plugin</artifactId>
ggregory90157ea2016-04-18 14:55:47 -0700244 <version>${commons.pmd-plugin.version}</version>
Stefan Bodewig43a7d7b2014-11-01 12:06:20 +0000245 </plugin>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000246 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000247 </build>
248
249 <reporting>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000250 <plugins>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000251 <plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000252 <!-- generate a code coverage report -->
253 <groupId>org.codehaus.mojo</groupId>
254 <artifactId>cobertura-maven-plugin</artifactId>
ggregory22f8b162016-04-18 15:04:51 -0700255 <version>2.7</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000256 </plugin>
257 <plugin>
258 <!-- generate the PMD reports -->
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-pmd-plugin</artifactId>
ggregory90157ea2016-04-18 14:55:47 -0700261 <version>${commons.pmd-plugin.version}</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000262 <configuration>
263 <minimumTokens>200</minimumTokens>
Stefan Bodewigd2391db2013-07-02 04:17:30 +0000264 <targetJdk>${maven.compiler.source}</targetJdk>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000265 <rulesets>
Stefan Bodewigdd6fffb2011-07-25 04:58:33 +0000266 <ruleset>${basedir}/pmd-ruleset.xml</ruleset>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000267 </rulesets>
268 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000269 </plugin>
Stefan Bodewig84368f72011-10-25 12:36:42 +0000270 <!-- Override Javadoc config in parent pom to add JCIP tags -->
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-javadoc-plugin</artifactId>
274 <configuration>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000275 <quiet>true</quiet>
Stefan Bodewigd2391db2013-07-02 04:17:30 +0000276 <source>${maven.compiler.source}</source>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000277 <encoding>${commons.encoding}</encoding>
278 <docEncoding>${commons.docEncoding}</docEncoding>
279 <linksource>true</linksource>
280 <links>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000281 <link>${commons.javadoc.java.link}</link>
282 <link>${commons.javadoc.javaee.link}</link>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000283 </links>
Sebastian Bazley23dd8092010-05-24 18:25:52 +0000284 <tags>
285 <tag>
286 <name>Immutable</name>
287 <placement>a</placement>
288 <head>This class is immutable</head>
289 </tag>
290 <tag>
291 <name>NotThreadSafe</name>
292 <placement>a</placement>
293 <head>This class is not thread-safe</head>
294 </tag>
295 <tag>
296 <name>ThreadSafe</name>
297 <placement>a</placement>
298 <head>This class is thread-safe</head>
299 </tag>
300 </tags>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000301 </configuration>
302 </plugin>
Stefan Bodewig52b9fcd2011-08-07 06:09:43 +0000303 <plugin>
304 <groupId>org.codehaus.mojo</groupId>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000305 <artifactId>findbugs-maven-plugin</artifactId>
ggregory2857de72016-04-18 15:06:46 -0700306 <version>3.0.3</version>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000307 <configuration>
308 <threshold>Normal</threshold>
309 <effort>Default</effort>
Stefan Bodewig4aea7b22011-08-07 07:56:19 +0000310 <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000311 </configuration>
312 </plugin>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000313 <plugin>
314 <groupId>org.apache.rat</groupId>
315 <artifactId>apache-rat-plugin</artifactId>
316 <version>${commons.rat.version}</version>
317 <configuration>
318 <excludes>
319 <!-- files used during tests -->
320 <exclude>src/test/resources/**</exclude>
Sebastian Bazleybcc42c52012-03-31 13:22:41 +0000321 <exclude>.pmd</exclude>
Stefan Bodewig853fa972013-03-08 05:17:44 +0000322 <exclude>.gitignore</exclude>
323 <exclude>.gitattributes</exclude>
Stefan Bodewigb72c4f92014-05-09 08:04:55 +0000324 <exclude>.projectile</exclude>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000325 </excludes>
326 </configuration>
327 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000328 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000329 </reporting>
330
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000331 <profiles>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000332 <!-- Add long running tests as **/*IT.java -->
Stefan Bodewig500d9402011-08-12 04:36:19 +0000333 <profile>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000334 <id>run-zipit</id>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000335 <build>
336 <plugins>
337 <plugin>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-antrun-plugin</artifactId>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000340 <executions>
341 <execution>
342 <phase>process-test-resources</phase>
343 <configuration>
344 <target>
345 <untar src="${basedir}/src/test/resources/zip64support.tar.bz2"
346 dest="${project.build.testOutputDirectory}"
347 compression="bzip2"/>
348 </target>
349 </configuration>
350 <goals>
351 <goal>run</goal>
352 </goals>
353 </execution>
354 </executions>
355 </plugin>
356 <plugin>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000357 <artifactId>maven-surefire-plugin</artifactId>
358 <configuration>
359 <includes>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000360 <include>**/zip/*IT.java</include>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000361 </includes>
362 </configuration>
363 </plugin>
364 </plugins>
365 </build>
366 </profile>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000367 <profile>
368 <id>run-tarit</id>
369 <build>
370 <plugins>
371 <plugin>
372 <artifactId>maven-surefire-plugin</artifactId>
373 <configuration>
374 <includes>
375 <include>**/tar/*IT.java</include>
376 </includes>
377 </configuration>
378 </plugin>
379 </plugins>
380 </build>
381 </profile>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000382 </profiles>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000383
Torsten Curdtca165392008-07-10 10:17:44 +0000384</project>