I think I could probably migrate it down …  Maybe cut my dependencies in
1/2 .. However, the version idea is probably the right way to go here :)

Thanks for the recommendation!

Kevin

On Fri, Sep 12, 2014 at 6:31 PM, Barrie Treloar <baerr...@gmail.com> wrote:

> On 13 September 2014 02:46, Kevin Burton <bur...@spinn3r.com> wrote:
>
> > OK… so this definitely works and the aggregation model compiles my
> module.
> >
> > But I need a way to bump the version number because I have complex
> > dependencies and updating 10 places every time I change the project
> version
> > isn’t going to be fun.
> >
>
> If you have 10 places where the dependencies need changing you are doing it
> wrong.
>
> You should have zero <version> definitions in your modules.
> All version definitions are in the topmost parent pom in the
> dependencyManagement section.
> If you have a bunch of things that share versions, you can also create a
> property and then use something like ${mygroup.version} so that you only
> need to update the property section once.
>
> Have you read the freely available Maven books?
> It's been long while since I've read them but I think this advice is in
> there.
>



-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Reply via email to