You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Eidhof <ch...@phil.uu.nl> on 2006/06/06 11:04:53 UTC
Build failures and unit tests
Hi everyone,
I've succesfully built my project, using mvn install on my mac. Now
when I test it on a Windows computer, the build fails. I get a
"Compilation failure" in the mojo compiler:testCompile. It says that
it can't find constructor TestCase() at location
junit.framework.TestCase.
This is the error that I get:
> [INFO] [compiler:testCompile]
> Compiling 4 source files to H:\cheetah-maven\aardrock-cheetah
> \aardrock-cheetah-c
> ore\target\test-classes
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Compilation failure
>
> H:\cheetah-maven\aardrock-cheetah\aardrock-cheetah-core\src\test
> \java\aardrock\c
> heetah\model\ModelTest.java:[16,7] cannot find symbol
> symbol : constructor TestCase()
> location: class junit.framework.TestCase
From what I could find in the archives, I understood that it might
have something to do with multiple virtual machines. I don't know if
that's the problem, does anyone know what the problem might be? I've
defined junit as a dependency in my pom.xml.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org