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

Markus Dangl commented on MJAR-286:
-----------------------------------

Version 3.1.1 of the maven-jar-plugin builds the same project without errors.

> 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
>
> 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)

Reply via email to