maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marek Bieganski (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNGECLIPSE-140) Inaccessible POM validation messages
Date Mon, 19 Jun 2006 08:30:08 GMT
    [ http://jira.codehaus.org/browse/MNGECLIPSE-140?page=comments#action_67624 ] 

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

I believe, whenever pom is invalid
http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/validation/

> 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


Mime
View raw message