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

Mark Hewett commented on MNGECLIPSE-57:
---------------------------------------

I believe these message are being output for any dependency where no source 
exists in the Maven repository.  In the following code, from 
Maven2Plugin.resolveClasspathEntries(), ex.getOriginalMessage() returns "Unable 
to download the artifact from any repository" if the source code is not found.

try {
    mavenEmbedder.resolve(src, mavenProject.getRemoteArtifactRepositories(), 
mavenEmbedder.getLocalRepository());
    return new Path(src.getFile().getAbsolutePath());
} catch( AbstractArtifactResolutionException ex ) {
    getConsole().logError( ex.getOriginalMessage() );
}

The mavenEmbedder.resolve() call is printing the "Unable to get resource from 
repository central" message.

> Unable to download the artifact from any repository
> ---------------------------------------------------
>
>          Key: MNGECLIPSE-57
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-57
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>     Versions: 0.0.4
>  Environment: Windows XPSP1, MyEclipse IDE 4.0, Eclipse 3.1.1
>     Reporter: Leonardo Quijano Vincenzi
>     Assignee: Eugene Kuleshov
>  Attachments: pom.xml
>
>
> It seems like I'm getting a lot of these (I just downloaded M2ECLIPSE 0.0.4, 
> but I don't know if the problems were there before)
> 1/24/06 5:00:08 PM CST: Local repository folder "" does not exist
> 1/24/06 5:00:11 PM CST: [WARN] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> 1/24/06 5:00:11 PM CST: Unable to download the artifact from any repository
> This is shown a lot of times (my guess is once for every folder in the 
> project) and it significantly slows down development.
> Attached is my pom.xml

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to