Thanks,
The "mvn test --debug" helped me finding my problem. I found the following
in the trace:

[DEBUG]   D:\test\VacApp\target\classes
[DEBUG]   D:\test\VacApp\target\test-classes
[DEBUG]   d:\maven\repository\junit\junit\3.8.1\junit-3.8.1.jar
[DEBUG] Setting system property [localRepository]=[d:/maven/repository]
[DEBUG] Setting system property [basedir]=[D:\test\VacApp]
[INFO] Surefire report directory: D:\test\VacApp\target\surefire-reports
Forking command line: java -classpath
d:\maven\repository\org\apache\maven\surefire\surefire-api\2.0\surefire-api-2.0.jar;d:\maven\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;d:\maven\repository\org\apache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar
org.apache.maven.surefire.booter.SurefireBooter
C:\DOCUME~1\B&L\LOCALS~1\Temp\surefire11918tmp
C:\DOCUME~1\B&L\LOCALS~1\Temp\surefire11919tmp

On my system I have the standard windows temp directories defined in the
user's documents and settings and apparently surefire doesn't like either
the ~1 directory names or (more likely) my windows user name 'B&L' with an
'&' (don't ask why it is like that).
When I switched TEMP and TMP to something like c:\temp, my problem was
solved.

Is this worth filing somewhere and if so, where?

Bart.


mmistroni wrote:
> 
> hello,
>  can you run mvn --debug  to have more informations?
> 
> hth
>  marco
> 
> On 10/9/06, Bart Zagers <[EMAIL PROTECTED]> wrote:
>>
>>
>> I don't think the problem is there, it's the basic generated pom
>>
>> <project xmlns="http://maven.apache.org/POM/4.0.0";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd";>
>>   <modelVersion>4.0.0</modelVersion>
>>   <groupId>org.vac.app</groupId>
>>   <artifactId>VacApp</artifactId>
>>   <packaging>jar</packaging>
>>   <version>1.0-SNAPSHOT</version>
>>   <name>Maven Quick Start Archetype</name>
>>   <url>http://maven.apache.org</url>
>>   <dependencies>
>>     <dependency>
>>       <groupId>junit</groupId>
>>       <artifactId>junit</artifactId>
>>       <version>3.8.1</version>
>>       <scope>test</scope>
>>     </dependency>
>>   </dependencies>
>> </project>
>>
>> The only thing I have changed is the local repository in the
>> settings.xml:
>> ...
>> <localRepository>D:/test/repository</localRepository>
>> ...
>>
>> In the meantime I have tried it on a secondary machine (same jdk, same
>> Maven) and there it works fine.
>> mvn archetype:create -DgroupId=org.vac.app -DartifactId=VacApp
>> mvn test
>>
>>
>>
>> Naess, Ronny wrote:
>> >
>> > Can you paste your POM?
>> >
>> >
>> > -----Opprinnelig melding-----
>> > Fra: Bart Zagers [mailto:[EMAIL PROTECTED]
>> > Sendt: 9. oktober 2006 09:57
>> > Til: [email protected]
>> > Emne: Re: problem getting started
>> >
>> >
>> > This doesn't really help, the intro is the same/similar as with the
>> > basic Maven starting guide and naturally does not mention my basic (and
>> > probably
>> > stupid) problem.
>> >
>> > [INFO] [compiler:testCompile]
>> > Compiling 1 source file to D:\test\VacApp\target\test-classes
>> > [INFO] [surefire:test]
>> > [INFO] Surefire report directory:
>> D:\test\VacApp\target\surefire-reports
>> > Het systeem kan het opgegeven pad niet vinden.
>> > Het systeem kan het opgegeven pad niet vinden.
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > The dutch system message says "The system cannot find the given path"
>> > but I have no clue what is going wrong or where to start looking for
>> it.
>> >
>> > Bart.
>> >
>> >
>> >
>> > mmistroni wrote:
>> >>
>> >> Hello,
>> >>   try BBWM..
>> >> http://www.mergere.com/m2book_download.jsp
>> >>
>> >> hth
>> >>  marco
>> >>
>> >>
>> >
>> > --
>> > View this message in context:
>> > http://www.nabble.com/problem-getting-started-tf2404688.html#a6713163
>> > Sent from the Maven - Users mailing list archive at Nabble.com.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> > !DSPAM:452a00d8269594409620359!
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/problem-getting-started-tf2404688.html#a6713727
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-getting-started-tf2404688.html#a6724722
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to