[ http://jira.codehaus.org/browse/MNGECLIPSE-140?page=comments#action_67396 
] 

Marek Bieganski commented on MNGECLIPSE-140:
--------------------------------------------

Exception is thrown when ModelValidator creates not empty result. 
Just remove: ".toString()", or check for null before concatenetion 

> Inaccessible POM validation messages 
> -------------------------------------
>
>          Key: MNGECLIPSE-140
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-140
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Dependency Resolver
>     Versions: 0.0.9
>     Reporter: Marek Bieganski
>     Assignee: Eugene Kuleshov

>
>
> Question is why handleProjectBuildingException method completely ignores 
> information from validationResult?
> Shouldn't it contain:
> ...
> } else if( ex instanceof InvalidProjectModelException) {
> InvalidProjectModelException pex = ( InvalidProjectModelException ) ex;
> String msg = Messages.getString("plugin.markerBuildError") + pex.getMessage() 
> + ": " + pex.getValidationResult().toString();
> Maven2Plugin.getDefault().addMarker(this.file, msg, 1, 
> IMarker.SEVERITY_ERROR); //$NON-NLS-1$
> Maven2Plugin.getDefault().getConsole().logError( msg);
> } else {
> ...

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

Reply via email to