You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2012/07/05 09:12:21 UTC

[jira] (MNG-5306) for IDE embedding have ways of collecting model problems without failing the process

     [ https://jira.codehaus.org/browse/MNG-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint reassigned MNG-5306:
---------------------------------

    Assignee: Milos Kleint
    
> for IDE embedding have ways of collecting model problems without failing the process
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-5306
>                 URL: https://jira.codehaus.org/browse/MNG-5306
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Embedding, IDEs, POM
>    Affects Versions: 3.0.4
>            Reporter: Milos Kleint
>            Assignee: Milos Kleint
>            Priority: Critical
>
> Currently the IDE integrations need to perform 2 steps:
> 1. load the POM with no validation in place. Having a MavenProject instance in the most cases possible is important.
> 2. to display the warnings in pom editor and elsewhere one has to run at least the projectbuilder/modelbuilder with proper validation level and collect the results from either the result object or the exception thrown.
> The proposed patch in https://github.com/mkleint/maven-3/commits/trunk makes it possible to have both a MAvenproject instance under minimal validation constraints and collect the validation problems for any higher validation levels.
> Additional benefit of the patch is that it logs "since what version of Maven is the problem valid". Which can be further used in both cmd line and IDE error reporting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira