You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/18 12:04:00 UTC

[jira] [Commented] (MSHADE-233) IncludeResourceTransformer should (be configurable to) error if file doesn't exist.

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

Elliotte Rusty Harold commented on MSHADE-233:
----------------------------------------------

Worth logging an error message unconditionally here. I don't see why this option should be configurable. 

> IncludeResourceTransformer should (be configurable to) error if file doesn't exist.
> -----------------------------------------------------------------------------------
>
>                 Key: MSHADE-233
>                 URL: https://issues.apache.org/jira/browse/MSHADE-233
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.3
>            Reporter: James Howe
>            Priority: Major
>
> Just spent a long time debugging why the shaded jar was missing a resource, and it turns out I just typoed the file.
> It would be much better if this wasn't a silent failure.
> At least a warning should be logged, if not a full error.



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