[
https://issues.apache.org/jira/browse/MJAR-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957349#comment-17957349
]
Matthias Bünger commented on MJAR-286:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-jar-plugin#434|https://github.com/apache/maven-jar-plugin/issues/434].
> NullPointerException when includes are empty
> --------------------------------------------
>
> Key: MJAR-286
> URL: https://issues.apache.org/jira/browse/MJAR-286
> Project: Maven JAR Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Affects Versions: 3.1.2, 3.2.2
> Environment: Maven 3.8.4, Windows 10
> Reporter: Markus Dangl
> Priority: Major
> Fix For: 3.3.0
>
> 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.10#820010)