You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gabriel Landais (Jira)" <ji...@apache.org> on 2021/01/08 13:47:00 UTC
[jira] [Commented] (SUREFIRE-1874) useManifestOnlyJar not used by
default for failsafe
[ https://issues.apache.org/jira/browse/SUREFIRE-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17261312#comment-17261312 ]
Gabriel Landais commented on SUREFIRE-1874:
-------------------------------------------
Maybe it's uncommon as the tests are packaged with test-jar goal in maven-jar-plugin
> useManifestOnlyJar not used by default for failsafe
> ---------------------------------------------------
>
> Key: SUREFIRE-1874
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1874
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Failsafe Plugin, process forking
> Affects Versions: 3.0.0-M5
> Reporter: Gabriel Landais
> Priority: Major
>
> In IntegrationTestMojo(AbstractSurefireMojo).createForkConfiguration, JAR is ready and as useModulePath is set to true by default, "modular classpath" is used.
> useModulePath has to be set to false for getting the "manifest only jar" working.
> useManifestOnlyJar or useModulePath should be set to false for not confusing users.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)