Hi, Le Thu, 12 Mar 2009 12:48:23 +0100, Landais Gabriel <[email protected]> a écrit :
> I want to set the parent version of a generated model through an > archetype:generate. It has to be set to the archetype version as > parent pom and archetype share the same version (both are modules of > my project). I've finally created a mojo able to update all versions in my project, including superpom used by artifact. It works great in my project, using best practice in module versioning (at least I tried!). The root pom declares the version and all modules declare version in parent pom version. I parse poms with JDOM, and modules are processed directly by Maven, so no specific code for module handling. Sources available on demand. Gabriel --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
