On Sat, 2002-03-16 at 16:44, Warner Onstine wrote:
> Hi all,
> I am attempting to build maven according to the instructions found here:
> http://jakarta.apache.org/turbine/maven/bootstrap.html
> 
> Everthing went fine until the last step- ant maven:jar, which generated the
> following:

We'll document this, but it is a general problem with the <junit> task
and not maven. In order to use the <junit> task (as opposed to just
using a test runner) you must put the junit jar in your $ANT_HOME/lib
directory. After you do that you should be fine.
 
> build problem:
> 
>      [javac] Compiling 219 source files to
> /Users/warner/cvs/OpenSource/jakarta-turbine-maven/target/classes
>      [javac] /Users/warner/cvs/OpenSource/jakarta-turbine-
> maven/src/java/org/apache/maven/ProjectResolver.java:68: cannot resolve
> symbol
>      [javac] symbol  : class Test
>      [javac] location: package framework
>      [javac] import junit.framework.Test;
>      [javac]                        ^
>      [javac] /Users/warner/cvs/OpenSource/jakarta-turbine-
> maven/src/java/org/apache/maven/ProjectResolver.java:69: cannot resolve
> symbol
>      [javac] symbol  : class TestCase
>      [javac] location: package framework
>      [javac] import junit.framework.TestCase;
>      [javac]                        ^
>      [javac] /Users/warner/cvs/OpenSource/jakarta-turbine-
> maven/src/java/org/apache/maven/ProjectResolver.java:70: cannot resolve
> symbol
>      [javac] symbol  : class TestSuite
>      [javac] location: package framework
>      [javac] import junit.framework.TestSuite;
>      [javac]                        ^
>      [javac] 3 errors
> 
> It appears it needs junit.jar somewhere, but it isn't mentioned in the docs
> and it didn't download into my lib.repo directory.
> 
> -warner
> 
> +warner onstine+
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to