Aa a user I would like to see better error reporting from DefaultPluginRealmCache#pluginHashCode method -------------------------------------------------------------------------------------------------------
Key: MNG-4648 URL: http://jira.codehaus.org/browse/MNG-4648 Project: Maven 2 & 3 Issue Type: Improvement Components: Settings Reporter: Ivica Loncar Priority: Minor As a user i would like to see better error reporting from DefaultPluginRealmCache#pluginHashCode method Currently it calculates hash value based on a dependency metadata, but if I omit version it fails with NullPointer exception. It would be more user friendly to validate metadata prior to calculating hash value and to display more meaningful error to the end user. Test scenario: - configure plugin and create dependencies - add dependency but DO NOT specify version - run maven such that plugin is invoked maven will fail without reporting which dependency doesn't have version -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira