We're updating the issue view to help you get more done. 

Nullpointer in AbstractCargoMojo.java:315 when configuration/configuration tag doesn't exist in pom file

Description

cargo maven 2 plugin missing <configuration><configuration></configuration></configuration> tags leads to Nullpointer Exception in AbstractCargoMojo.java:315
Either it is required, then there should be a meaningfull output, or the plugin should deal with the missing configuration.

String containerKey = CONTEXT_KEY_CONTAINER + "." + getConfigurationElement().getHome();

getConfigurationElement() might return null causing nullpointer.

Status

Assignee

Matt Wringe

Reporter

Michael Hinterseher

Components

Fix versions

Priority

Minor