On Sat, May 9, 2009 at 5:44 PM, Joerg Hohwiller <jo...@j-hohwiller.de>wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi there, > > absolutely everybody having large maven projects is > annoyed by maintaining the versions in all the poms. > Are you using the release plugin? > > Additionally the complete solution is quite simple > and seems to be quite common sense: > > 1. Allow to omitt versions in <parent> as well > as in <dependency> that is available in the reactor. > Omitting the parent is complicated. Ralph started an implementation but we found some issues with it at ApacheCon. I don't think it's gotten beyond that yet. You can use dependency management or properties to deal with omitting the dependencies. I personally never assume what will be contained in a reactor and structure my builds so that any module can always be built in isolation. Therefore, I can't see why you would want to omit the dependency for something in a reactor that may not be in the reactor all the time. The release plugin handles this for you when it's time to bump the versions. > > 2. Ensure that omitted version as well as variables > in <groupId> <artifactId> and <version> are replaced > when a pom is installed in the repository. > Agree with this. > > However I totally lost where we are and what is going on. > > http://jira.codehaus.org/browse/MNG-624 > http://jira.codehaus.org/browse/MNG-2971 > http://jira.codehaus.org/browse/MNG-3267 > http://jira.codehaus.org/browse/MNG-2971 > > I could not find the one to omitt version in <depdency>. > Can anybody remember. Or do I have to open a new one. > > I can not really tell how hard it is to make this > work, but be sure that we can make millions of users > happy with this! > > Thanks > Jörg > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkoF+UIACgkQmPuec2Dcv//gDACfRvtIJ+CrTatgMZiynQ/2/f7+ > 7DQAni6uH3UkGSU0WNFKuUCz5OsyrGy3 > =Jn88 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >