You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@codehaus.org> on 2014/10/09 10:41:10 UTC

[jira] (SUREFIRE-855) Allow failsafe to use actual jar file instead of target/classes

    [ https://jira.codehaus.org/browse/SUREFIRE-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354051#comment-354051 ] 

Tibor Digana commented on SUREFIRE-855:
---------------------------------------

@Robert
This would have to be a new parameter in plugin due to backwards compatibility in 2.x.
Or other option is to enable a changed behavior of surefire in 3.0 if and only if the build phase >= package.
What you think ?

> Allow failsafe to use actual jar file instead of target/classes
> ---------------------------------------------------------------
>
>                 Key: SUREFIRE-855
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-855
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Failsafe Plugin
>    Affects Versions: 2.12
>            Reporter: Benson Margulies
>            Priority: Critical
>
> I've got some code that calls Class.getPackage() to see the manifest. I want to test it. A seemingly logical scheme here would be to have failsafe put the actual packaged jar into the classpath instead of the unpacked directory -- or some way to get the manifest copied across.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)