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

Federico Sauter commented on MNGECLIPSE-30:
-------------------------------------------

I have attached a small project that intents to reproduce at least some of the 
problems I described. I hope this will give you the same results!

If you build this project with eclipse as it is, then the "cannot find 
artifact...." error will appear. If you tried to compile this from the 
command-line, you would get the output I uploaded.

Please confirm that you can reproduce this.

This project is not a complete reproduction of the issue, though. If you 
uncomment the commented lines in the pom.xml file, and defined the dependency 
with an explicit version number, then the problems encountered during compile 
are reported properly in the plugin. This, of course, has already been reported 
in MNGECLIPSE-20. What makes (I think) this bug different is the fact that, the 
reported error (looking for a dependency with version 2.4.1) seems to be 
substituting another error message for some reason (plese note that 
command-line output and plugin error message do not match!)

In the first description of this problem (does not apply to the small project I 
am attaching now) the interesting thing was that I changed every pom of the 
local repository so that they did not use any reference to ${version} and I 
still got the same error message.

> Maven plugin keeps looking for non-existent apacheds-*-2.4.1 dependency
> -----------------------------------------------------------------------
>
>          Key: MNGECLIPSE-30
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-30
>      Project: Maven 2.x Plug-in for Eclipse
>         Type: Bug

>     Versions: 0.0.3
>  Environment: Mac OS X, Eclipse 3.1.1, Plugin v0.0.3
>     Reporter: Federico Sauter
>     Assignee: Eugene Kuleshov
>      Fix For: 0.0.4
>  Attachments: MNGECLIPSE-30.launcher.log, mvn_test-output.txt, 
> plugin-test.zip, pom.xml
>
>
> When using the plugin in the mentioned environment it is impossible to build 
> the project. The error message states that there was a dependency the plugin 
> was not able to find in any repository, namely apacheds-shared or 
> apacheds-core, version 2.4.1. Of course there is no such library in the 
> respository and there is no pom file referencing it.
> Having read http://jira.codehaus.org/browse/MNGECLIPSE-20 I tried to 
> eliminate all version references from ${pom.version} to an actual versino 
> number, but the error persisted. I am posting this as a bug, since I do not 
> understand what is going wrong and where the plugin got that version number 
> (2.4.1).

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