debian/0000755000000000000000000000000012254472542007175 5ustar debian/maven.cleanIgnoreRules0000644000000000000000000000150112254453056013462 0ustar # Maven clean ignore rules - ignore some Maven dependencies and plugins # during the clean phase of a Maven build # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM before mvn clean is called # junit junit jar s/3\\..*/3.x/ debian/maven.ignoreRules0000644000000000000000000000145412254453056012526 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\\..*/3.x/ org.apache.maven.plugins maven-changes-plugin * * * * debian/maven.publishedRules0000644000000000000000000000164212254453056013221 0ustar # Maven published rules - additional rules to publish, to help # the packaging work of Debian maintainers using mh_make # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ debian/maven.rules0000644000000000000000000000160412254453056011357 0ustar # Maven rules - transform Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ junit junit jar s/3\..*/3.x/ * * debian/watch0000644000000000000000000000024212254453056010223 0ustar version=3 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ http://svn.apache.org/repos/asf/maven/shared/tags/ \ maven-archiver-(\d.*)/ debian debian/orig-tar.sh debian/rules0000755000000000000000000000034712254453056010260 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download debian/libmaven-archiver-java-doc.install0000644000000000000000000000007312254453056015644 0ustar target/apidocs/* usr/share/doc/libmaven-archiver-java/api debian/changelog0000644000000000000000000000441312254453056011050 0ustar maven-archiver (2.5-1) unstable; urgency=medium * Team upload. * New upstream release * Added a patch to run the tests with maven-artifact 2.2. The tests are still disabled until plexus-archiver is upgraded to 2.2 or later. * debian/control: - Use canonical URLs for the Vcs-* fields - Standards-Version updated to 3.9.5 (no changes) * Switch to debhelper level 9 * debian/copyright: Updated to the Copyright Format 1.0 * debian/orig-tar.sh: - Do not remove the jars used as test elements - Use XZ compression for the upstream tarball -- Emmanuel Bourg Wed, 18 Dec 2013 11:14:51 +0100 maven-archiver (2.4-4) unstable; urgency=low * Add 'debian' version for Maven artifact. -- Torsten Werner Sun, 21 Aug 2011 18:15:52 +0200 maven-archiver (2.4-3) unstable; urgency=low * Use Maven to build the package. But keep the tests disabled because they FTBFS. * Switch to source format 3.0. * Switch to debhelper 7. * Update Standards-Version: 3.9.1. * Add documentation package. * Convert debian/copyright to dep5 format. -- Torsten Werner Thu, 18 Aug 2011 16:52:10 +0200 maven-archiver (2.4-2) unstable; urgency=low * Upload to unstable. -- Torsten Werner Sun, 09 Aug 2009 22:26:11 +0200 maven-archiver (2.4-1) experimental; urgency=low * New upstream version, add myself to Uploaders * Change section to java, bump up Standards-Version to 3.8.1 * Add the Maven POM to the package, * Add a Build-Depends-Indep dependency on maven-repo-helper * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository * Remove the patch for the POM as it's no longer needed, as well as the dependency on Quilt * Add a dependency on libplexus-interpolation-java, change the dependency on maven2 to libmaven2-core-java -- Ludovic Claude Thu, 14 May 2009 20:54:44 +0100 maven-archiver (2.3-2) unstable; urgency=low * Make short description more verbose. -- Torsten Werner Thu, 11 Dec 2008 14:34:39 +0100 maven-archiver (2.3-1) unstable; urgency=low * Initial release. (Closes: #508311) -- Torsten Werner Thu, 04 Dec 2008 19:29:26 +0100 debian/libmaven-archiver-java.poms0000644000000000000000000000320612254453056014412 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --no-parent --has-package-version debian/patches/0000755000000000000000000000000012254472473010627 5ustar debian/patches/series0000644000000000000000000000004612254453056012040 0ustar 01-maven-artifact-compatibility.patch debian/patches/01-maven-artifact-compatibility.patch0000644000000000000000000000235212254453056017634 0ustar Description: Ensures the compatibility of the tests with the version of maven-artifact in Debian Author: Emmanuel Bourg Forwarded: no --- a/src/test/java/org/apache/maven/archiver/MockArtifact.java +++ b/src/test/java/org/apache/maven/archiver/MockArtifact.java @@ -54,7 +54,7 @@ private String baseVersion; - private ArtifactHandler artifactHandler; + private ArtifactHandler artifactHandler = new org.apache.maven.artifact.handler.DefaultArtifactHandler(); private boolean snapshot; @@ -117,7 +117,7 @@ public String getBaseVersion() { - return baseVersion; + return baseVersion != null ? baseVersion : version; } public void setBaseVersion( String string ) @@ -142,6 +142,11 @@ // TODO } + public ArtifactMetadata getMetadata( Class metadataClass ) + { + return null; + } + public Collection getMetadataList() { // TODO @@ -197,8 +202,7 @@ public List getDependencyTrail() { - // TODO - return null; //To change body of implemented methods use File | Settings | File Templates. + return VersionRange.createFromVersion("1.0"); } public void setDependencyTrail( List list ) debian/maven.properties0000644000000000000000000000036512254453056012424 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true # Tests can be enabled after upgrading plexus-archiver to 2.2 or later maven.test.skip=true maven.compiler.source=1.3 maven.compiler.target=1.3 debian/TODO0000644000000000000000000000004012254453056007656 0ustar fix compile error for test code debian/orig-tar.sh0000755000000000000000000000066612254453056011267 0ustar #!/bin/sh -e VERSION=$2 TAR=../maven-archiver_$VERSION.orig.tar.xz DIR=maven-archiver-$VERSION TAG=$(echo "maven-archiver-$VERSION" | sed -re's/~(alpha|beta)/-\1-/') svn export http://svn.apache.org/repos/asf/maven/shared/tags/${TAG}/ $DIR XZ_OPT=--best tar -c -J -f $TAR $DIR rm -rf $DIR ../$TAG # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir && echo "moved $TAR to $origDir" fi debian/source/0000755000000000000000000000000012254472473010500 5ustar debian/source/format0000644000000000000000000000001412254453056011702 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000045212254453056011354 0ustar Information about maven-archiver ------------------------------ This package was debianized using the mh_make command from the maven-debian-helper package. The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. debian/compat0000644000000000000000000000000212254453056010372 0ustar 9 debian/copyright0000644000000000000000000000075212254453056011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Maven Archiver Source: http://maven.apache.org/shared/maven-archiver/ Files: * Copyright: 2007-2012, The Apache Software Foundation. License: Apache-2.0 Files: debian/* Copyright: 2008-2011, Torsten Werner License: Apache-2.0 License: Apache-2.0 On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0' debian/libmaven-archiver-java-doc.doc-base.api0000644000000000000000000000051712254453056016426 0ustar Document: libmaven-archiver-java Title: API Javadoc for Maven Archiver Author: Maven Archiver developers Abstract: This is the API Javadoc provided for the libmaven-archiver-java library. Section: Programming Format: HTML Index: /usr/share/doc/libmaven-archiver-java/api/index.html Files: /usr/share/doc/libmaven-archiver-java/api/* debian/control0000644000000000000000000000570112254453056010602 0ustar Source: maven-archiver Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Torsten Werner , Ludovic Claude Build-Depends: cdbs, debhelper (>= 9), default-jdk, maven-debian-helper (>= 1.4) Build-Depends-Indep: default-jdk-doc, junit, libmaven-javadoc-plugin-java, libmaven2-core-java, libmaven2-core-java-doc, libplexus-archiver-java, libplexus-interpolation-java, libplexus-utils-java, libplexus-utils-java-doc Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/maven-archiver Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/maven-archiver/ Homepage: http://maven.apache.org/shared/maven-archiver/ Package: libmaven-archiver-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libmaven-archiver-java-doc Description: Archiver component for Maven Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. . Maven's primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with: . * Making the build process easy * Providing a uniform build system * Providing quality project information * Providing guidelines for best practices development * Allowing transparent migration to new features . The Maven Archiver is mainly used by Maven plugins to handle packaging. Package: libmaven-archiver-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Suggests: libmaven-archiver-java Description: Archiver component for Maven - API documentation Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. . Maven's primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with: . * Making the build process easy * Providing a uniform build system * Providing quality project information * Providing guidelines for best practices development * Allowing transparent migration to new features . The Maven Archiver is mainly used by Maven plugins to handle packaging. . This package contains the API documentation of libmaven-archiver-java.