You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Dangl (Jira)" <ji...@apache.org> on 2022/03/04 09:01:00 UTC

[jira] [Updated] (MJAR-286) NullPointerException when includes are empty

     [ https://issues.apache.org/jira/browse/MJAR-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Dangl updated MJAR-286:
------------------------------
    Attachment: mvn-clean-package.log

> NullPointerException when includes are empty
> --------------------------------------------
>
>                 Key: MJAR-286
>                 URL: https://issues.apache.org/jira/browse/MJAR-286
>             Project: Maven JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.2, 3.2.2
>         Environment: Maven 3.8.4, Windows 10
>            Reporter: Markus Dangl
>            Priority: Major
>         Attachments: mvn-clean-package.log
>
>
> When includes are empty, but a `src/main/resources` directory exists, maven fails with a NullPointerException. If this is a misconfigured pom, it should at least give a proper error message.
>  
> I produced a minimized case here: [https://github.com/xicesky/bug-in-maven-jar-plugin]
>  



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