You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@apache.org> on 2016/06/30 09:00:21 UTC

[jira] [Comment Edited] (SUREFIRE-1198) Failsafe does not allow to use target/classes anymore

    [ https://issues.apache.org/jira/browse/SUREFIRE-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15356767#comment-15356767 ] 

Stephane Nicoll edited comment on SUREFIRE-1198 at 6/30/16 9:00 AM:
--------------------------------------------------------------------

I can see that this issue got closed but I don't see a way to configure the jar file to use. 

In a Spring Boot project, we repackage the main jar with the fat jar and we rename the original jar. In 1.4, we've improved the jar layout and, long story short, failsafe doesn't work at all for us.

We have a couple of workaround but having the ability to configure the jar file of the project that is going to be used is fairly important for us. Users of the shade plugin should find this useful as well.

See [this issue|https://github.com/spring-projects/spring-boot/issues/6254]


was (Author: snicoll):
I can see that this issue got closed but I don't see a way to configure the jar file to use. 

In a Spring Boot project, we repackage the main jar with the fat jar and we rename the original jar. In 1.4, we've improved the jar layout and, long story short, failsafe doesn't work at all for us.

We have a couple of workaround but having the ability to configure the jar file of the project that is going to be used is fairly important for us. Users of the shade plugin should find this useful as well.

> Failsafe does not allow to use target/classes anymore
> -----------------------------------------------------
>
>                 Key: SUREFIRE-1198
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1198
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Stephane Nicoll
>
> See [this Spring Boot issue|https://github.com/spring-projects/spring-boot/issues/4510#issuecomment-159448634]
> It seems that SUREFIRE-855 does not allow {{target/classes}} to be used anymore. Is there a reason why this behaviour was completely removed in favour of only the jar file?
> It would be nice if we had an option to chose between the two (defaulting to the jar)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)