debian/0000755000000000000000000000000012234614024007164 5ustar debian/maven.cleanIgnoreRules0000644000000000000000000000150112233441754013461 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.ignoreRules0000644000000000000000000000207112233441754012521 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/ biz.aQute bnd * * * * it.could webdav * * * * org.apache.ftpserver ftpserver-core * * * * org.apache.maven.plugins maven-checkstyle-plugin * * * * org.apache.sshd sshd-core * * * * org.codehaus.mojo animal-sniffer-maven-plugin * * * * org.codehaus.plexus plexus-ftpd * * * * org.codehaus.plexus plexus-maven-plugin * * * * debian/maven.publishedRules0000644000000000000000000000164212233441754013220 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.rules0000644000000000000000000000525112233441754011360 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/ s/bouncycastle/org.bouncycastle/ s/bcprov-jdk15/bcprov/ jar s/.*/debian/ * * commons-httpclient commons-httpclient jar s/.*/3.x/ * * commons-net commons-net jar s/.*/2.x/ * * junit junit jar s/.*/4.x/ * * log4j log4j jar s/.*/1.2.x/ * * s/nekohtml/net.sourceforge.nekohtml/ nekohtml jar s/.*/debian/ * * s/nekohtml/xerces/ s/xercesMinimal/xercesImpl/ jar s/.*/debian/ * * org.apache.maven maven-parent pom s/.*/debian/ * * org.apache.maven.wagon wagon-file jar s/.*/2.x/ * * org.apache.maven.wagon wagon-ftp jar s/.*/2.x/ * * org.apache.maven.wagon wagon-http-lightweight jar s/.*/2.x/ * * org.apache.maven.wagon wagon-http-shared4 jar s/2\..*/2.x/ * * org.apache.maven.wagon wagon-http-shared jar s/.*/2.x/ * * org.apache.maven.wagon wagon-http jar s/.*/2.x/ * * org.apache.maven.wagon wagon-provider-api jar s/.*/2.x/ * * org.apache.maven.wagon wagon-provider-test jar s/.*/2.x/ * * org.apache.maven.wagon wagon-providers pom s/.*/2.x/ * * org.apache.maven.wagon wagon-scm jar s/.*/2.x/ * * org.apache.maven.wagon wagon-ssh-common-test jar s/.*/2.x/ * * org.apache.maven.wagon wagon-ssh-common jar s/.*/2.x/ * * org.apache.maven.wagon wagon-ssh-external jar s/.*/2.x/ * * org.apache.maven.wagon wagon-ssh jar s/.*/2.x/ * * org.apache.maven.wagon wagon-tck-http jar s/.*/2.x/ * * org.apache.maven.wagon wagon-tcks pom s/.*/2.x/ * * org.apache.maven.wagon wagon-webdav-jackrabbit jar s/2\..*/2.x/ * * org.apache.maven.wagon wagon pom s/.*/2.x/ * * org.codehaus.plexus plexus-component-metadata jar s/.*/debian/ * * org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/ * * commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ * * s/easymock/org.easymock/ easymock * s/.*/debian/ * * org.mortbay.jetty * * s/6\..*/6.x/ * * s/org.apache.geronimo.specs/javax.servlet/ s/geronimo-servlet_2.5_spec/servlet-api/ jar s/.*/2.5/ * * debian/watch0000644000000000000000000000016212233441754010223 0ustar version=3 http://archive.apache.org/dist/maven/wagon/wagon-([\d\.]+)-source-release.zip debian debian/orig-tar.sh debian/rules0000755000000000000000000000154312233441754010256 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 DEB_MAVEN_DOC_TARGET := javadoc:jar javadoc:aggregate DEB_MAVEN_BUILD_TARGET := install makebuilddir:: -mkdir -p $(CURDIR)/wagon-providers/wagon-scm/target/test-classes/ -svnadmin create $(CURDIR)/wagon-providers/wagon-scm/target/test-classes/test-repo-svn cleanbuilddir:: -rm -Rf $(CURDIR)/wagon-providers/wagon-scm/target/test-classes/test-repo-svn binary-post-install/libwagon2-java:: mh_installjar -plibwagon2-java --java-lib --no-usj-versionless --usj-name=wagon-http-shaded --usj-version=2.x --classifier=shaded wagon-providers/wagon-http/pom.xml wagon-providers/wagon-http/target/wagon-http-*-shaded.jar get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack debian/changelog0000644000000000000000000000460612233441754011053 0ustar wagon2 (2.5-1) unstable; urgency=low * New upstream release - Refreshed the patches - Removed the wagon-providers/wagon-http-shared4 module * debian/control: - Use canonical URLs for the Vcs-* fields - Updated Standards-Version to 3.9.5 (no changes) * Use XZ compression for the upstream tarball -- Emmanuel Bourg Sun, 27 Oct 2013 22:30:07 +0100 wagon2 (2.4-1) unstable; urgency=low * New upstream release - Removed the patch for CVE-2013-0253 fixed in version 2.4 - Refreshed the patches - Added the required build dependency on libplexus-component-metadata-java - Added Maven rules to ignore bnd and plexus-maven-plugin - Added a patch to fix a type cast issue in ScmWagon.java * Fix the watch file to report the most recent versions * Use the upstream tarball instead of a svn tag to fetch the orig source * debian/copyright: Fixed a typo in the Format URI -- Emmanuel Bourg Thu, 16 May 2013 01:37:59 +0200 wagon2 (2.2-4) unstable; urgency=low * Team upload. * Acknowledge NMU - thank you to Michael Gilbert (Closes: #701991) * Prevent filename conflict with libwagon-java (Closes: #707587) - Thank you to James Page for the patch. * Bump Standards-Version to 3.9.4 (no changes). -- tony mancill Fri, 10 May 2013 22:47:35 -0700 wagon2 (2.2-3+nmu1) unstable; urgency=high * Non-maintainer upload by the Security Team. * Fix cve-2013-0253: doesn't check SSL certificates by default (closes: #701991). -- Michael Gilbert Fri, 22 Mar 2013 01:19:26 +0000 wagon2 (2.2-3) unstable; urgency=low [ Damien Raude-Morvan ] * Disable tests which make remote HTTP/HTTPS connections. (Closes: #666577). * Bump Standards-Version to 3.9.3: no changes needed. * Force usj-name for installed JAR. [ Miguel Landaeta ] * Fix Vcs-* URLs. -- Damien Raude-Morvan Sun, 27 May 2012 15:30:11 +0200 wagon2 (2.2-2) unstable; urgency=low * d/libwagon2-java.poms: Install artifacts in /usr/share/java. -- Damien Raude-Morvan Mon, 06 Feb 2012 21:40:31 +0100 wagon2 (2.2-1) unstable; urgency=low * New upstream release: - It's a major release so use a new source package: wagon2. - Old wagon package have to be kept for maven 2.x build. -- Damien Raude-Morvan Sun, 29 Jan 2012 23:23:22 +0100 debian/patches/0000755000000000000000000000000012233441754010622 5ustar debian/patches/no_itcould_webdav.diff0000644000000000000000000000074512233441754015151 0ustar --- a/wagon-providers/wagon-webdav-jackrabbit/pom.xml +++ b/wagon-providers/wagon-webdav-jackrabbit/pom.xml @@ -160,6 +160,15 @@ + + + maven-compiler-plugin + + + **/*.java + + + debian/patches/series0000644000000000000000000000022712233441754012040 0ustar do_not_build_ftp_tests.patch do_not_run_http_tests.patch add_explicit_log4j.diff no_mina_sshd.diff no_itcould_webdav.diff fix_compilation_issues.patch debian/patches/do_not_run_http_tests.patch0000644000000000000000000000250412233441754016273 0ustar Author: Torsten Werner Author: Damien Raude-Morvan Subject: Do not run tests making HTTP/HTTPS connections --- a/wagon-providers/wagon-http-lightweight/pom.xml +++ b/wagon-providers/wagon-http-lightweight/pom.xml @@ -48,4 +48,19 @@ test + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/LightweightHttp* + **/TckTest* + + + + + --- a/wagon-providers/wagon-http/pom.xml +++ b/wagon-providers/wagon-http/pom.xml @@ -118,6 +118,18 @@ + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/TckTest* + **/HttpsWagon* + **/HttpWagon* + + + debian/patches/do_not_build_ftp_tests.patch0000644000000000000000000000142412233441754016400 0ustar From: Torsten Werner Date: Mon, 29 Aug 2011 21:16:24 +0200 Subject: [PATCH] do not build FtpWagonTest.java --- wagon-providers/wagon-ftp/pom.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) --- a/wagon-providers/wagon-ftp/pom.xml +++ b/wagon-providers/wagon-ftp/pom.xml @@ -59,5 +59,19 @@ commons-io + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + **/FtpWagonTest.java + + + + + debian/patches/fix_compilation_issues.patch0000644000000000000000000000072412233441754016425 0ustar --- a/wagon-providers/wagon-scm/src/main/java/org/apache/maven/wagon/providers/scm/ScmWagon.java +++ b/wagon-providers/wagon-scm/src/main/java/org/apache/maven/wagon/providers/scm/ScmWagon.java @@ -738,7 +738,7 @@ List files = new ArrayList(); - for ( ScmFile f : result.getFiles() ) + for ( ScmFile f : (List) result.getFiles() ) { files.add( f.getPath() ); } debian/patches/add_explicit_log4j.diff0000644000000000000000000000165612233441754015214 0ustar Index: b/wagon-provider-test/pom.xml =================================================================== --- a/wagon-provider-test/pom.xml +++ b/wagon-provider-test/pom.xml @@ -54,6 +54,11 @@ org.mortbay.jetty jetty + + log4j + log4j + 1.2.x + Index: b/wagon-tcks/wagon-tck-http/pom.xml =================================================================== --- a/wagon-tcks/wagon-tck-http/pom.xml +++ b/wagon-tcks/wagon-tck-http/pom.xml @@ -37,6 +37,11 @@ commons-codec 1.4 + + log4j + log4j + 1.2.x + debian/patches/no_mina_sshd.diff0000644000000000000000000000404612233441754014121 0ustar --- a/wagon-providers/pom.xml +++ b/wagon-providers/pom.xml @@ -40,7 +40,6 @@ wagon-scm wagon-ssh-external wagon-ssh-common - wagon-ssh-common-test wagon-ssh wagon-webdav-jackrabbit --- a/wagon-providers/wagon-ssh-external/pom.xml +++ b/wagon-providers/wagon-ssh-external/pom.xml @@ -47,11 +47,6 @@ wagon-ssh-common - org.apache.maven.wagon - wagon-ssh-common-test - test - - org.apache.sshd sshd-core test @@ -78,6 +73,20 @@ + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + **/*.java + + + + + --- a/wagon-providers/wagon-ssh/pom.xml +++ b/wagon-providers/wagon-ssh/pom.xml @@ -48,11 +48,6 @@ org.apache.maven.wagon wagon-ssh-common - - org.apache.maven.wagon - wagon-ssh-common-test - test - @@ -75,6 +70,20 @@ + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + **/*.java + + + + + debian/maven.properties0000644000000000000000000000006412233441754012417 0ustar maven.compiler.source=1.5 maven.compiler.target=1.5 debian/libwagon2-java-doc.doc-base.api0000644000000000000000000000045112233441754014710 0ustar Document: libwagon2-java Title: API Javadoc for Maven Wagon Author: Maven Wagon developers Abstract: This is the API Javadoc provided for the libwagon2-java library. Section: Programming Format: HTML Index: /usr/share/doc/libwagon2-java/api/index.html Files: /usr/share/doc/libwagon2-java/api/* debian/libwagon2-java-doc.install0000644000000000000000000000006712233441754014134 0ustar target/site/apidocs/* usr/share/doc/libwagon2-java/api debian/orig-tar.sh0000755000000000000000000000023512233441754011256 0ustar #!/bin/sh -e VERSION=$2 TAR=../wagon2_$VERSION.orig.tar.xz DIR=wagon-$VERSION unzip $3 rm $3 tar -c -J -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR debian/source/0000755000000000000000000000000012233441754010473 5ustar debian/source/format0000644000000000000000000000001412233441754011701 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000044112233441754011351 0ustar Information about wagon ------------------------------ 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/orig-tar.exclude0000644000000000000000000000046712233441754012301 0ustar */src/*/ssl/keystore */src/*/ssh-keys/id_rsa */src/*/ssh-keys/id_rsa-passphrase */src/*/ssh-keys/id_rsa.pub */src/*/ssh-keys/id_rsa-passphrase.pub wagon-tcks/wagon-tck-http/Test Plan.oo3/* wagon-providers/wagon-scm/src/test/resources/test-repo-cvs/* wagon-providers/wagon-scm/src/test/resources/test-repo-svn/* debian/compat0000644000000000000000000000000212233441754010371 0ustar 7 debian/copyright0000644000000000000000000000222512233441754011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Maven Wagon Upstream-Contact: http://maven.apache.org/wagon/ Source: http://svn.apache.org/repos/asf/maven/wagon/ Files: * Copyright: Copyright (C) 2002-2008 The Apache Software Foundation License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems the full text of the Apache License can be found in `/usr/share/common-licenses/Apache-2.0'. Files: debian/* Copyright: Copyright (C) 2011, Damien Raude-Morvan License: Apache-2.0 On Debian systems the full text of the Apache License can be found in `/usr/share/common-licenses/Apache-2.0'. debian/libwagon2-java.poms0000644000000000000000000000614612233441754012705 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 --has-package-version wagon-provider-api/pom.xml --has-package-version --java-lib --usj-name=wagon-provider-api-2.x wagon-providers/pom.xml --has-package-version wagon-providers/wagon-file/pom.xml --has-package-version --java-lib --usj-name=wagon-file-2.x wagon-providers/wagon-ftp/pom.xml --has-package-version --java-lib --usj-name=wagon-ftp-2.x wagon-providers/wagon-http/pom.xml --has-package-version --java-lib --usj-name=wagon-http-2.x wagon-providers/wagon-http-shared/pom.xml --has-package-version --java-lib --usj-name=wagon-http-shared-2.x wagon-providers/wagon-http-lightweight/pom.xml --has-package-version --java-lib --usj-name=wagon-http-lightweight-2.x wagon-providers/wagon-scm/pom.xml --has-package-version --java-lib --usj-name=wagon-scm-2.x wagon-providers/wagon-ssh/pom.xml --has-package-version --java-lib --usj-name=wagon-ssh-2.x wagon-providers/wagon-ssh-external/pom.xml --has-package-version --java-lib --usj-name=wagon-ssh-external-2.x wagon-providers/wagon-ssh-common/pom.xml --has-package-version --java-lib --usj-name=wagon-ssh-common-2.x wagon-providers/wagon-ssh-common-test/pom.xml --has-package-version --java-lib --usj-name=wagon-ssh-common-test-2.x wagon-providers/wagon-webdav-jackrabbit/pom.xml --has-package-version --java-lib --usj-name=wagon-webdav-jackrabbit-2.x wagon-provider-test/pom.xml --has-package-version --java-lib --usj-name=wagon-provider-test-2.x wagon-tcks/pom.xml --has-package-version wagon-tcks/wagon-tck-http/pom.xml --has-package-version --java-lib --usj-name=wagon-tck-http-2.x debian/control0000644000000000000000000000533712233441754010606 0ustar Source: wagon2 Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan , Emmanuel Bourg Build-Depends: cdbs, debhelper (>= 7), default-jdk, maven-debian-helper Build-Depends-Indep: default-jdk-doc, junit, libbcprov-java, libcommons-codec-java, libcommons-codec-java-doc, libcommons-httpclient-java, libcommons-io-java, libcommons-logging-java, libcommons-logging-java-doc, libcommons-net2-java, libcommons-net2-java-doc, libeasymock-java, libjackrabbit-java, libjaxen-java, libjetty-java, libjetty-java-doc, libjsch-java, libjsoup-java, libmaven-enforcer-plugin-java, libmaven-install-plugin-java, libmaven-javadoc-plugin-java, libmaven-parent-java, libmaven-scm-java, libmaven-scm-java-doc, libmaven-shade-plugin-java, libnekohtml-java, libplexus-component-metadata-java, libplexus-container-default-java, libplexus-container-default-java-doc, libplexus-containers-java, libplexus-containers-java-doc, libplexus-interactivity-api-java, libplexus-interactivity-api-java-doc, libplexus-maven-plugin-java, libplexus-utils-java, libplexus-utils-java-doc, subversion Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-java/wagon2.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/wagon2.git Homepage: http://maven.apache.org/wagon/ Package: libwagon2-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Description: resources' transport abstraction that is used in Maven The Wagon project defines a simple API for transferring resources (artifacts) to and from repositories. The word repository is used in this context as it is commonly used in Maven and means a storage of artifacts. It is also used to deploy the Maven generated site to a server. . Wagon defines a unified API, and it currently has the following providers: * File * HTTP * HTTP lightweight * FTP * SSH/SCP * WebDAV * SCM (in progress)