1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 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. 17 --> 18 <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"> 19 <modelVersion>4.0.0</modelVersion> 20 <parent> 21 <groupId>org.apache.commons</groupId> 22 <artifactId>commons-parent</artifactId> 23 <version>33</version> 24 </parent> 25 26 <groupId>org.apache.commons</groupId> 27 <artifactId>commons-compress</artifactId> 28 <version>1.8.1</version> 29 <name>Apache Commons Compress</name> 30 <url>http://commons.apache.org/proper/commons-compress/</url> 31 <!-- The description is not indented to make it look better in the release notes --> 32 <description> 33 Apache Commons Compress software defines an API for working with compression and archive formats. 34 These include: bzip2, gzip, pack200, lzma, xz, Snappy, traditional Unix Compress and ar, cpio, jar, tar, zip, dump, 7z, arj. 35 </description> 36 37 <properties> 38 <maven.compiler.source>1.5</maven.compiler.source> 39 <maven.compiler.target>1.5</maven.compiler.target> 40 <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 --> 44 <commons.release.version>${project.version}</commons.release.version> 45 <commons.rc.version>RC1</commons.rc.version> 46 </properties> 47 48 <issueManagement> 49 <system>jira</system> 50 <url>http://issues.apache.org/jira/browse/COMPRESS</url> 51 </issueManagement> 52 53 <dependencies> 54 <dependency> 55 <groupId>junit</groupId> 56 <artifactId>junit</artifactId> 57 <version>4.11</version> 58 <scope>test</scope> 59 </dependency> 60 <dependency> 61 <groupId>org.tukaani</groupId> 62 <artifactId>xz</artifactId> 63 <version>1.5</version> 64 <optional>true</optional> 65 </dependency> 66 </dependencies> 67 68 <developers> 69 <developer> 70 <name>Torsten Curdt</name> 71 <id>tcurdt</id> 72 <email>tcurdt at apache.org</email> 73 </developer> 74 <developer> 75 <name>Stefan Bodewig</name> 76 <id>bodewig</id> 77 <email>bodewig at apache.org</email> 78 </developer> 79 <developer> 80 <name>Sebastian Bazley</name> 81 <id>sebb</id> 82 <email>sebb at apache.org</email> 83 </developer> 84 <developer> 85 <name>Christian Grobmeier</name> 86 <id>grobmeier</id> 87 <email>grobmeier at apache.org</email> 88 </developer> 89 <developer> 90 <name>Julius Davies</name> 91 <id>julius</id> 92 <email>julius at apache.org</email> 93 </developer> 94 <developer> 95 <name>Damjan Jovanovic</name> 96 <id>damjan</id> 97 <email>damjan at apache.org</email> 98 </developer> 99 <developer> 100 <name>Emmanuel Bourg</name> 101 <id>ebourg</id> 102 <email>ebourg at apache.org</email> 103 </developer> 104 </developers> 105 106 <contributors> 107 <contributor> 108 <name>Wolfgang Glas</name> 109 <email>wolfgang.glas at ev-i.at</email> 110 </contributor> 111 <contributor> 112 <name>Christian Kohlschtte</name> 113 <email>ck (a] newsclub.de</email> 114 </contributor> 115 <contributor> 116 <name>Bear Giles</name> 117 <email>bgiles (a] coyotesong.com</email> 118 </contributor> 119 <contributor> 120 <name>Michael Kuss</name> 121 <email>mail at michael minus kuss.de</email> 122 </contributor> 123 <contributor> 124 <name>Lasse Collin</name> 125 <email>lasse.collin (a] tukaani.org</email> 126 </contributor> 127 <contributor> 128 <name>John Kodis</name> 129 </contributor> 130 <contributor> 131 <name>BELUGA BEHR</name> 132 </contributor> 133 </contributors> 134 135 <scm> 136 <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS-1.8.1</connection> 137 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS-1.8.1</developerConnection> 138 <url>http://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS-1.8.1</url> 139 </scm> 140 141 <build> 142 <plugins> 143 <plugin> 144 <!-- create the source and binary assemblies --> 145 <artifactId>maven-assembly-plugin</artifactId> 146 <configuration> 147 <descriptors> 148 <descriptor>src/main/assembly/bin.xml</descriptor> 149 <descriptor>src/main/assembly/src.xml</descriptor> 150 </descriptors> 151 <tarLongFileMode>gnu</tarLongFileMode> 152 </configuration> 153 </plugin> 154 <plugin> 155 <artifactId>maven-jar-plugin</artifactId> 156 <configuration> 157 <archive> 158 <manifestEntries> 159 <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class> 160 <Extension-Name>org.apache.commons.compress</Extension-Name> 161 </manifestEntries> 162 </archive> 163 </configuration> 164 </plugin> 165 <plugin> 166 <groupId>org.apache.felix</groupId> 167 <artifactId>maven-bundle-plugin</artifactId> 168 <configuration> 169 <instructions> 170 <Import-Package>org.tukaani.xz;resolution:=optional</Import-Package> 171 </instructions> 172 </configuration> 173 </plugin> 174 <plugin> 175 <groupId>org.apache.maven.plugins</groupId> 176 <artifactId>maven-scm-publish-plugin</artifactId> 177 <configuration> 178 <ignorePathsToDelete> 179 <ignorePathToDelete>javadocs</ignorePathToDelete> 180 </ignorePathsToDelete> 181 </configuration> 182 </plugin> 183 </plugins> 184 </build> 185 186 <reporting> 187 <plugins> 188 <plugin> 189 <!-- generate the changes report from changes.xml and link to JIRA --> 190 <groupId>org.apache.maven.plugins</groupId> 191 <artifactId>maven-changes-plugin</artifactId> 192 <version>${commons.changes.version}</version> 193 <configuration> 194 <issueLinkTemplatePerSystem> 195 <default>%URL%/%ISSUE%</default> 196 </issueLinkTemplatePerSystem> 197 </configuration> 198 <reportSets> 199 <reportSet> 200 <reports> 201 <report>changes-report</report> 202 <report>jira-report</report> 203 </reports> 204 </reportSet> 205 </reportSets> 206 </plugin> 207 <plugin> 208 <!-- generate a code coverage report --> 209 <groupId>org.codehaus.mojo</groupId> 210 <artifactId>cobertura-maven-plugin</artifactId> 211 <version>2.6</version> 212 </plugin> 213 <plugin> 214 <!-- generate the PMD reports --> 215 <groupId>org.apache.maven.plugins</groupId> 216 <artifactId>maven-pmd-plugin</artifactId> 217 <version>2.5</version> 218 <configuration> 219 <minimumTokens>200</minimumTokens> 220 <targetJdk>${maven.compiler.source}</targetJdk> 221 <rulesets> 222 <ruleset>${basedir}/pmd-ruleset.xml</ruleset> 223 </rulesets> 224 </configuration> 225 </plugin> 226 <!-- Override Javadoc config in parent pom to add JCIP tags --> 227 <plugin> 228 <groupId>org.apache.maven.plugins</groupId> 229 <artifactId>maven-javadoc-plugin</artifactId> 230 <configuration> 231 <quiet>true</quiet> 232 <source>${maven.compiler.source}</source> 233 <encoding>${commons.encoding}</encoding> 234 <docEncoding>${commons.docEncoding}</docEncoding> 235 <linksource>true</linksource> 236 <links> 237 <link>${commons.javadoc.java.link}</link> 238 <link>${commons.javadoc.javaee.link}</link> 239 </links> 240 <tags> 241 <tag> 242 <name>Immutable</name> 243 <placement>a</placement> 244 <head>This class is immutable</head> 245 </tag> 246 <tag> 247 <name>NotThreadSafe</name> 248 <placement>a</placement> 249 <head>This class is not thread-safe</head> 250 </tag> 251 <tag> 252 <name>ThreadSafe</name> 253 <placement>a</placement> 254 <head>This class is thread-safe</head> 255 </tag> 256 </tags> 257 </configuration> 258 </plugin> 259 <plugin> 260 <groupId>org.codehaus.mojo</groupId> 261 <artifactId>findbugs-maven-plugin</artifactId> 262 <version>2.5.3</version> 263 <configuration> 264 <threshold>Normal</threshold> 265 <effort>Default</effort> 266 <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile> 267 </configuration> 268 </plugin> 269 <plugin> 270 <groupId>org.apache.rat</groupId> 271 <artifactId>apache-rat-plugin</artifactId> 272 <version>${commons.rat.version}</version> 273 <configuration> 274 <excludes> 275 <!-- files used during tests --> 276 <exclude>src/test/resources/**</exclude> 277 <!-- proposal text without license --> 278 <exclude>PROPOSAL.txt</exclude> 279 <exclude>.pmd</exclude> 280 <exclude>.gitignore</exclude> 281 <exclude>.gitattributes</exclude> 282 <exclude>.projectile</exclude> 283 </excludes> 284 </configuration> 285 </plugin> 286 </plugins> 287 </reporting> 288 289 <profiles> 290 <!-- Add long running tests as **/*IT.java --> 291 <profile> 292 <id>run-zipit</id> 293 <build> 294 <plugins> 295 <plugin> 296 <groupId>org.apache.maven.plugins</groupId> 297 <artifactId>maven-antrun-plugin</artifactId> 298 <executions> 299 <execution> 300 <phase>process-test-resources</phase> 301 <configuration> 302 <target> 303 <untar src="${basedir}/src/test/resources/zip64support.tar.bz2" 304 dest="${project.build.testOutputDirectory}" 305 compression="bzip2"/> 306 </target> 307 </configuration> 308 <goals> 309 <goal>run</goal> 310 </goals> 311 </execution> 312 </executions> 313 </plugin> 314 <plugin> 315 <artifactId>maven-surefire-plugin</artifactId> 316 <configuration> 317 <includes> 318 <include>**/zip/*IT.java</include> 319 </includes> 320 </configuration> 321 </plugin> 322 </plugins> 323 </build> 324 </profile> 325 <profile> 326 <id>run-tarit</id> 327 <build> 328 <plugins> 329 <plugin> 330 <artifactId>maven-surefire-plugin</artifactId> 331 <configuration> 332 <includes> 333 <include>**/tar/*IT.java</include> 334 </includes> 335 </configuration> 336 </plugin> 337 </plugins> 338 </build> 339 </profile> 340 </profiles> 341 342 </project> 343