I can't reproduce your issue for the same spring artifact using the latest dev build. Note that this feature will only work for search results that have little source decoration on the artifact icon.

What version of m2eclipse you are using? Do you have local repository manager or proxy configured in your environment (please show your effective settings.xml)? Also, what indexes do you have declared in the "Maven Indexes" view? You may want to invoke "Update Index" action for "central" index in the "Maven Indexes" view.

 regards,
 Eugene

sverhagen wrote:
Hi, the "Open Type from Maven..." command is not working for me.
I get the dialog, I see the types, I can select a module.
But then I get a popup saying:


Can't resolve artifact AbstractBeanDefinition
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to
download the artifact from any repository
---
Try downloading the file manually rom the project website.
---
Then, install it using the command:
---
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring
-Dversion=2.0.8 -Dclassifier=sources -Dpackaging=java-source
-Dfile=/path/to/file
---
Alternatively, if ...
---
org.springframework:spring:java-source:2.0.8


For the above example artifact I'm quite sure that repo1 is hosting source
files ("spring-2.0.8-sources.jar") so that shouldn't be the problem, right?
I have "Download Artifact Sources" switched on.
I have this problem with all artifacts that I've tried so far. I just took
Spring as an example, here.

Where does the logging go for this kind of action? It may help me, perhaps
it's looking for the artifact in the wrong place (considering that we have
some mirroring in place, though I tried to take that out of the equation.)

Thanks already.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to