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

2022-03-04 Thread Markus Dangl (Jira)


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


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

2022-03-04 Thread Markus Dangl (Jira)


[ 
https://issues.apache.org/jira/browse/MJAR-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


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

2022-03-04 Thread Markus Dangl (Jira)
Markus Dangl created MJAR-286:
-

 Summary: 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.2.2, 3.1.2
 Environment: Maven 3.8.4, Windows 10
Reporter: Markus Dangl


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)