maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenney Westerhof <ken...@apache.org>
Subject Re: multi-module build versions
Date Fri, 09 Jun 2006 15:26:22 GMT
On Fri, 9 Jun 2006, Mike Perham wrote:

Hi,

It's a bug. See http://jira.codehaus.org/browse/MNG-1245.

-- Kenney

> I started this thread over on the user list but haven't seen any replies
> of merit.
>
> http://www.nabble.com/multi-module-build-overriding-dependency-versions-
> t1758915.html
>
> In summary, I have two projects: domain and services.  Both projects are
> at version 1.2.2-SNAPSHOT.  services 1.2.2-SNAPSHOT depends on domain
> 1.2.1.  When I try to build both in a multi-module build, services is
> getting domain 1.2.2-SNAPSHOT in its classpath, not 1.2.1.
>
> When I turn on debugging I see this:
>
> [DEBUG]   active project artifact:
> 	artifact = com.webify.fabric:fabric-pm-domain:jar:1.2.1:compile;
> 	project: org.apache.maven.project.MavenProject@38f7f3e9
> (selected for compile)
>
> The problem is that the domain's project version in the reactor is
> 1.2.2-SNAPSHOT but the dependent artifact's version is 1.2.1.  Why isn't
> Maven taking the version into account when "overriding" the dependency
> to replace it with the project during build?
>
> mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message