« Return to Thread: m2.0.6 with false transitive dependencies fails on windows, works on linux

Re: m2.0.6 with false transitive dependencies fails on windows, works on linux

by Jerome Lacoste-2 :: Rate this Message:

Reply to Author | View in Thread

On 4/25/07, Geoffrey De Smet <ge0ffrey.spam@...> wrote:

> Since 2.0.6 maven is reacting differently on windows in linux for our poms.
>
> We have some "false transitive dependencies": transitive dependencies
> that should be direct dependencies.
> (We currently do this to avoid having to duplicate the version number as
> the different projects don't have a common superpom.)
>
> On linux, our poms compile fine,
> on windows, our poms sometimes don't compile as some of those "false
> transitive dependencies" start to go missing from our compile classpath.
>
> The problem is that if someone commits something on linux, he's unsure
> if it will build on windows.
>
> Is this a known issue since 2.0.6?
> Has anyone else seen this problem occur?

Are you sure something else is not creating the problem ?

Are you using the exact same build environment on both machines (e.g.
plugin versions are exactly identical, local caches contain the exact
same versions) ?

I would start by cleaning up the local repository and making sure both
machines use the exact same dependencies. One way to verify it, if you
cannot change all your poms right away, is to remove your local
repository, make a full build on both machines, compare results and
local repositories.

Cheers,

Jerome

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: m2.0.6 with false transitive dependencies fails on windows, works on linux