You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2006/01/01 14:21:13 UTC

[jira] Commented: (MNG-1118) mavenEmbedder.readProjectWithDependencies improvements

    [ http://jira.codehaus.org/browse/MNG-1118?page=comments#action_54639 ] 

Milos Kleint commented on MNG-1118:
-----------------------------------

it would also be nice to know the artifacts that were not resolved correctly. Current behaviour is not really friendly for IDE integration. After failing to download the dependency, the returned Mavenproject object doesn't have any dependency artifacts set.

I think having a way to plug into the artifact resolution process either by listening or by replacing the default components is the way to go. A closely related issue is that the reaProjectWithDependencies should be configurable to be lightning fast (absolutely no network traffic). See : MNG-1457


> mavenEmbedder.readProjectWithDependencies improvements
> ------------------------------------------------------
>
>          Key: MNG-1118
>          URL: http://jira.codehaus.org/browse/MNG-1118
>      Project: Maven 2
>         Type: Improvement

>   Components: POM, maven-embedder
>     Reporter: Eugene Kuleshov

>
>
> Currently mavenEmbedder.readProjectWithDependencies return instance of MavenProject. So, collection of artifacts in this instance (including transient dependencies) does not have information where those artifacts had been declared. It would be useful for an IDE to be able to get this information somehow (e.g. getArtifactMap(), which could return map of artifacts to list of pom files).

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org