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<[email protected]> 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 <[email protected]>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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>



-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to