Ok! many thanks to both.

Guillermo.

----- Original Message ----- From: "Stefano Bagnara" <[EMAIL PROTECTED]>
To: "James Developers List" <server-dev@james.apache.org>
Sent: Sunday, October 01, 2006 4:29 PM
Subject: Re: [jira] Commented: (JSPF-33) Use commons cli for commandline parsing


Guillermo Grandes wrote:
well, I try this... mvn assembly:assembly say: "junit missing"
[...]
Missing:
----------
1) junit:junit:jar:3.8.1

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=junit -DartifactId=junit \
         -Dversion=3.8.1 -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
       1) org.apache.james:jspf:jar:0.9-SNAPSHOT
       2) junit:junit:jar:3.8.1
[...]
Any idea?

Yes, this is a bug.

You can fix this in 3 ways:
1) do the think explained above (download the jar and manually call the mvn install:install-file). 2) download the junit jar and put it in the jspf subfolder repos/third-party-m1/junit/jars/junit-3.8.1.jar 3) add "-Dmaven.test.skip=true" to your mvn command arguments so you don't need the tests to pass to build jspf.

Currently you will need #3 anyway because our tests do not pass in trunk.

I don't know if we should include junit in our repository or not, we'll talk about this later.

Stefano


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

Reply via email to