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 08:55:00 UTC

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

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)