You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Leonardo Quijano Vincenzi (JIRA)" <ji...@codehaus.org> on 2006/01/25 00:09:06 UTC

[jira] Created: (MNGECLIPSE-57) M2 plugin looks for "" repository folder

M2 plugin looks for "" repository folder
----------------------------------------

         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
 Assigned to: 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-57) Unable to download the artifact from any repository

Posted by "Mark Hewett (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-57) Unable to download the artifact from any repository

Posted by "Marcell Manfrin Barbacena (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=comments#action_56883 ] 

Marcell Manfrin Barbacena commented on MNGECLIPSE-57:
-----------------------------------------------------

I am also getting these strange msgs.I am usgin Eclipse 3.1 and newest mvn (2.0.1)

The debug output is full of this msg:
25/01/06 8h19min53s BRST: [DEBUG] Found 0 components to load on start
25/01/06 8h19min53s BRST: [DEBUG] Building Maven user-level plugin registry from: '/home/kurumin/.m2/plugin-registry.xml'
25/01/06 8h19min53s BRST: [DEBUG] Trying repository lsd
25/01/06 8h19min54s BRST: [WARN] Unable to get resource from repository lsd (http://www.lsd.ufcg.edu.br/~marcell/maven/stable)
25/01/06 8h19min54s BRST: [DEBUG] Trying repository m2default
25/01/06 8h19min55s BRST: [WARN] Unable to get resource from repository m2default (http://www.ibiblio.org/maven2)
25/01/06 8h19min55s BRST: [DEBUG] Trying repository central
25/01/06 8h19min56s BRST: [WARN] Unable to get resource from repository central (http://repo1.maven.org/maven2)
25/01/06 8h19min56s BRST: Unable to download the artifact from any repository

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-57) Unable to download the artifact from any repository

Posted by "Leonardo Quijano Vincenzi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=comments#action_56871 ] 

Leonardo Quijano Vincenzi commented on MNGECLIPSE-57:
-----------------------------------------------------

The plugin works, it just takes too long to compile (longer than normal MVN). I'll check the logs ASAP to get more clues.


> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-57) M2 plugin looks for "" repository folder

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=comments#action_56853 ] 

Eugene Kuleshov commented on MNGECLIPSE-57:
-------------------------------------------

Are you behind proxy, firewall or defined some private repositories in settings.xml?

> M2 plugin looks for "" repository folder
> ----------------------------------------
>
>          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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-57) M2 plugin looks for "" repository folder

Posted by "Leonardo Quijano Vincenzi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=comments#action_56865 ] 

Leonardo Quijano Vincenzi commented on MNGECLIPSE-57:
-----------------------------------------------------

Not at all. Direct internet connection, and I haven't touched settings.xml
This problem appeared when refreshing my projects (Eclipse had crashed down previously), and rebuilding.


> M2 plugin looks for "" repository folder
> ----------------------------------------
>
>          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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-57) Unable to download the artifact from any repository

Posted by "Leonardo Quijano Vincenzi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=comments#action_56913 ] 

Leonardo Quijano Vincenzi commented on MNGECLIPSE-57:
-----------------------------------------------------

This is my debug log:

1/25/06 9:58:05 AM CST: Local repository folder "" does not exist
1/25/06 9:58:05 AM CST: [DEBUG] Found 0 components to load on start
1/25/06 9:58:05 AM CST: [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\Leonardo\.m2\plugin-registry.xml'
1/25/06 9:58:05 AM CST: [DEBUG] Building Maven global-level settings from: 'C:\Program Files\Eclipse\conf\settings.xml'
1/25/06 9:58:05 AM CST: [DEBUG] Building Maven user-level settings from: 'C:\Documents and Settings\Leonardo\.m2\settings.xml'
1/25/06 9:58:06 AM CST: [DEBUG] Trying repository central
1/25/06 9:58:06 AM CST: [WARN] Unable to get resource from repository central (http://repo1.maven.org/maven2)
1/25/06 9:58:06 AM CST: Unable to download the artifact from any repository

This starts hapenning during the "indexing " phase on the plugin. This is only on the dependency resolver. I'm not building anything at this moment. Just right after Eclipse starts, it starts to show these errors.


> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNGECLIPSE-57) Unable to download the artifact from any repository

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=all ]

Eugene Kuleshov updated MNGECLIPSE-57:
--------------------------------------

    Summary: Unable to download the artifact from any repository  (was: M2 plugin looks for "" repository folder)

Message "Local repository folder "" does not exist" is just a warning which indicates that plugin let Maven to use default repository location. If you'll turn debug logging on you should see what location it is as well as very verbose log for dependency resolution and downloading attempts. Please try this, look at the output and if you still have no clue attach that output to this issue. Also check that there are no errors in Eclipse's .log

Strangely, some of your coworkers actually managed to make plugin work...

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-57) Unable to download the artifact from any repository

Posted by "Leonardo Quijano Vincenzi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=comments#action_56914 ] 

Leonardo Quijano Vincenzi commented on MNGECLIPSE-57:
-----------------------------------------------------

By the way... I'm not getting anything on .log. Just some missing builder warnings:

!ENTRY org.eclipse.core.resources 2 1 2006-01-25 09:58:31.314
!MESSAGE Skipping builder org.eclipse.wst.common.modulecore.ComponentStructuralBuilder for project sigep-services. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.

!ENTRY org.eclipse.core.resources 2 1 2006-01-25 10:00:49.913
!MESSAGE Skipping builder org.eclipse.wst.validation.validationbuilder for project sigep-services. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.

!ENTRY org.eclipse.core.resources 2 1 2006-01-25 10:00:49.923
!MESSAGE Skipping builder org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver for project sigep-services. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.

!ENTRY org.eclipse.core.resources 2 1 2006-01-25 10:00:49.933
!MESSAGE Skipping builder org.eclipse.wst.common.modulecore.DependencyGraphBuilder for project sigep-services. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.


> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNGECLIPSE-57) Unable to download the artifact from any repository

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-57?page=all ]
     
Eugene Kuleshov closed MNGECLIPSE-57:
-------------------------------------

     Resolution: Fixed
    Fix Version: 0.0.5

Error message now include artifact name. Also note that it is now possible to disable source download and sources that exists in the local repository will be attached automatically.

> 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
>      Fix For: 0.0.5
>  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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org