Hello,
I am trying to use Maven (2.0.7) to build an application on an Intel
Mac (OSX 10.4.10). It keeps failing with 'cannot find symbol'
related to a Junit class. The app builds perfectly on Linux.
Building with the -Dmaven.test.skip=true flag on the Mac is
successful. I have
Hello,
Here is some more info, with the stack trace:
[INFO] Compiling 5 source files to /Users/Ian/scratch/taverna1.0/
taverna-bootstrap/target/test-classes
[INFO]
[ERROR] BUILD FAILURE
[INFO]
Hi,
how did you define the junit dependency in the pom? You're not using
scopesystem/scope or something like that, are you?
Cheers, michael
Ian Dunlop wrote:
Hello,
Here is some more info, with the stack trace:
[INFO] Compiling 5 source files to
That's curious - makes me think a transative dep of junit is not found?
Natrually skipping the test will work, since maven.test.skip also skips test
compilation, however, what version of junit are you using?
--
Eric Redmond
http://blog.propellors.net
On 7/31/07, Ian Dunlop [EMAIL PROTECTED]
Hello,
I think this is where it is declared. The system has built on other
Macs, so if it is just my system maybe I will have to reload OSX (but
that is the last resort). This is my first time using maven (mainly
used Ant before) so I have haven't got a great idea about what is
going
Hello,
In the repository are junit 3.8.1, 3.8.2, 4.0 4.1. I believe it is
4.0 that is being used.
Ian
On 31 Jul 2007, at 15:04, Eric Redmond wrote:
That's curious - makes me think a transative dep of junit is not
found?
Natrually skipping the test will work, since maven.test.skip also
Are your tests actually using the 4.0 annotations, or the old
reflection-based execution (methods prefixed w/ test*). If the latter, try
using junit 3.8.2 - which has always worked for me on Mac.
--
Eric Redmond
http://blog.propellors.net
On 7/31/07, Ian Dunlop [EMAIL PROTECTED] wrote:
Hello,
You might want to check the junit 4.0 jar itself to make sure there
isn't some weird problem in the archive. I know some people have had
weird problems when they were using a mis-configured mirror, resulting
in some .jar and .pom files being HTML 404 error text rather than the
proper content. So