You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2020/06/13 09:41:00 UTC

[jira] [Commented] (MWAR-434) archiveClasses Jar file is not created in WEB-INF/lib

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

Herve Boutemy commented on MWAR-434:
------------------------------------

[~solomax] I found the cause of the missing file: you attached both exploded and war goals to package phase
exploded goal creates the jar file
then war goal detects that it is already existing, then marks it as outdated for deletion, and deletes at the end

I suppose that archive created by war goal should be removed from the outdated candidates: just a case that [~rfscholte] missed in MWAR-427 (the same way it seems I missed this archiveClasses jar file for Reproducible Builds... :) )

> archiveClasses Jar file is not created in WEB-INF/lib
> -----------------------------------------------------
>
>                 Key: MWAR-434
>                 URL: https://issues.apache.org/jira/browse/MWAR-434
>             Project: Maven WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Maxim Solodovnik
>            Priority: Blocker
>
> I just have switched from 3.2.3 to this new version and it seems https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#archiveClasses
> Is not working anymore :(
> Here is the sample project
> https://github.com/solomax/multimodule-with-war
> JAR file in multimodule-with-war-web/target/multimodule-with-war-web-1.0.0-SNAPSHOT/WEB-INF/lib/
> Is NOT created with 3.3.0 and created with lower versions



--
This message was sent by Atlassian Jira
(v8.3.4#803005)