You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Martijn Dashorst <ma...@gmail.com> on 2006/11/11 21:04:30 UTC
Maven and dependencies
Please do not add version numbers to Wicket projects in the dependency
blocks of POM files. These are managed by the wicket-parent/pom.xml
All you have to do is add:
<dependency>
<groupId>wicket</groupId>
<artifactId>wicket</artifactId>
</dependency>
The rest is taken care of by the wicket-parent pom using inheritence.
If a dependency is used in more projects, then please add its version
number only to the dependency management part of the Wicket parent.
Otherwise we'll be dependency bug hunting.
Let's make good use of the features maven provides us with: less is more.
Martijn
--
<a href="http://www.thebeststuffintheworld.com/vote_for/wicket">Vote</a>
for <a href="http://www.thebeststuffintheworld.com/stuff/wicket">Wicket</a>
at the <a href="http://www.thebeststuffintheworld.com/">Best Stuff in
the World!</a>
Re: Maven and dependencies
Posted by Eelco Hillenius <ee...@gmail.com>.
I had a problem getting that to work a couple of weeks ago when I
added JMX though. But if that works now, that's great.
Eelco
On 11/11/06, Martijn Dashorst <ma...@gmail.com> wrote:
> Please do not add version numbers to Wicket projects in the dependency
> blocks of POM files. These are managed by the wicket-parent/pom.xml
>
> All you have to do is add:
>
> <dependency>
> <groupId>wicket</groupId>
> <artifactId>wicket</artifactId>
> </dependency>
>
> The rest is taken care of by the wicket-parent pom using inheritence.
>
> If a dependency is used in more projects, then please add its version
> number only to the dependency management part of the Wicket parent.
> Otherwise we'll be dependency bug hunting.
>
> Let's make good use of the features maven provides us with: less is more.
>
> Martijn
>
> --
> <a href="http://www.thebeststuffintheworld.com/vote_for/wicket">Vote</a>
> for <a href="http://www.thebeststuffintheworld.com/stuff/wicket">Wicket</a>
> at the <a href="http://www.thebeststuffintheworld.com/">Best Stuff in
> the World!</a>
>