blob: 1fec7bc6e167a6a50a93538063e9c34f0d3aef13 [file] [log] [blame]
Sebastian Bazley5f4310f2009-03-06 13:52:00 +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>
Gary D. Gregory7c82a462012-10-25 19:21:16 +000023 <version>27</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 Bodewig28e87e52012-05-22 11:02:41 +000028 <version>1.5-SNAPSHOT</version>
Stefan Bodewig01185cb2009-03-20 13:31:11 +000029 <name>Commons Compress</name>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000030 <url>http://commons.apache.org/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>
Sebastian Bazleyec377622012-03-31 12:07:04 +000033Apache Commons Compress software defines an API for working with compression and archive formats.
Stefan Bodewigbbb461e2012-04-11 05:00:20 +000034These include: bzip2, gzip, pack200, xz and ar, cpio, jar, tar, zip, dump.
Sebastian Bazley842dfd82010-04-13 19:25:29 +000035 </description>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000036
Sebastian Bazleybea8d432010-04-13 19:16:58 +000037 <properties>
Stefan Bodewig1f439f32011-07-25 09:02:51 +000038 <maven.compile.source>1.5</maven.compile.source>
39 <maven.compile.target>1.5</maven.compile.target>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000040 <commons.componentid>compress</commons.componentid>
41 <commons.jira.id>COMPRESS</commons.jira.id>
42 <commons.jira.pid>12310904</commons.jira.pid>
43 <!-- configuration bits for cutting a release candidate -->
Stefan Bodewig15883a62012-05-20 18:44:25 +000044 <commons.release.version>1.4.1</commons.release.version>
Stefan Bodewig68d0c022011-10-26 03:50:11 +000045 <commons.rc.version>RC1</commons.rc.version>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000046 </properties>
47
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000048 <issueManagement>
49 <system>jira</system>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000050 <url>http://issues.apache.org/jira/browse/COMPRESS</url>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000051 </issueManagement>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000052
Torsten Curdtca165392008-07-10 10:17:44 +000053 <dependencies>
54 <dependency>
55 <groupId>junit</groupId>
56 <artifactId>junit</artifactId>
Gary D. Gregory94355f32011-10-26 15:08:04 +000057 <version>4.10</version>
Torsten Curdtca165392008-07-10 10:17:44 +000058 <scope>test</scope>
59 </dependency>
Stefan Bodewigaa739262011-11-02 16:13:41 +000060 <dependency>
61 <groupId>org.tukaani</groupId>
62 <artifactId>xz</artifactId>
63 <version>1.0</version>
64 </dependency>
Torsten Curdtca165392008-07-10 10:17:44 +000065 </dependencies>
66
67 <developers>
68 <developer>
Torsten Curdtc06ef182009-01-07 12:53:42 +000069 <name>Torsten Curdt</name>
70 <id>tcurdt</id>
71 <email>tcurdt at apache.org</email>
Torsten Curdtca165392008-07-10 10:17:44 +000072 </developer>
73 <developer>
Stefan Bodewig743d7c52009-02-05 11:01:35 +000074 <name>Stefan Bodewig</name>
75 <id>bodewig</id>
76 <email>bodewig at apache.org</email>
77 </developer>
Sebastian Bazley93fe95d2009-04-02 13:48:38 +000078 <developer>
79 <name>Sebastian Bazley</name>
80 <id>sebb</id>
81 <email>sebb at apache.org</email>
82 </developer>
Christian Grobmeierc9affe02009-04-10 19:36:26 +000083 <developer>
84 <name>Christian Grobmeier</name>
Stefan Bodewigec0dd9b2011-11-03 06:33:06 +000085 <id>grobmeier</id>
Christian Grobmeierc9affe02009-04-10 19:36:26 +000086 <email>grobmeier at apache.org</email>
87 </developer>
Torsten Curdtca165392008-07-10 10:17:44 +000088 </developers>
Torsten Curdtc06ef182009-01-07 12:53:42 +000089
90 <contributors>
91 <contributor>
Stefan Bodewige451ee42009-02-19 13:36:59 +000092 <name>Wolfgang Glas</name>
93 <email>wolfgang.glas at ev-i.at</email>
94 </contributor>
Matthew Jason Bensona24f8312009-03-24 20:41:45 +000095 <contributor>
96 <name>Christian Kohlschütte</name>
97 <email>ck@newsclub.de</email>
98 </contributor>
Stefan Bodewig054452a2011-08-15 10:47:04 +000099 <contributor>
100 <name>Bear Giles</name>
101 <email>bgiles@coyotesong.com</email>
102 </contributor>
Stefan Bodewig950543f2011-10-26 14:39:04 +0000103 <contributor>
104 <name>Michael Kuss</name>
105 <email>mail at michael minus kuss.de</email>
106 </contributor>
Stefan Bodewige166fa72011-11-03 06:32:25 +0000107 <contributor>
108 <name>Lasse Collin</name>
109 <email>lasse.collin@tukaani.org</email>
110 </contributor>
Stefan Bodewig68465642011-12-05 09:58:04 +0000111 <contributor>
112 <name>John Kodis</name>
113 </contributor>
Torsten Curdtc06ef182009-01-07 12:53:42 +0000114 </contributors>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000115
Torsten Curdtca165392008-07-10 10:17:44 +0000116 <scm>
Christian Grobmeierb1ab9662010-08-13 04:40:47 +0000117 <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/compress/trunk</connection>
118 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/compress/trunk</developerConnection>
119 <url>http://svn.apache.org/repos/asf/commons/proper/compress/trunk</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000120 </scm>
121
122 <distributionManagement>
123 <site>
124 <id>website</id>
125 <name>Apache Website</name>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000126 <url>scp://people.apache.org/www/commons.apache.org/compress/</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000127 </site>
128 </distributionManagement>
129
Torsten Curdtca165392008-07-10 10:17:44 +0000130 <build>
Torsten Curdtca165392008-07-10 10:17:44 +0000131 <plugins>
Stefan Bodewig75d59c32009-02-12 10:03:44 +0000132 <plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000133 <!-- create the source and binary assemblies -->
134 <artifactId>maven-assembly-plugin</artifactId>
Torsten Curdtca165392008-07-10 10:17:44 +0000135 <configuration>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000136 <descriptors>
Christian Grobmeier0daad132012-03-18 18:32:49 +0000137 <descriptor>src/main/assembly/bin.xml</descriptor>
138 <descriptor>src/main/assembly/src.xml</descriptor>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000139 </descriptors>
140 <tarLongFileMode>gnu</tarLongFileMode>
Torsten Curdtca165392008-07-10 10:17:44 +0000141 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000142 </plugin>
Sebastian Bazley0fc47a92009-05-11 21:56:15 +0000143 <plugin>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000144 <artifactId>maven-jar-plugin</artifactId>
145 <configuration>
146 <archive>
147 <manifestEntries>
148 <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
Stefan Bodewig5b494b52011-07-25 19:21:53 +0000149 <Extension-Name>org.apache.commons.compress</Extension-Name>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000150 </manifestEntries>
151 </archive>
152 </configuration>
153 </plugin>
Stefan Bodewig73603cd2012-12-27 18:28:24 +0000154 <plugin>
155 <groupId>org.apache.felix</groupId>
156 <artifactId>maven-bundle-plugin</artifactId>
157 <configuration>
158 <instructions>
159 <Import-Package>org.tukaani.xz;resolution:=optional</Import-Package>
160 </instructions>
161 </configuration>
162 </plugin>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000163 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000164 </build>
165
166 <reporting>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000167 <plugins>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000168 <plugin>
169 <!-- generate the changes report from changes.xml and link to JIRA -->
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-changes-plugin</artifactId>
Sebastian Bazley7d010492012-02-21 20:51:20 +0000172 <version>${commons.changes.version}</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000173 <configuration>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000174 <issueLinkTemplatePerSystem>
175 <default>%URL%/%ISSUE%</default>
176 </issueLinkTemplatePerSystem>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000177 </configuration>
178 <reportSets>
179 <reportSet>
180 <reports>
181 <report>changes-report</report>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000182 <report>jira-report</report>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000183 </reports>
184 </reportSet>
185 </reportSets>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000186 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000187 <plugin>
188 <!-- generate a code coverage report -->
189 <groupId>org.codehaus.mojo</groupId>
190 <artifactId>cobertura-maven-plugin</artifactId>
Gary D. Gregory7c7a2072011-10-26 14:55:40 +0000191 <version>2.5.1</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000192 </plugin>
193 <plugin>
194 <!-- generate the PMD reports -->
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-pmd-plugin</artifactId>
Gary D. Gregoryda274542011-10-26 15:00:21 +0000197 <version>2.5</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000198 <configuration>
199 <minimumTokens>200</minimumTokens>
200 <targetJdk>${maven.compile.source}</targetJdk>
201 <rulesets>
Stefan Bodewigdd6fffb2011-07-25 04:58:33 +0000202 <ruleset>${basedir}/pmd-ruleset.xml</ruleset>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000203 </rulesets>
204 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000205 </plugin>
Stefan Bodewig84368f72011-10-25 12:36:42 +0000206 <!-- Override Javadoc config in parent pom to add JCIP tags -->
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-javadoc-plugin</artifactId>
210 <configuration>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000211 <quiet>true</quiet>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000212 <source>${maven.compile.source}</source>
213 <encoding>${commons.encoding}</encoding>
214 <docEncoding>${commons.docEncoding}</docEncoding>
215 <linksource>true</linksource>
216 <links>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000217 <link>${commons.javadoc.java.link}</link>
218 <link>${commons.javadoc.javaee.link}</link>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000219 </links>
Sebastian Bazley23dd8092010-05-24 18:25:52 +0000220 <tags>
221 <tag>
222 <name>Immutable</name>
223 <placement>a</placement>
224 <head>This class is immutable</head>
225 </tag>
226 <tag>
227 <name>NotThreadSafe</name>
228 <placement>a</placement>
229 <head>This class is not thread-safe</head>
230 </tag>
231 <tag>
232 <name>ThreadSafe</name>
233 <placement>a</placement>
234 <head>This class is thread-safe</head>
235 </tag>
236 </tags>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000237 </configuration>
238 </plugin>
Stefan Bodewig52b9fcd2011-08-07 06:09:43 +0000239 <plugin>
240 <groupId>org.codehaus.mojo</groupId>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000241 <artifactId>findbugs-maven-plugin</artifactId>
242 <version>2.3.2</version>
243 <configuration>
244 <threshold>Normal</threshold>
245 <effort>Default</effort>
Stefan Bodewig4aea7b22011-08-07 07:56:19 +0000246 <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000247 </configuration>
248 </plugin>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000249 <plugin>
250 <groupId>org.apache.rat</groupId>
251 <artifactId>apache-rat-plugin</artifactId>
252 <version>${commons.rat.version}</version>
253 <configuration>
254 <excludes>
255 <!-- files used during tests -->
256 <exclude>src/test/resources/**</exclude>
257 <!-- proposal text without license -->
258 <exclude>PROPOSAL.txt</exclude>
Sebastian Bazleybcc42c52012-03-31 13:22:41 +0000259 <exclude>.pmd</exclude>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000260 </excludes>
261 </configuration>
262 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000263 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000264 </reporting>
265
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000266 <profiles>
267 <profile>
268 <id>rc</id>
269 <distributionManagement>
270 <!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
271 <site>
272 <id>apache.website</id>
273 <name>Apache Commons Release Candidate Staging Site</name>
274 <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site</url>
275 </site>
276 </distributionManagement>
277 </profile>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000278 <!-- Add long running tests as **/*IT.java -->
Stefan Bodewig500d9402011-08-12 04:36:19 +0000279 <profile>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000280 <id>run-zipit</id>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000281 <build>
282 <plugins>
283 <plugin>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-antrun-plugin</artifactId>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000286 <executions>
287 <execution>
288 <phase>process-test-resources</phase>
289 <configuration>
290 <target>
291 <untar src="${basedir}/src/test/resources/zip64support.tar.bz2"
292 dest="${project.build.testOutputDirectory}"
293 compression="bzip2"/>
294 </target>
295 </configuration>
296 <goals>
297 <goal>run</goal>
298 </goals>
299 </execution>
300 </executions>
301 </plugin>
302 <plugin>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000303 <artifactId>maven-surefire-plugin</artifactId>
304 <configuration>
305 <includes>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000306 <include>**/zip/*IT.java</include>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000307 </includes>
308 </configuration>
309 </plugin>
310 </plugins>
311 </build>
312 </profile>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000313 <profile>
314 <id>run-tarit</id>
315 <build>
316 <plugins>
317 <plugin>
318 <artifactId>maven-surefire-plugin</artifactId>
319 <configuration>
320 <includes>
321 <include>**/tar/*IT.java</include>
322 </includes>
323 </configuration>
324 </plugin>
325 </plugins>
326 </build>
327 </profile>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000328 </profiles>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000329
Torsten Curdtca165392008-07-10 10:17:44 +0000330</project>