debian/ 0000755 0000000 0000000 00000000000 12230133566 007167 5 ustar debian/build.xml 0000644 0000000 0000000 00000012540 11733140663 011015 0 ustar
debian/maven.rules 0000644 0000000 0000000 00000000572 11636506161 011361 0 ustar # keep the version for all Maven plugins as versionless plugins don't work
* * maven-plugin *
junit junit jar s/3\..*/3.x/
junit junit jar s/4\..*/4.x/
jmock jmock jar s/1\..*/1.x/
# fix the version of maven-shade-plugin
org.apache.maven.plugins maven-shade-plugin maven-plugin s/.*/1.2.1
s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness
debian/watch 0000644 0000000 0000000 00000000156 11636506161 010226 0 ustar version=3
http://svn.apache.org/repos/asf/maven/surefire/tags/ \
surefire-(\d.*)/ debian debian/orig-tar.sh
debian/rules 0000755 0000000 0000000 00000005061 11645102372 010251 0 ustar #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
PACKAGE := $(DEB_SOURCE_PACKAGE)
VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := ant-nodeps maven-core maven-model maven-plugin-api maven-project file-management plexus-utils plexus-container-default-alpha
DEB_ANT_BUILD_TARGET := package #javadoc
DEB_ANT_BUILDFILE := debian/build.xml
DEB_ANT_ARGS := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
API_DOCS := target/api
get-orig-source:
-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
binary-post-install/lib$(PACKAGE)-java::
mh_installpoms -plib$(PACKAGE)-java
mh_installjar -plib$(PACKAGE)-java -l surefire-api/pom.xml surefire-api/target/surefire-api-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-booter/pom.xml surefire-booter/target/surefire-booter-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-providers/common-junit3/pom.xml surefire-providers/common-junit3/target/common-junit3-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-providers/common-junit4/pom.xml surefire-providers/common-junit4/target/common-junit4-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-providers/surefire-junit3/pom.xml surefire-providers/surefire-junit3/target/surefire-junit3-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-providers/surefire-junit4/pom.xml surefire-providers/surefire-junit4/target/surefire-junit4-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-providers/surefire-junit47/pom.xml surefire-providers/surefire-junit47/target/surefire-junit47-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-providers/surefire-testng/pom.xml surefire-providers/surefire-testng/target/surefire-testng-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l surefire-providers/surefire-testng-utils/pom.xml surefire-providers/surefire-testng-utils/target/surefire-testng-utils-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l maven-surefire-common/pom.xml maven-surefire-common/target/maven-surefire-common-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l maven-surefire-plugin/pom.xml maven-surefire-plugin/target/maven-surefire-plugin-$(VERSION).jar
mh_installjar -plib$(PACKAGE)-java -l maven-surefire-report-plugin/pom.xml maven-surefire-report-plugin/target/maven-surefire-report-plugin-$(VERSION).jar
clean::
-rm -rf debian/tmp surefire-providers/target
mh_clean
-find . -type f -name pom.xml.save -delete
debian/changelog 0000644 0000000 0000000 00000006630 12230133550 011037 0 ustar surefire (2.10-5) unstable; urgency=low
* Team upload.
* Don't check the version of TestNG to make the 'debian' version usable.
* debian/control:
- Use canonical URLs for the Vcs-* fields
- Updated Standards-Version to 3.9.4 (no changes)
-- Emmanuel Bourg Thu, 17 Oct 2013 22:54:43 +0200
surefire (2.10-4) unstable; urgency=low
* Team upload.
* Apply updated JUnit 4 detection patch. (Closes: #665796)
- Thanks to James Page.
-- tony mancill Mon, 26 Mar 2012 11:27:25 -0700
surefire (2.10-3) unstable; urgency=low
* Team upload.
* Fix JUnit 4 detection during unit tests in build time.
Thanks to James Page for the patch. (Closes: #664641).
* Bump Standards-Version to 3.9.3. No changes were required.
-- Miguel Landaeta Thu, 22 Mar 2012 19:49:18 -0430
surefire (2.10-2) unstable; urgency=low
[ Miguel Landaeta ]
* Team upload.
* Drop self Build-Depends on libsurefire-java. (Closes: #655011).
Thanks to Daniel Schepler for the patch.
[ Damien Raude-Morvan ]
* Use Recommends: junit | junit4 | testng | libjmock-java instead of Depends
as only one test framework is needed at a time. (Closes: #563710).
-- Damien Raude-Morvan Sun, 08 Jan 2012 12:48:06 +0100
surefire (2.10-1) unstable; urgency=low
* Team upload.
* New upstream release.
* Refresh and remove unneccesary patches.
* Add Build-Depends on libsurefire-java and
libmaven-common-artifact-filters-java.
* Drop outdated Maven artifact surefire-junit.
* Provide new Maven artifacts: surefire-junit3, maven-surefire-common,
common-junit3, common-junit4, surefire-junit47 and surefire-testng-utils.
* Fix clean target to allow "two in a row" builds.
* Update Vcs-Browser field.
-- Miguel Landaeta Mon, 10 Oct 2011 20:42:16 -0430
surefire (2.4.3-5) unstable; urgency=low
* Team upload.
* Switch to default-jdk. (Closes: #641380).
* Add mh_clean call in clean target to allow twice in row builds.
* Bump Standards-Version to 3.9.2. No changes were required.
-- Miguel Landaeta Tue, 13 Sep 2011 07:27:04 -0430
surefire (2.4.3-4) unstable; urgency=low
* Switch to source format 3.0.
* Update debian/build.xml for newer maven-ant-helper. (Closes: #637824)
* Switch to debhelper level 7.
* Update Standards-Version: 3.9.1.
-- Torsten Werner Sun, 21 Aug 2011 21:54:11 +0200
surefire (2.4.3-3) unstable; urgency=low
* Fix groupId for maven-plugin-testing-harness dependency
in the Maven POM.
-- Ludovic Claude Sun, 26 Jul 2009 16:11:15 +0100
surefire (2.4.3-2) experimental; urgency=low
* Change section to java, bump up Standards-Version to 3.8.1
* Bump up debhelper to 6
* Migrate the build from cdbs-maven to cdbs-ant as Maven uses
this plugin for its build.
* 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
* Remove Depends on Java runtimes as it is a library
-- Ludovic Claude Tue, 26 May 2009 21:03:39 +0100
surefire (2.4.3-1) unstable; urgency=low
* Initial release. (Closes: #508829)
-- Torsten Werner Mon, 05 Jan 2009 23:46:52 +0100
debian/maven-settings.xml 0000644 0000000 0000000 00000000351 11636506161 012660 0 ustar
/usr/share/maven-repo
true
debian/patches/ 0000755 0000000 0000000 00000000000 12230133566 010616 5 ustar debian/patches/fix-junit-provider-selection.patch 0000644 0000000 0000000 00000003002 11734132340 017357 0 ustar Description: Surefire can't correctly detect the 4.x version of
JUnit that is present in the Debian Maven Repository.
.
This patch corrects that - its safe to assume that its greater
than 4.7 as sid contains 4.8.2. The JUnit4Provider should
never get selected due to the way these two checks are combined.
Author: James Page
Forwarded: not-needed
Index: surefire/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
===================================================================
--- surefire.orig/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java 2012-03-19 15:06:03.310108598 +0000
+++ surefire/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java 2012-03-26 09:34:20.549223250 +0100
@@ -311,12 +311,14 @@
private boolean isJunit47Compatible( Artifact artifact )
{
- return dependencyResolver.isWithinVersionSpec( artifact, "[4.7,)" );
+ return ( dependencyResolver.isWithinVersionSpec( artifact, "[4.7,)" ) ||
+ ( artifact != null && "4.x".equals( artifact.getVersion() ) ) );
}
private boolean isAnyJunit4( Artifact artifact )
{
- return dependencyResolver.isWithinVersionSpec( artifact, "[4.0,)" );
+ return ( dependencyResolver.isWithinVersionSpec( artifact, "[4.0,)" ) ||
+ ( artifact != null && "4.x".equals( artifact.getVersion() ) ) );
}
boolean isForkModeNever()
debian/patches/series 0000644 0000000 0000000 00000000117 12230133550 012023 0 ustar pom.patch
fix-junit-provider-selection.patch
bypass-testng-version-check.patch
debian/patches/bypass-testng-version-check.patch 0000644 0000000 0000000 00000003316 12230133550 017174 0 ustar Description: Bypass the verification of the version of TestNG since it doesn't
work with the modified version installed in Debian. TestNG in Debian has
always been above the minimum version required by Surefire anyway.
Author: Emmanuel Bourg
Forwarded: not-needed
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
@@ -531,16 +531,6 @@
// TODO: this is pretty manual, but I'd rather not require the plugin > dependencies section right now
Artifact artifact = (Artifact) getProjectArtifactMap().get( getTestNGArtifactName() );
- if ( artifact != null )
- {
- VersionRange range = VersionRange.createFromVersionSpec( "[4.7,)" );
- if ( !range.containsVersion( new DefaultArtifactVersion( artifact.getVersion() ) ) )
- {
- throw new MojoFailureException(
- "TestNG support requires version 4.7 or above. You have declared version " +
- artifact.getVersion() );
- }
- }
return artifact;
}
--- a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
+++ b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
@@ -143,7 +143,7 @@
return new TestNGMapConfigurator();
}
- throw new TestSetFailedException( "Unknown TestNG version " + version );
+ return new TestNGMapConfigurator();
}
catch ( InvalidVersionSpecificationException invsex )
{
debian/patches/pom.patch 0000644 0000000 0000000 00000003006 11645102372 012431 0 ustar Description: Disable Maven artifacts not available in Debian
Author: Miguel Landaeta
Forwarded: no
Last-Update: 2011-10-10
--- surefire-2.10.orig/pom.xml
+++ surefire-2.10/pom.xml
@@ -20,12 +20,6 @@
4.0.0
-
- maven-parent
- org.apache.maven
- 20
- ../pom/maven/pom.xml
-
org.apache.maven.surefire
surefire
@@ -226,7 +220,7 @@
-
+
+
debian/orig-tar.sh 0000755 0000000 0000000 00000000521 11636506161 011254 0 ustar #!/bin/sh
set -e
TAR=../surefire_$2.orig.tar.gz
DIR=surefire-$2
TAG=surefire-$2
svn export http://svn.apache.org/repos/asf/maven/surefire/tags/$TAG $DIR
tar -c -z -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/ 0000755 0000000 0000000 00000000000 12230133566 010467 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11636506160 011700 0 ustar 3.0 (quilt)
debian/compat 0000644 0000000 0000000 00000000002 11636506161 010371 0 ustar 7
debian/libsurefire-java.poms 0000644 0000000 0000000 00000000756 11645102372 013331 0 ustar pom.xml --no-parent
surefire-api/pom.xml
surefire-booter/pom.xml
surefire-providers/pom.xml
surefire-providers/common-junit3/pom.xml
surefire-providers/common-junit4/pom.xml
surefire-providers/surefire-junit3/pom.xml
surefire-providers/surefire-junit4/pom.xml
surefire-providers/surefire-junit47/pom.xml
surefire-providers/surefire-testng/pom.xml
surefire-providers/surefire-testng-utils/pom.xml
maven-surefire-common/pom.xml
maven-surefire-plugin/pom.xml
maven-surefire-report-plugin/pom.xml
debian/copyright 0000644 0000000 0000000 00000003116 11733140663 011126 0 ustar This package was debianized by Torsten Werner .
The Debian packaging is Copyright (c) 2008 Torsten Werner and is
licensed under the GNU General Public License version 3. On Debian
systems, the complete text of the GNU General Public License can be
found in '/usr/share/common-licenses/GPL-3'.
The package was downloaded from .
Copyright: 2005-2008 The Apache Software Foundation.
License:
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
The full text of the license can be found in
`/usr/share/common-licenes/Apache-2.0'.
----------
Files: surefire-api/src/main/java/org/apache/maven/surefire/util/Nested*.java
Copyright:
2005-2007 Spring Framework Project
2005-2008 The Apache Software Foundation.
License: Apache 2.0 (see above)
Those files have been originally developed by
.
debian/build.properties 0000644 0000000 0000000 00000002543 11645102372 012410 0 ustar javadoc.dir=target/api
build.directory=target
maven.test.skip=true
classpath.compile = \
/usr/share/java/commons-lang.jar:\
/usr/share/java/plexus-utils.jar:\
/usr/share/java/junit.jar:\
/usr/share/java/junit4.jar:\
/usr/share/java/testng.jar:\
/usr/share/java/doxia-core.jar:\
/usr/share/java/doxia-logging-api.jar:\
/usr/share/java/doxia-sink-api.jar:\
/usr/share/java/doxia-site-renderer.jar:\
/usr/share/java/maven-artifact.jar:\
/usr/share/java/maven-artifact-manager.jar:\
/usr/share/java/maven-core.jar:\
/usr/share/java/maven-project.jar:\
/usr/share/java/maven-reporting-api.jar:\
/usr/share/java/maven-reporting-impl.jar:\
/usr/share/java/maven-toolchain.jar:\
/usr/share/java/maven-common-artifact-filters.jar:\
${basedir}/surefire-api/target/surefire-api-${version}.jar:\
${basedir}/surefire-booter/target/surefire-booter-${version}.jar:\
${basedir}/maven-surefire-common/target/maven-surefire-common-${version}.jar:\
${basedir}/surefire-providers/common-junit3/target/common-junit3-${version}.jar:\
${basedir}/surefire-providers/common-junit4/target/common-junit4-${version}.jar
build.javaVersion=1.5
debian/control 0000644 0000000 0000000 00000004167 12230133550 010573 0 ustar Source: surefire
Section: java
Priority: optional
Maintainer: Debian Java Maintainers
Uploaders: Torsten Werner
Build-Depends: cdbs, debhelper (>= 7), default-jdk
Build-Depends-Indep: ant,
ant-optional,
junit,
junit4,
libjmock-java,
libmaven-clean-plugin-java,
libmaven-common-artifact-filters-java,
libmaven-compiler-plugin-java,
libmaven-install-plugin-java,
libmaven-jar-plugin-java,
libmaven-plugin-tools-java,
libmaven-resources-plugin-java,
libmaven-shade-plugin-java,
libplexus-velocity-java,
maven-ant-helper (>= 7.3),
maven-repo-helper,
testng,
velocity
Standards-Version: 3.9.4
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/surefire
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/surefire
Homepage: http://maven.apache.org/surefire/
Package: libsurefire-java
Architecture: all
Depends: libmaven-common-artifact-filters-java, ${misc:Depends}
Recommends: junit | junit4 | testng | libjmock-java
Description: Surefire test framework for Java
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 surefire test framework and the maven-surefire-plugin.