Try "mvn --version" on both and look for differences in Java version and Maven.

For example, if you inadvertently used Java 6 API elements on your laptop and your server builds with Java 5 the build will fail. There are also differences between Maven versions that can have unexpected side-effects.

What is the nature of the failure? Compile or test?

On 04/08/10 05:04, Jon Strayer wrote:
I have a problem where my maven build works fine on my laptop but
compilation fails on the build server.  I've already blown away both local
repositories but that didn't help.  I ran help:effective-pom on both but
there are no unexpected differences.

Do you have any idea what else I should look at?

The fact that the build fails isn't the problem.  That fact that it succeeds
one place and fails on the other is.



--
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to