Your message dated Mon, 26 Mar 2012 19:51:03 +0000
with message-id <e1scfwv-0005sv...@franck.debian.org>
and subject line Bug#665796: fixed in surefire 2.10-4
has caused the Debian Bug report #665796,
regarding surefire: Surefire plugin fails with NPE for projects which don't 
depend on JUnit
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
665796: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665796
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: surefire
Version: 2.10-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/patches/fix-junit-provider-selection.patch: Updated patch to deal
    maven projects which don't have any unit tests/don't depend on
    junit which caused a NPE (LP: #965061).

Thanks for considering the patch.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-20-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPcC7/AAoJEL/srsug59jD8WsP/RhFasDK+pjUeXOGiPvvfa98
W51uuNCbkXd3x7bILRLTRsszOjV5yn+lBWPuk1wsJGC9rMm9y2IT5+Mv1mcqDbix
2IVmPRw+aqxGmW/aGzFFB/ii2fpGt9z6QEhP4foDco8k1qbxc75zFS+IuMgnYj/5
XajgSk0G3Fjtju+IYy/sfsE2iLxFGJL4vwcjVF9baYgzTMZS/+jQbTmQijl/ICdO
9DBkJfkA8HYkLbJFEuI4U2+PzcDlMmGd796XPYWg5fUwWT5PNVpnucKC6rkqITpY
K1we7tinIwfkQ0Q9TusHVbe+KuLluY0LRfZ15HMxFVgFjLVYqPBC5KpVeNiUd6EZ
bA92XaizCSmA8GJV6fBx50mvs3OvT0DxqpYO2QrTrlZgYW03fUwdCwW3+EHAbT19
zjcEo135Fio/53D1TEPOHKIwxFya4b+kr1uP1z0yN1vWBAfIVR+A/WZ8DaoosypZ
GjO7hx1D6irS1JqC4lA799CipG4rKR/E6v1AMBl3aLu9v6aVPKrNuYpLu4D3vIkM
xxhbTODdrIMmBRVH6i2S05dCTwWfZbEu6rvtkrVNXV605Wd9fp7NQU19UXf3tnko
//qT2bxanBQzZSmmYqNVli2ia5vVRkL8C+JTJWnAJhComTCnt7hPw5rqcSGNJS8u
AgDoLOc1Vl6sLpGoiYIE
=u9af
-----END PGP SIGNATURE-----
diff -Nru surefire-2.10/debian/changelog surefire-2.10/debian/changelog
diff -Nru surefire-2.10/debian/patches/fix-junit-provider-selection.patch surefire-2.10/debian/patches/fix-junit-provider-selection.patch
--- surefire-2.10/debian/patches/fix-junit-provider-selection.patch	2012-03-19 15:17:26.000000000 +0000
+++ surefire-2.10/debian/patches/fix-junit-provider-selection.patch	2012-03-26 09:34:29.000000000 +0100
@@ -10,21 +10,21 @@
 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-19 15:12:27.376393271 +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,)" ) ||
-+                 "4.x".equals( artifact.getVersion() ) );
++                 ( artifact != null && "4.x".equals( artifact.getVersion() ) ) );
      }
  
      private boolean isAnyJunit4( Artifact artifact )
      {
 -        return dependencyResolver.isWithinVersionSpec( artifact, "[4.0,)" );
 +        return ( dependencyResolver.isWithinVersionSpec( artifact, "[4.0,)" ) ||
-+                 "4.x".equals( artifact.getVersion() ) );
++                 ( artifact != null && "4.x".equals( artifact.getVersion() ) ) );
      }
  
      boolean isForkModeNever()

--- End Message ---
--- Begin Message ---
Source: surefire
Source-Version: 2.10-4

We believe that the bug you reported is fixed in the latest version of
surefire, which is due to be installed in the Debian FTP archive:

libsurefire-java_2.10-4_all.deb
  to main/s/surefire/libsurefire-java_2.10-4_all.deb
surefire_2.10-4.debian.tar.gz
  to main/s/surefire/surefire_2.10-4.debian.tar.gz
surefire_2.10-4.dsc
  to main/s/surefire/surefire_2.10-4.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 665...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmanc...@debian.org> (supplier of updated surefire package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 26 Mar 2012 11:27:25 -0700
Source: surefire
Binary: libsurefire-java
Architecture: source all
Version: 2.10-4
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmanc...@debian.org>
Description: 
 libsurefire-java - Surefire test framework for Java
Closes: 665796
Changes: 
 surefire (2.10-4) unstable; urgency=low
 .
   * Team upload.
   * Apply updated JUnit 4 detection patch.  (Closes: #665796)
     - Thanks to James Page.
Checksums-Sha1: 
 53ce8f02d8934cf064581f0f29da8e0a9f1ec2f3 2338 surefire_2.10-4.dsc
 4e949e45cf4b159a0178c997202ef93b7e5f1d2a 6316 surefire_2.10-4.debian.tar.gz
 75121c398d6401ecfd7880429c2b1f5d39c253b8 293648 libsurefire-java_2.10-4_all.deb
Checksums-Sha256: 
 028839693b7353535cfa41374c34e65bab9be59203181a1408c3fb2c4b5de129 2338 
surefire_2.10-4.dsc
 12cbd0185ae186249485d2980eff05433ab6967ab55d914dcfe94f02798d0b5c 6316 
surefire_2.10-4.debian.tar.gz
 ac23d4843ec5273d042fdccf2157b29f1eca6935eaf9bd514173f51bfe06e038 293648 
libsurefire-java_2.10-4_all.deb
Files: 
 8431ca6a8930296f3d9c44a7c2c0c66a 2338 java optional surefire_2.10-4.dsc
 9afdc2d2650534d701712039cfedc057 6316 java optional 
surefire_2.10-4.debian.tar.gz
 069a9cc29dcdd4f2741d6f01ac6432db 293648 java optional 
libsurefire-java_2.10-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBAgAGBQJPcMT3AAoJECHSBYmXSz6WWC4P/2beAQuDRV4EZhgu6vRpwn8U
5V5rWs2mjUFCCZLJsqyhuHaf4TtJegK+NsEfrPIOfO7mf5MiVIaZEdP65pOQ7b4U
HNPWTd1KxTbCgFPBxOihhOwCSHHKPB7RLkKdgzrXENWS11yFk/HwjS1n0PBgiAW/
E65yS9GsDfjF6gO2K/nhuURQMMPC6QdvQunslawY3jRXnv989rCk0lWmLgZYwT+F
DnOfdl8JKvFrWy4tuPJ3JMw6iUsydYPwgk/JWkx4DhfSucZzn6UxC4zpNJoQ/5x4
ipmP91H5pawmIq2PZhr4sG7L7X2VPZYZwJmfG/zAei/7xT++NxxzMpxBF5OQALmd
2i745XdlCVKWUX+/URIvHVrfRbt1djNidh27d2ud+8zkLMiyQKD55LoiUZoNxBv2
3hzlMitdjNNFCOTL3vCDooLCEslcJUW4cMs6uKuuDSJW2X8R8iQq/IQHaRRJZDk3
31l4aECEbMOSgU7JBjDquvgwUmhuiofFRb+VwxxJlEdCjPUbvDgsXJM6udbOiidL
NUf79Y8OP9WUcuRjgms0FN7tNxlnftIlBSorqnxTKLvIV8tt253x+UeBXtAeidvx
N82DtrH2hFzTsM7zvK/ONYGeltIk2qHxF+UT5RTWfZWJ2xfdpvIiSGJN5rKgozDO
Hm16xSNAFiersiss3st8
=7qb9
-----END PGP SIGNATURE-----



--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to