cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: DependencyManagement in root pom
Date Tue, 24 Apr 2007 14:24:47 GMT
I opened a maven issue for this (http://jira.codehaus.org/browse/MNG-2959)

Felix

> I noticed a strange behaviour:
>
> The version in the root pom dependenyManagement section does overwrite
> the version in the block pom when installing the block locally: e.g.
> cocoon-batik-impl
>
> In the block pom version 1.0.0-RC1-SNAPSHOT is set
> In the root pom dependencyManagement version 1.0.0-SNAPSHOT is set.
>
> Installing the batik-impl block will result in the following:
> Building jar:
> /home/felix/svn/apache/cocoon/trunk/blocks/cocoon-batik/cocoon-batik-impl/target/cocoon-batik-impl-1.0.0-RC1-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing
> /home/felix/svn/apache/cocoon/trunk/blocks/cocoon-batik/cocoon-batik-impl/target/cocoon-batik-impl-1.0.0-RC1-SNAPSHOT.jar
> to
> /home/felix/.m2/repository/org/apache/cocoon/cocoon-batik-impl/1.0.0-SNAPSHOT/cocoon-batik-impl-1.0.0-SNAPSHOT.jar
>
>
>
> I don't think this is what we want and I'm not sure if it's a maven
> bug or not. Am I the only one having this nice 'feature'?
>
> Felix


Mime
View raw message