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

Tibor Digana commented on SUREFIRE-1861:
----------------------------------------

>> I would suggest to at least allow test based on the jar created.
No, this is not possible with Surefire. The plugin is bound to the phase 
{{test}}.
On the other side the Failsafe is bound to the phases which appear after the 
phase {{package}} and so the JAR file is ready to use.

> failsafe shall use jar
> ----------------------
>
>                 Key: SUREFIRE-1861
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1861
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Failsafe Plugin
>    Affects Versions: 3.0.0-M5
>         Environment: all 
>            Reporter: Ernst Reissner
>            Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> To run tests based on information stored in jar only but not in 
> testClassesDirectory,
> the plugin shall load classes from the jar instead.
> That way, one could check also presence of vendor information,
> or versions, or git state or whatsoever meta information
> to be supplied to the user and stored in the jar.
>  
> The jar is always available though since we are in a late lifecycle phase.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to