Thanks. But, in this case, how do we release them using release plug-in. They are not multimodule projects.
I would like to have same version for similar "family" of projects which is controlled by some parent pom. To achieve this, is it required to have multimodule module project? On 12/13/11, Barrie Treloar <[email protected]> wrote: > On Tue, Dec 13, 2011 at 4:12 PM, Prashant Neginahal > <[email protected]> wrote: >> Thanks for your reply. Are you suggestting something below. >> >> Parent POM. >> >> <groupId>com.tdsecurities</groupId> >> <artifactId>test-parent</artifactId> >> <version>1.0-SNAPSHOT</version> >> >> In all child projects >> >> <parent> >> <artifactId>test-parent</artifactId> >> <groupId>com.tdsecurities</groupId> >> <version>1.0-SNAPSHOT</version> >> </parent> >> <groupId>com.tdsecurities</groupId> >> <artifactId>test-child</artifactId> >> <version>${parent.version}</version> > > Almost. > <parent> > <artifactId>test-parent</artifactId> > <groupId>com.tdsecurities</groupId> > <version>1.0-SNAPSHOT</version> > </parent> > <groupId>com.tdsecurities</groupId> > <artifactId>test-child</artifactId> > > You dont need the current pom's artifact version. > i.e. deleted <version>${parent.version}</version> > It either inherits it from the parent, or gets it from the parent's > dependencyManagement section (I dont know which). > The result being you dont need to specify it. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
