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
[EMAIL PROTECTED]
http://www.dai-labor.de


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to