blob: aab363177b028e28ecd98e0fde862e42270faff5 [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>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +000023 <version>22</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 Bodewig3447a362011-11-01 06:16:11 +000028 <version>1.4-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 Bazley842dfd82010-04-13 19:25:29 +000031 <description>
Sebastian Bazley87e51fc2011-03-23 11:01:58 +000032 Apache Commons Compress software defines an API for working with compression and archive formats.
Stefan Bodewig84368f72011-10-25 12:36:42 +000033 These include: bzip2, gzip, pack200 and ar, cpio, jar, tar, zip, dump.
Sebastian Bazley842dfd82010-04-13 19:25:29 +000034 </description>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000035
Sebastian Bazleybea8d432010-04-13 19:16:58 +000036 <properties>
Stefan Bodewig1f439f32011-07-25 09:02:51 +000037 <maven.compile.source>1.5</maven.compile.source>
38 <maven.compile.target>1.5</maven.compile.target>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000039 <commons.componentid>compress</commons.componentid>
40 <commons.jira.id>COMPRESS</commons.jira.id>
41 <commons.jira.pid>12310904</commons.jira.pid>
42 <!-- configuration bits for cutting a release candidate -->
Stefan Bodewig68d0c022011-10-26 03:50:11 +000043 <commons.release.version>1.3</commons.release.version>
44 <commons.rc.version>RC1</commons.rc.version>
Sebastian Bazleybea8d432010-04-13 19:16:58 +000045 </properties>
46
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000047 <issueManagement>
48 <system>jira</system>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000049 <url>http://issues.apache.org/jira/browse/COMPRESS</url>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000050 </issueManagement>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000051
Torsten Curdtca165392008-07-10 10:17:44 +000052 <dependencies>
53 <dependency>
54 <groupId>junit</groupId>
55 <artifactId>junit</artifactId>
Gary D. Gregory94355f32011-10-26 15:08:04 +000056 <version>4.10</version>
Torsten Curdtca165392008-07-10 10:17:44 +000057 <scope>test</scope>
58 </dependency>
Stefan Bodewigaa739262011-11-02 16:13:41 +000059 <dependency>
60 <groupId>org.tukaani</groupId>
61 <artifactId>xz</artifactId>
62 <version>1.0</version>
63 </dependency>
Torsten Curdtca165392008-07-10 10:17:44 +000064 </dependencies>
65
66 <developers>
67 <developer>
Torsten Curdtc06ef182009-01-07 12:53:42 +000068 <name>Torsten Curdt</name>
69 <id>tcurdt</id>
70 <email>tcurdt at apache.org</email>
Torsten Curdtca165392008-07-10 10:17:44 +000071 </developer>
72 <developer>
Stefan Bodewig743d7c52009-02-05 11:01:35 +000073 <name>Stefan Bodewig</name>
74 <id>bodewig</id>
75 <email>bodewig at apache.org</email>
76 </developer>
Sebastian Bazley93fe95d2009-04-02 13:48:38 +000077 <developer>
78 <name>Sebastian Bazley</name>
79 <id>sebb</id>
80 <email>sebb at apache.org</email>
81 </developer>
Christian Grobmeierc9affe02009-04-10 19:36:26 +000082 <developer>
83 <name>Christian Grobmeier</name>
Stefan Bodewigec0dd9b2011-11-03 06:33:06 +000084 <id>grobmeier</id>
Christian Grobmeierc9affe02009-04-10 19:36:26 +000085 <email>grobmeier at apache.org</email>
86 </developer>
Torsten Curdtca165392008-07-10 10:17:44 +000087 </developers>
Torsten Curdtc06ef182009-01-07 12:53:42 +000088
89 <contributors>
90 <contributor>
Stefan Bodewige451ee42009-02-19 13:36:59 +000091 <name>Wolfgang Glas</name>
92 <email>wolfgang.glas at ev-i.at</email>
93 </contributor>
Matthew Jason Bensona24f8312009-03-24 20:41:45 +000094 <contributor>
95 <name>Christian Kohlschütte</name>
96 <email>ck@newsclub.de</email>
97 </contributor>
Stefan Bodewig054452a2011-08-15 10:47:04 +000098 <contributor>
99 <name>Bear Giles</name>
100 <email>bgiles@coyotesong.com</email>
101 </contributor>
Stefan Bodewig950543f2011-10-26 14:39:04 +0000102 <contributor>
103 <name>Michael Kuss</name>
104 <email>mail at michael minus kuss.de</email>
105 </contributor>
Stefan Bodewige166fa72011-11-03 06:32:25 +0000106 <contributor>
107 <name>Lasse Collin</name>
108 <email>lasse.collin@tukaani.org</email>
109 </contributor>
Stefan Bodewig68465642011-12-05 09:58:04 +0000110 <contributor>
111 <name>John Kodis</name>
112 </contributor>
Torsten Curdtc06ef182009-01-07 12:53:42 +0000113 </contributors>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000114
Torsten Curdtca165392008-07-10 10:17:44 +0000115 <scm>
Christian Grobmeierb1ab9662010-08-13 04:40:47 +0000116 <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/compress/trunk</connection>
117 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/compress/trunk</developerConnection>
118 <url>http://svn.apache.org/repos/asf/commons/proper/compress/trunk</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000119 </scm>
120
121 <distributionManagement>
122 <site>
123 <id>website</id>
124 <name>Apache Website</name>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000125 <url>scp://people.apache.org/www/commons.apache.org/compress/</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000126 </site>
127 </distributionManagement>
128
Torsten Curdtca165392008-07-10 10:17:44 +0000129 <build>
Torsten Curdtca165392008-07-10 10:17:44 +0000130 <plugins>
Stefan Bodewig75d59c32009-02-12 10:03:44 +0000131 <plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000132 <!-- create the source and binary assemblies -->
133 <artifactId>maven-assembly-plugin</artifactId>
Torsten Curdtca165392008-07-10 10:17:44 +0000134 <configuration>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000135 <descriptors>
136 <descriptor>src/assembly/bin.xml</descriptor>
137 <descriptor>src/assembly/src.xml</descriptor>
138 </descriptors>
139 <tarLongFileMode>gnu</tarLongFileMode>
Torsten Curdtca165392008-07-10 10:17:44 +0000140 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000141 </plugin>
Sebastian Bazley0fc47a92009-05-11 21:56:15 +0000142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-source-plugin</artifactId>
145 <configuration>
146 <archive>
147 <manifest>
148 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
149 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
150 </manifest>
151 </archive>
152 </configuration>
153 </plugin>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000154 <plugin>
155 <artifactId>maven-jar-plugin</artifactId>
156 <configuration>
157 <archive>
158 <manifestEntries>
159 <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
Stefan Bodewig5b494b52011-07-25 19:21:53 +0000160 <Extension-Name>org.apache.commons.compress</Extension-Name>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000161 </manifestEntries>
162 </archive>
163 </configuration>
164 </plugin>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000165 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000166 </build>
167
168 <reporting>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000169 <plugins>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000170 <plugin>
171 <!-- generate the changes report from changes.xml and link to JIRA -->
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-changes-plugin</artifactId>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000174 <version>2.3</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000175 <configuration>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000176 <issueLinkTemplatePerSystem>
177 <default>%URL%/%ISSUE%</default>
178 </issueLinkTemplatePerSystem>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000179 </configuration>
180 <reportSets>
181 <reportSet>
182 <reports>
183 <report>changes-report</report>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000184 <report>jira-report</report>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000185 </reports>
186 </reportSet>
187 </reportSets>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000188 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000189 <plugin>
190 <!-- generate a code coverage report -->
191 <groupId>org.codehaus.mojo</groupId>
192 <artifactId>cobertura-maven-plugin</artifactId>
Gary D. Gregory7c7a2072011-10-26 14:55:40 +0000193 <version>2.5.1</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000194 </plugin>
195 <plugin>
196 <!-- generate the PMD reports -->
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-pmd-plugin</artifactId>
Gary D. Gregoryda274542011-10-26 15:00:21 +0000199 <version>2.5</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000200 <configuration>
201 <minimumTokens>200</minimumTokens>
202 <targetJdk>${maven.compile.source}</targetJdk>
203 <rulesets>
Stefan Bodewigdd6fffb2011-07-25 04:58:33 +0000204 <ruleset>${basedir}/pmd-ruleset.xml</ruleset>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000205 </rulesets>
206 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000207 </plugin>
Stefan Bodewig84368f72011-10-25 12:36:42 +0000208 <!-- Override Javadoc config in parent pom to add JCIP tags -->
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-javadoc-plugin</artifactId>
212 <configuration>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000213 <quiet>true</quiet>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000214 <source>${maven.compile.source}</source>
215 <encoding>${commons.encoding}</encoding>
216 <docEncoding>${commons.docEncoding}</docEncoding>
217 <linksource>true</linksource>
218 <links>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000219 <link>${commons.javadoc.java.link}</link>
220 <link>${commons.javadoc.javaee.link}</link>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000221 </links>
Sebastian Bazley23dd8092010-05-24 18:25:52 +0000222 <tags>
223 <tag>
224 <name>Immutable</name>
225 <placement>a</placement>
226 <head>This class is immutable</head>
227 </tag>
228 <tag>
229 <name>NotThreadSafe</name>
230 <placement>a</placement>
231 <head>This class is not thread-safe</head>
232 </tag>
233 <tag>
234 <name>ThreadSafe</name>
235 <placement>a</placement>
236 <head>This class is thread-safe</head>
237 </tag>
238 </tags>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000239 </configuration>
240 </plugin>
Stefan Bodewig52b9fcd2011-08-07 06:09:43 +0000241 <plugin>
242 <groupId>org.codehaus.mojo</groupId>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000243 <artifactId>findbugs-maven-plugin</artifactId>
244 <version>2.3.2</version>
245 <configuration>
246 <threshold>Normal</threshold>
247 <effort>Default</effort>
Stefan Bodewig4aea7b22011-08-07 07:56:19 +0000248 <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000249 </configuration>
250 </plugin>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000251 <plugin>
252 <groupId>org.apache.rat</groupId>
253 <artifactId>apache-rat-plugin</artifactId>
254 <version>${commons.rat.version}</version>
255 <configuration>
256 <excludes>
257 <!-- files used during tests -->
258 <exclude>src/test/resources/**</exclude>
259 <!-- proposal text without license -->
260 <exclude>PROPOSAL.txt</exclude>
261 </excludes>
262 </configuration>
263 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000264 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000265 </reporting>
266
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000267 <profiles>
268 <profile>
269 <id>rc</id>
270 <distributionManagement>
271 <!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
272 <site>
273 <id>apache.website</id>
274 <name>Apache Commons Release Candidate Staging Site</name>
275 <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site</url>
276 </site>
277 </distributionManagement>
278 </profile>
Sebastian Bazley6021ccb2010-04-14 00:49:28 +0000279 <profile>
280 <id>relnotes</id>
281 <!-- Override the built-in announce.vm in order to generate release notes -->
282 <build>
283 <plugins>
284 <plugin>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-changes-plugin</artifactId>
287 <version>2.3</version>
288 <configuration>
289 <template>release-notes.vm</template>
290 <templateDirectory>src/changes</templateDirectory>
291 </configuration>
292 </plugin>
293 </plugins>
294 </build>
295 </profile>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000296 <!-- Add long running tests as **/*IT.java -->
Stefan Bodewig500d9402011-08-12 04:36:19 +0000297 <profile>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000298 <id>run-zipit</id>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000299 <build>
300 <plugins>
301 <plugin>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-antrun-plugin</artifactId>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000304 <executions>
305 <execution>
306 <phase>process-test-resources</phase>
307 <configuration>
308 <target>
309 <untar src="${basedir}/src/test/resources/zip64support.tar.bz2"
310 dest="${project.build.testOutputDirectory}"
311 compression="bzip2"/>
312 </target>
313 </configuration>
314 <goals>
315 <goal>run</goal>
316 </goals>
317 </execution>
318 </executions>
319 </plugin>
320 <plugin>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000321 <artifactId>maven-surefire-plugin</artifactId>
322 <configuration>
323 <includes>
Stefan Bodewig38f0ca92011-12-05 10:22:59 +0000324 <include>**/zip/*IT.java</include>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000325 </includes>
326 </configuration>
327 </plugin>
328 </plugins>
329 </build>
330 </profile>
Stefan Bodewig8cece722011-12-05 11:49:03 +0000331 <profile>
332 <id>run-tarit</id>
333 <build>
334 <plugins>
335 <plugin>
336 <artifactId>maven-surefire-plugin</artifactId>
337 <configuration>
338 <includes>
339 <include>**/tar/*IT.java</include>
340 </includes>
341 </configuration>
342 </plugin>
343 </plugins>
344 </build>
345 </profile>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000346 </profiles>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000347
Torsten Curdtca165392008-07-10 10:17:44 +0000348</project>