this is exactly what I understood.

I have, in the same folder, two projects, A and B. A uses B as dependancy.
I expect that when I mvn eclipse:eclipse A it uses B as a link, in eclipse,
rather than pointing to the jar in M2 repo.

This is actually not happening

For both projects, the name of the folder is the same of the artifact id and
of the eclipse project.
Both have 2.7 version of plugin specified in the pom and both eclipse
projects are built from maven.

So, I am wondering what I am missing...

On Thu, Jun 18, 2009 at 8:40 AM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> This is not the functionality I described. What you describe already
> works in 2.5, as it is the multimodule functionality. What I described
> is that you can check out Wicket into your workspace, and start
> hacking on your own Wicket application, where the
> maven-eclipse-plugin:2.7 will find the wicket projects and link them
> as a project instead of a jar dependency.
>
> i.e.:
>
> workspace/wicket/wicket
> workspace/wicket/wicket-extensions
> workspace/wicket/wicket-spring
> workspace/mywicketapp
>
> This become workspace projects like:
>
> wicket
> wicket-extensions
> wicket-spring
> mywicketapp
>
> and if mywicketapp depends on wicket and wicket-spring, those will
> become project dependencies instead of jar dependencies. No need for a
> single parent, no need for a root pom to get this to work.
>
> Martijn
>
> On Wed, Jun 17, 2009 at 10:35 PM, Jim Sellers<jim.sell...@gmail.com>
> wrote:
> > I've found that it only works if your other projects:
> > 1) have the same parent and you run the maven command from the parent
> >
> > 2) the other project is at the top level of your workspace.  e.g.
> > MyWonderfulProject
> > \ pom.xml
> >
> > MyMasterLib
> > \ pom
> > \ MySubModuleLib
> >  \ pom.xml
> >
> > From MyWonderfulProject, if you have a dependency on MySubModuleLib, it
> > doesn't seem to link it.  If you like to MyMaterLib, it would.
> >
> > HTH
> > Jim
> >
> >
> > On Wed, Jun 17, 2009 at 12:25 PM, Daniele Dellafiore <ilde...@gmail.com
> >wrote:
> >
> >> Hi everyone.
> >>
> >> I read here:
> >>
> http://martijndashorst.com/blog/2009/05/29/maven-eclipse-plugin-woes-fixed/
> >>
> >> that eclipse maven plugin 2.7 has a new feature such as "such as
> >> searching your workspace for projects that are snapshot dependencies,
> >> and adding a project link instead of a jar dependency.".
> >> How is that supposed to work?
> >>
> >> I have a project A that uses B-1.0-SNAPSHOT but the mvn
> >> eclipse:eclipse still links the jar.
> >> There is some configuration to do?
> >>
> >> thanks!
> >>
> >> --
> >> Daniele Dellafiore
> >> http://blog.ildella.net
> >> http://twitter.com/ildella
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
Daniele Dellafiore
http://blog.ildella.net
http://twitter.com/ildella

Reply via email to