blob: d5ab0d9a31f1621fdf551eb1ce9e0be860bda80b [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 Bodewiga18f6e52011-07-27 04:11:06 +000028 <version>1.3-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.
Sebastian Bazley842dfd82010-04-13 19:25:29 +000033 These include: bzip2, gzip and ar, cpio, jar, tar, zip.
34 </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 Bodewigab0c7822011-07-25 18:49:56 +000043 <commons.release.version>1.2</commons.release.version>
Stefan Bodewigf0f22422011-07-28 03:58:52 +000044 <commons.rc.version>RC2</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>
Stefan Bodewig1f439f32011-07-25 09:02:51 +000056 <version>4.8.2</version>
Torsten Curdtca165392008-07-10 10:17:44 +000057 <scope>test</scope>
58 </dependency>
59 </dependencies>
60
61 <developers>
62 <developer>
Torsten Curdtc06ef182009-01-07 12:53:42 +000063 <name>Torsten Curdt</name>
64 <id>tcurdt</id>
65 <email>tcurdt at apache.org</email>
Torsten Curdtca165392008-07-10 10:17:44 +000066 </developer>
67 <developer>
Stefan Bodewig743d7c52009-02-05 11:01:35 +000068 <name>Stefan Bodewig</name>
69 <id>bodewig</id>
70 <email>bodewig at apache.org</email>
71 </developer>
Sebastian Bazley93fe95d2009-04-02 13:48:38 +000072 <developer>
73 <name>Sebastian Bazley</name>
74 <id>sebb</id>
75 <email>sebb at apache.org</email>
76 </developer>
Christian Grobmeierc9affe02009-04-10 19:36:26 +000077 <developer>
78 <name>Christian Grobmeier</name>
79 <email>grobmeier at apache.org</email>
80 </developer>
Torsten Curdtca165392008-07-10 10:17:44 +000081 </developers>
Torsten Curdtc06ef182009-01-07 12:53:42 +000082
83 <contributors>
84 <contributor>
Stefan Bodewige451ee42009-02-19 13:36:59 +000085 <name>Wolfgang Glas</name>
86 <email>wolfgang.glas at ev-i.at</email>
87 </contributor>
Matthew Jason Bensona24f8312009-03-24 20:41:45 +000088 <contributor>
89 <name>Christian Kohlschütte</name>
90 <email>ck@newsclub.de</email>
91 </contributor>
Stefan Bodewig054452a2011-08-15 10:47:04 +000092 <contributor>
93 <name>Bear Giles</name>
94 <email>bgiles@coyotesong.com</email>
95 </contributor>
Torsten Curdtc06ef182009-01-07 12:53:42 +000096 </contributors>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +000097
Torsten Curdtca165392008-07-10 10:17:44 +000098 <scm>
Christian Grobmeierb1ab9662010-08-13 04:40:47 +000099 <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/compress/trunk</connection>
100 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/compress/trunk</developerConnection>
101 <url>http://svn.apache.org/repos/asf/commons/proper/compress/trunk</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000102 </scm>
103
104 <distributionManagement>
105 <site>
106 <id>website</id>
107 <name>Apache Website</name>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000108 <url>scp://people.apache.org/www/commons.apache.org/compress/</url>
Torsten Curdtca165392008-07-10 10:17:44 +0000109 </site>
110 </distributionManagement>
111
Torsten Curdtca165392008-07-10 10:17:44 +0000112 <build>
Torsten Curdtca165392008-07-10 10:17:44 +0000113 <plugins>
Stefan Bodewig75d59c32009-02-12 10:03:44 +0000114 <plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000115 <!-- create the source and binary assemblies -->
116 <artifactId>maven-assembly-plugin</artifactId>
Torsten Curdtca165392008-07-10 10:17:44 +0000117 <configuration>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000118 <descriptors>
119 <descriptor>src/assembly/bin.xml</descriptor>
120 <descriptor>src/assembly/src.xml</descriptor>
121 </descriptors>
122 <tarLongFileMode>gnu</tarLongFileMode>
Torsten Curdtca165392008-07-10 10:17:44 +0000123 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000124 </plugin>
Sebastian Bazley0fc47a92009-05-11 21:56:15 +0000125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-source-plugin</artifactId>
128 <configuration>
129 <archive>
130 <manifest>
131 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
132 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
133 </manifest>
134 </archive>
135 </configuration>
136 </plugin>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000137 <plugin>
138 <artifactId>maven-jar-plugin</artifactId>
139 <configuration>
140 <archive>
141 <manifestEntries>
142 <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
Stefan Bodewig5b494b52011-07-25 19:21:53 +0000143 <Extension-Name>org.apache.commons.compress</Extension-Name>
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000144 </manifestEntries>
145 </archive>
146 </configuration>
147 </plugin>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000148 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000149 </build>
150
151 <reporting>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000152 <plugins>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000153 <plugin>
154 <!-- generate the changes report from changes.xml and link to JIRA -->
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-changes-plugin</artifactId>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000157 <version>2.3</version>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000158 <configuration>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000159 <issueLinkTemplatePerSystem>
160 <default>%URL%/%ISSUE%</default>
161 </issueLinkTemplatePerSystem>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000162 </configuration>
163 <reportSets>
164 <reportSet>
165 <reports>
166 <report>changes-report</report>
Sebastian Bazley48882f12010-04-13 21:02:37 +0000167 <report>jira-report</report>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000168 </reports>
169 </reportSet>
170 </reportSets>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000171 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000172 <plugin>
173 <!-- generate a code coverage report -->
174 <groupId>org.codehaus.mojo</groupId>
175 <artifactId>cobertura-maven-plugin</artifactId>
176 <version>2.2</version>
177 </plugin>
178 <plugin>
179 <!-- generate the PMD reports -->
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-pmd-plugin</artifactId>
182 <version>2.4</version>
183 <configuration>
184 <minimumTokens>200</minimumTokens>
185 <targetJdk>${maven.compile.source}</targetJdk>
186 <rulesets>
Stefan Bodewigdd6fffb2011-07-25 04:58:33 +0000187 <ruleset>${basedir}/pmd-ruleset.xml</ruleset>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000188 </rulesets>
189 </configuration>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000190 </plugin>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000191 <!-- Override Javadoc config in parent pom to add default manifest entries -->
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-javadoc-plugin</artifactId>
195 <configuration>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000196 <quiet>true</quiet>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000197 <source>${maven.compile.source}</source>
198 <encoding>${commons.encoding}</encoding>
199 <docEncoding>${commons.docEncoding}</docEncoding>
200 <linksource>true</linksource>
201 <links>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000202 <link>${commons.javadoc.java.link}</link>
203 <link>${commons.javadoc.javaee.link}</link>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000204 </links>
Sebastian Bazley23dd8092010-05-24 18:25:52 +0000205 <tags>
206 <tag>
207 <name>Immutable</name>
208 <placement>a</placement>
209 <head>This class is immutable</head>
210 </tag>
211 <tag>
212 <name>NotThreadSafe</name>
213 <placement>a</placement>
214 <head>This class is not thread-safe</head>
215 </tag>
216 <tag>
217 <name>ThreadSafe</name>
218 <placement>a</placement>
219 <head>This class is thread-safe</head>
220 </tag>
221 </tags>
Sebastian Bazleyfc4fe582009-05-12 01:00:15 +0000222 </configuration>
223 </plugin>
Stefan Bodewig52b9fcd2011-08-07 06:09:43 +0000224 <plugin>
225 <groupId>org.codehaus.mojo</groupId>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000226 <artifactId>findbugs-maven-plugin</artifactId>
227 <version>2.3.2</version>
228 <configuration>
229 <threshold>Normal</threshold>
230 <effort>Default</effort>
Stefan Bodewig4aea7b22011-08-07 07:56:19 +0000231 <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
Stefan Bodewig716757f2011-08-07 06:27:48 +0000232 </configuration>
233 </plugin>
Stefan Bodewigff9b6fd2011-10-19 12:52:09 +0000234 <plugin>
235 <groupId>org.apache.rat</groupId>
236 <artifactId>apache-rat-plugin</artifactId>
237 <version>${commons.rat.version}</version>
238 <configuration>
239 <excludes>
240 <!-- files used during tests -->
241 <exclude>src/test/resources/**</exclude>
242 <!-- proposal text without license -->
243 <exclude>PROPOSAL.txt</exclude>
244 </excludes>
245 </configuration>
246 </plugin>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000247 </plugins>
Torsten Curdtca165392008-07-10 10:17:44 +0000248 </reporting>
249
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000250 <profiles>
251 <profile>
252 <id>rc</id>
253 <distributionManagement>
254 <!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
255 <site>
256 <id>apache.website</id>
257 <name>Apache Commons Release Candidate Staging Site</name>
258 <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site</url>
259 </site>
260 </distributionManagement>
261 </profile>
Sebastian Bazley6021ccb2010-04-14 00:49:28 +0000262 <profile>
263 <id>relnotes</id>
264 <!-- Override the built-in announce.vm in order to generate release notes -->
265 <build>
266 <plugins>
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-changes-plugin</artifactId>
270 <version>2.3</version>
271 <configuration>
272 <template>release-notes.vm</template>
273 <templateDirectory>src/changes</templateDirectory>
274 </configuration>
275 </plugin>
276 </plugins>
277 </build>
278 </profile>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000279 <profile>
280 <id>run-it</id>
281 <!-- Add long running tests as **/*IT.java -->
282 <build>
283 <plugins>
284 <plugin>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-antrun-plugin</artifactId>
Stefan Bodewigf35bdab2011-10-18 15:31:12 +0000287 <executions>
288 <execution>
289 <phase>process-test-resources</phase>
290 <configuration>
291 <target>
292 <untar src="${basedir}/src/test/resources/zip64support.tar.bz2"
293 dest="${project.build.testOutputDirectory}"
294 compression="bzip2"/>
295 </target>
296 </configuration>
297 <goals>
298 <goal>run</goal>
299 </goals>
300 </execution>
301 </executions>
302 </plugin>
303 <plugin>
Stefan Bodewig500d9402011-08-12 04:36:19 +0000304 <artifactId>maven-surefire-plugin</artifactId>
305 <configuration>
306 <includes>
307 <include>**/*Test.java</include>
308 <include>**/*IT.java</include>
309 </includes>
310 </configuration>
311 </plugin>
312 </plugins>
313 </build>
314 </profile>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000315 </profiles>
Dennis Lundberg4dcba5a2009-03-23 23:10:54 +0000316
Torsten Curdtca165392008-07-10 10:17:44 +0000317</project>