|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
- [mojo-dev] [jira] (MOJO-1316) Create 'ignoreResourceNo... Anderson Vaz (JIRA)
- [mojo-dev] [jira] (MOJO-1316) Create 'ignoreResou... Anderson Vaz (JIRA)
- [mojo-dev] [jira] (MOJO-1316) Create 'ignoreResou... Anderson Vaz (JIRA)

There is a bug in the implementation of the functionality <quiet/>. If you use a variable interpolation that resolves to null (or empty string) even with <quiet>true</quiet> the plugin raise a NPE, example:
If 'custom-properties' variable resolves to nothing, a NPE is raised. It occurs because the ReadPropertiesMojo.java doesn't the for null the file object in the line 76 as follows:
if ( file.exists() )Even in the line 106 of the same file, that try to warn about the missing file, a NPE could be raised because the file object is null and the method try to get the absolute path of that file object:
I will open an issue and attach a patch to address this bug's.