debian/0000755000000000000000000000000012263440722007170 5ustar debian/maven.cleanIgnoreRules0000644000000000000000000000150112244222472013455 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.ignoreRules0000644000000000000000000000145312244222472012520 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-source-plugin * * * * debian/maven.publishedRules0000644000000000000000000000235512244222471013215 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/ s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools debian/libmaven-plugin-testing-java.poms0000644000000000000000000000317412244222472015557 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM or # --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 # --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. # --classifier=: Optional, the classifier for the jar. Empty by default. # --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created # temporarily for certain artifacts such as Javadoc jars. # pom.xml --no-parent --has-package-version maven-plugin-testing-harness/pom.xml --has-package-version maven-plugin-testing-tools/pom.xml --has-package-version maven-test-tools/pom.xml --has-package-version debian/maven.rules0000644000000000000000000000263612244222471011357 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/ * * org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/ * * s/easymock/org.easymock/ easymock * s/.*/debian/ * * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness * s/.*/debian/ * * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools * s/.*/debian/ * * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ * * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools * s/.*/debian/ * * debian/watch0000644000000000000000000000026012244222472010216 0ustar version=3 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ http://svn.apache.org/repos/asf/maven/plugin-testing/tags/ \ maven-plugin-testing-(\d.*)/ debian debian/orig-tar.sh debian/rules0000755000000000000000000000044612244222471010252 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 get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename debian/changelog0000644000000000000000000000322712263437261011052 0ustar maven-plugin-testing (1.3-2) unstable; urgency=medium * Team upload. * Update maven-test-tools version in pom for version 1.3 - Thanks to Roddy Shuler. (Closes: #733434) -- tony mancill Wed, 08 Jan 2014 22:16:10 -0800 maven-plugin-testing (1.3-1) unstable; urgency=low * Team upload. * New upstream release - Refreshed the patches - Removed 0001-fix-for-maven-2.1.0.patch (fixed upstream) * debian/control: - Standards-Version updated to 3.9.5 (no changes) - Use canonical URLs for the Vcs-* fields - Build depend on libplexus-maven-plugin-java (>= 1.3.8-9) to fix a build failure * Added a patch to ensure the compatibility with EasyMock 3.0 (Closes: #718874) * Switch to debhelper level 9 * Use XZ compression for the upstream tarball * debian/copyright: Updated to the Copyright Format 1.0 -- Emmanuel Bourg Sat, 23 Nov 2013 01:08:25 +0100 maven-plugin-testing (1.2-3) unstable; urgency=low * Team upload. * Switch to source format 3.0. * Switch to debhelper level 7. * Update Standards-Version: 3.9.1. * Use Maven for building the package but ignore test failures. * Add a documentation package. -- Torsten Werner Tue, 23 Aug 2011 22:42:02 +0200 maven-plugin-testing (1.2-2) unstable; urgency=low * Publish a rule to handle the change of groupId in the Maven descriptors. -- Ludovic Claude Sun, 26 Jul 2009 14:23:34 +0100 maven-plugin-testing (1.2-1) experimental; urgency=low * Initial release. (Closes: #535013) -- Ludovic Claude Sun, 07 Jun 2009 00:04:41 +0100 debian/libmaven-plugin-testing-java-doc.install0000644000000000000000000000010612244222471017001 0ustar target/site/apidocs/* usr/share/doc/libmaven-plugin-testing-java/api debian/patches/0000755000000000000000000000000012263440603010615 5ustar debian/patches/series0000644000000000000000000000011212244222472012025 0ustar 0001-easymock-upgrade.patch 0002-fix-dependency-on-maven-test-tools.patch debian/patches/0001-easymock-upgrade.patch0000644000000000000000000000267212244222472015464 0ustar Description: Replaces the MockControl class removed from EasyMock 3.0 Author: Emmanuel Bourg Bug: https://github.com/apache/maven-plugin-testing/pull/2 --- a/maven-test-tools/src/main/java/org/apache/maven/shared/tools/easymock/MockManager.java +++ b/maven-test-tools/src/main/java/org/apache/maven/shared/tools/easymock/MockManager.java @@ -23,13 +23,13 @@ import java.util.Iterator; import java.util.List; -import org.easymock.MockControl; +import org.easymock.IMocksControl; /** * Manager of MockControl * * @version $Id: MockManager.java 677117 2008-07-16 00:29:56Z vsiveton $ - * @see MockControl + * @see IMocksControl */ public class MockManager { @@ -38,7 +38,7 @@ /** * @param control to be add to the manager */ - public void add( MockControl control ) + public void add( IMocksControl control ) { mockControls.add( control ); } @@ -58,7 +58,7 @@ { for ( Iterator it = mockControls.iterator(); it.hasNext(); ) { - MockControl control = (MockControl) it.next(); + IMocksControl control = (IMocksControl) it.next(); control.replay(); } @@ -71,7 +71,7 @@ { for ( Iterator it = mockControls.iterator(); it.hasNext(); ) { - MockControl control = (MockControl) it.next(); + IMocksControl control = (IMocksControl) it.next(); control.verify(); } debian/patches/0002-fix-dependency-on-maven-test-tools.patch0000644000000000000000000000126712263436024020760 0ustar From: Torsten Werner Date: Tue, 23 Aug 2011 22:58:07 +0200 Subject: [PATCH] fix dependency on maven-test-tools --- maven-plugin-testing-tools/pom.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- a/maven-plugin-testing-tools/pom.xml +++ b/maven-plugin-testing-tools/pom.xml @@ -73,9 +73,9 @@ 2.0.9 - org.apache.maven.shared + org.apache.maven.plugin-testing maven-test-tools - 1.0-alpha-2 + 1.3 test debian/maven.properties0000644000000000000000000000020312244222472012406 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true maven.test.failure.ignore=true debian/TODO0000644000000000000000000000002612244222472007655 0ustar - fix test failure(s) debian/orig-tar.sh0000755000000000000000000000076612244222471011262 0ustar #!/bin/sh -e VERSION=$2 TAR=../maven-plugin-testing_$VERSION.orig.tar.xz DIR=maven-plugin-testing-$VERSION TAG=$(echo "maven-plugin-testing-$VERSION" | sed -re's/~(alpha|beta)/-\1-/') svn export http://svn.apache.org/repos/asf/maven/plugin-testing/tags/${TAG}/ $DIR XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $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/0000755000000000000000000000000012263440603010466 5ustar debian/source/format0000644000000000000000000000001412244222471011674 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000047012244222471011346 0ustar Information about maven-plugin-testing -------------------------------------- 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/libmaven-plugin-testing-java-doc.doc-base.api0000644000000000000000000000056312244222472017570 0ustar Document: libmaven-plugin-testing-java Title: API Javadoc for Maven Plugin Testing Author: Maven Plugin Testing developers Abstract: This is the API Javadoc provided for the libmaven-plugin-testing-java library. Section: Programming Format: HTML Index: /usr/share/doc/libmaven-plugin-testing-java/api/index.html Files: /usr/share/doc/libmaven-plugin-testing-java/api/* debian/compat0000644000000000000000000000000212244222472010365 0ustar 9 debian/copyright0000644000000000000000000000134012244222472011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Maven Plugin Testing Upstream-Contact: Apache Maven team Source: http://maven.apache.org Files: * Copyright: 2001-2009, The Apache Software Foundation. License: Apache-2.0 Files: debian/* Copyright: 2009, Ludovic Claude 2011, Torsten Werner License: GPL-3+ 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'. License: GPL-3+ On Debian GNU/Linux system you can find the complete text of the GNU General Public License version 3 license in '/usr/share/common-licenses/GPL-3'. debian/control0000644000000000000000000000606012244222472010574 0ustar Source: maven-plugin-testing Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Ludovic Claude Build-Depends: cdbs, debhelper (>= 9), default-jdk, maven-debian-helper (>= 1.4) Build-Depends-Indep: default-jdk-doc, junit, libeasymock-java, libmaven-invoker-java, libmaven-javadoc-plugin-java, libmaven2-core-java, libmaven2-core-java-doc, libplexus-archiver-java, libplexus-container-default-java, libplexus-container-default-java-doc, libplexus-maven-plugin-java (>= 1.3.8-9~), libplexus-utils-java, libplexus-utils-java-doc Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/maven-plugin-testing Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/maven-plugin-testing Homepage: http://maven.apache.org/plugin-testing/ Package: libmaven-plugin-testing-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libmaven-plugin-testing-java-doc Description: Maven Plugin Testing 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 . This package ships the necessary modules to be able to test Maven Plugins. Package: libmaven-plugin-testing-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Suggests: libmaven-plugin-testing-java Description: Documentation for Maven Plugin Testing 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 . This package contains the API documentation of libmaven-plugin-testing-java.