Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (5)
Fixed the compatibility with maven-shared-utils 3.2.1 (Closes: #906411)
· 024ca2c5
Emmanuel Bourg
authored
Sep 05, 2018
024ca2c5
Standards-Version updated to 4.2.1
· 9998082c
Emmanuel Bourg
authored
Sep 05, 2018
9998082c
Wrap and sort
· 2975f618
Emmanuel Bourg
authored
Sep 05, 2018
2975f618
Switch to debhelper level 11
· cc843ec5
Emmanuel Bourg
authored
Sep 05, 2018
cc843ec5
Upload to unstable
· 773386c4
Emmanuel Bourg
authored
Sep 05, 2018
773386c4
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
773386c4
surefire (2.21.0-2) unstable; urgency=medium
* Team upload.
* Fixed the compatibility with maven-shared-utils 3.2.1 (Closes: #906411)
* Standards-Version updated to 4.2.1
* Switch to debhelper level 11
-- Emmanuel Bourg <ebourg@apache.org> Wed, 05 Sep 2018 11:29:22 +0200
surefire (2.21.0-1) unstable; urgency=medium
* Team upload.
...
...
debian/compat
View file @
773386c4
1
0
1
1
debian/control
View file @
773386c4
...
...
@@ -3,8 +3,10 @@ Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Torsten Werner <twerner@debian.org>
Build-Depends: debhelper (>= 10), default-jdk
Build-Depends-Indep: javacc,
Build-Depends:
debhelper (>= 11~),
default-jdk,
javacc,
junit,
junit4,
libbuild-helper-maven-plugin-java,
...
...
@@ -29,14 +31,14 @@ Build-Depends-Indep: javacc,
maven-debian-helper (>= 2.0),
testng,
velocity
Standards-Version: 4.
1.4
Standards-Version: 4.
2.1
Vcs-Git: https://salsa.debian.org/java-team/surefire.git
Vcs-Browser: https://salsa.debian.org/java-team/surefire
Homepage: http://maven.apache.org/surefire/
Package: libsurefire-java
Architecture: all
Depends:
${misc:Depends}
, ${maven:Depends},
procps
Depends:
procps
, ${maven:Depends},
${misc:Depends}
Suggests: ${maven:OptionalDepends}
Description: Surefire test framework for Java
Maven is a software project management and comprehension tool. Based on the
...
...
debian/patches/maven-shared-utils-compatibility.patch
0 → 100644
View file @
773386c4
Description: Fixes the compatibility with the version of maven-shared-utils in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
@@ -237,6 +237,10 @@
}
ppw.endElement(); // TestSuite
}
+ catch ( IOException e )
+ {
+ throw new RuntimeException( e );
+ }
finally
{
closeQuietly( fw );
@@ -323,7 +327,7 @@
}
private static void startTestElement( XMLWriter ppw, WrappedReportEntry report, String reportNameSuffix,
- String timeAsString )
+ String timeAsString ) throws IOException
{
ppw.startElement( "testcase" );
ppw.addAttribute( "name", report.getReportName() );
@@ -346,7 +350,7 @@
}
private void createTestSuiteElement( XMLWriter ppw, WrappedReportEntry report, TestSetStats testSetStats,
- String timeAsString )
+ String timeAsString ) throws IOException
{
ppw.startElement( "testsuite" );
@@ -373,7 +377,7 @@
private static void getTestProblems( OutputStreamWriter outputStreamWriter, XMLWriter ppw,
WrappedReportEntry report, boolean trimStackTrace, OutputStream fw,
- String testErrorType, boolean createOutErrElementsInside )
+ String testErrorType, boolean createOutErrElementsInside ) throws IOException
{
ppw.startElement( testErrorType );
@@ -418,7 +422,7 @@
// Create system-out and system-err elements
private static void createOutErrElements( OutputStreamWriter outputStreamWriter, XMLWriter ppw,
- WrappedReportEntry report, OutputStream fw )
+ WrappedReportEntry report, OutputStream fw ) throws IOException
{
EncodingOutputStream eos = new EncodingOutputStream( fw );
addOutputStreamElement( outputStreamWriter, eos, ppw, report.getStdout(), "system-out" );
@@ -428,7 +432,7 @@
private static void addOutputStreamElement( OutputStreamWriter outputStreamWriter,
EncodingOutputStream eos, XMLWriter xmlWriter,
Utf8RecodingDeferredFileOutputStream utf8RecodingDeferredFileOutputStream,
- String name )
+ String name ) throws IOException
{
if ( utf8RecodingDeferredFileOutputStream != null && utf8RecodingDeferredFileOutputStream.getByteCount() > 0 )
{
@@ -458,7 +462,7 @@
*
* @param xmlWriter The test suite to report to
*/
- private static void showProperties( XMLWriter xmlWriter, Map<String, String> systemProperties )
+ private static void showProperties( XMLWriter xmlWriter, Map<String, String> systemProperties ) throws IOException
{
xmlWriter.startElement( "properties" );
for ( final Entry<String, String> entry : systemProperties.entrySet() )
debian/patches/series
View file @
773386c4
...
...
@@ -7,3 +7,4 @@ maven-compatibility.patch
maven-shared-utils-dependency.patch
jsr305-dependency.patch
jdk-8186647-workaround.patch
maven-shared-utils-compatibility.patch