You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jens Zastrow <je...@dai-labor.de> on 2005/05/19 13:47:39 UTC
[m2] multiple modules + same version
With m1 it was possible to <import> other poms without to define a version, so the modules uses the parent-poms currentVersion.
In m2 i have to specify the version for the parent-pom for importing...
[parent.pom]
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>jiac-architecture</groupId>
<artifactId>jiac-architecture</artifactId>
<packaging>pom</packaging>
<version>4.6.0-SNAPSHOT</version>
[module.pom]
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>jiac-architecture</groupId>
<artifactId>jiac-architecture</artifactId>
<version>4.6.0-SNAPSHOT</version>
</parent>
Is there no single place to define the version of the project and for all modules?!
// In m1 I imported not only the currentVersion but the groupId too, which is also needed to import something in m2 :-(
Jens Zastrow
DAI-Labor - Technische Universität Berlin
Sekretariat GOR 1-1, Franklinstraße 28/29, 10587 Berlin
Fon: +49 30 314 77777
Fax: +49 30 314 21799
jens.zastrow@dai-labor.de
http://www.dai-labor.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org