You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/03/09 09:57:24 UTC

[jira] Updated: (MSUREFIRE-77) Service providers are not available during unit testing when defined by dependencies

     [ http://jira.codehaus.org/browse/MSUREFIRE-77?page=all ]

Brett Porter updated MSUREFIRE-77:
----------------------------------

    Fix Version: 2.2

> Service providers are not available during unit testing when defined by dependencies
> ------------------------------------------------------------------------------------
>
>          Key: MSUREFIRE-77
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-77
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Christian Schulte
>      Fix For: 2.2

>
>
> If a dependency defines some service provider by e.g. a file like  META-INF/services/java.nio.charset.spi.CharsetProvider these providers are not available during unit testing. For this example an UnsupportedEncodingException would be thrown when using a charset defined in the file during unit testing. For Reference see: <http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider> or <http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/spi/CharsetProvider.html>.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira