With kind regards,
Geoffrey De Smet

Jerome Lacoste schreef:
On 4/25/07, Geoffrey De Smet <[EMAIL PROTECTED]> 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 ?

Not as far as we know. We 're just getting it between 2 windows versions too. Again fixing the false transitive dependencies fixed it.

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) ?

The compiler plugin is locked down to 2.0.2, the entire local repositories have been cleaned during a test.

My college has a log which proves he should get a dependency on his classpath and doesn't get it, I 've made a JIRA with attached logs:

  http://jira.codehaus.org/browse/MNG-2962


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to