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

Dan Allen commented on MNGECLIPSE-97:
-------------------------------------

I strong disagree that this is a duplicate (unless you can explain it to me 
another way).  When reactor projects are included as dependencies in the Maven 
Dependency Library, and I use any of the class resolution tools in eclipse, 
such as Ctrl-Shift-T or navigating a debug session) I continually land on the 
*.class file from the jar file rather than the resource in my own project.  To 
me, this is not at all what I want.  I only want a single reference to my own 
class files, and they should be coming from the project itself.

I would say at the very least, make this an option that the user can enable so 
that the reactor dependencies are essentially ignored.  I could continue to 
patch the code to add this option.  Please see that there is a use case here.

> ignore dependencies in eclipse workspace
> ----------------------------------------
>
>          Key: MNGECLIPSE-97
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-97
>      Project: Maven 2.x Extension for Eclipse
>         Type: Improvement

>   Components: Dependency Resolver
>     Versions: 0.0.5
>  Environment: eclipse 3.1.2 on linux
>     Reporter: Dan Allen
>     Assignee: Eugene Kuleshov
>  Attachments: MNGECLIPSE-97.txt
>
>
> When a maven project is setup in eclipse, the dependencies between modules 
> are captured as eclipse project dependencies.  However, when m2eclipse gets 
> into the mix, it tries to assign the dependency to the jar file that has been 
> installed in the maven repository.  It makes much more sense for m2eclipse to 
> get out of the way and let eclipse deal with the dependencies if it exists in 
> the workspace.
> This is simply a matter of implementing the following logic:
> 1. scan through dependency artifacts in the pom
> 2. if the dependency has the same groupId (maybe too bold of an assumption?)
>   a. if so, look through all dependent eclipse projects
>   b. find a maven project with the same artifactId and version
>      i. if so, skip this dependency and move to the next

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

Reply via email to