You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2007/02/28 18:21:45 UTC

[jira] Closed: (MNG-1106) Stdout in MavenEmbedder.readProjectWithDependencies() method

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

Jason van Zyl closed MNG-1106.
------------------------------

    Resolution: Fixed

By creating an embedder logger you should be able to capture everything.

> Stdout in MavenEmbedder.readProjectWithDependencies() method
> ------------------------------------------------------------
>
>                 Key: MNG-1106
>                 URL: http://jira.codehaus.org/browse/MNG-1106
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Embedding
>    Affects Versions: 2.0
>            Reporter: Eugene Kuleshov
>         Assigned To: Jason van Zyl
>             Fix For: 2.0.x
>
>
> MavenEmbedder.readProjectWithDependencies() method is is dumping the following to stdout.
> [WARNING] Unable to get resource from repository snapshots (http://snapshots.maven.codehaus.org/maven2)
> This is happening when ArtifactResolutionException is thrown:
> org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository
>   org.apache.maven:maven-artifact-manager:2.0-beta-4-SNAPSHOT:jar
> from the specified remote repositories:
>   snapshots (http://snapshots.maven.codehaus.org/maven2),
>   central (http://repo1.maven.org/maven2)
> Path to dependency: 
> 	1) org.apache.maven:maven-plugin-tools-java:jar:2.0-beta-4-SNAPSHOT
> 	2) org.apache.maven:maven-plugin-tools-api:jar:2.0-beta-4-SNAPSHOT
> 	3) org.apache.maven:maven-project:jar:2.0-beta-4-SNAPSHOT
> 	4) org.apache.maven:maven-artifact-manager:jar:2.0-beta-4-SNAPSHOT

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