Re: problem getting started
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 >> >> 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";> >> 4.0.0 >> org.vac.app >> VacApp >> jar >> 1.0-SNAPSHOT >> Maven Quick Start Archetype >> http://maven.apache.org >> >> >> junit >> junit >> 3.8.1 >> test >> >> >> >> >> The only thing I have changed is the local repository in the >> settings.xml: >> ... >> D:/test/repository >> ... >> >> 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: users@maven.apache.org >> > 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]
Re: problem getting started
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 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";> 4.0.0 org.vac.app VacApp jar 1.0-SNAPSHOT Maven Quick Start Archetype http://maven.apache.org junit junit 3.8.1 test The only thing I have changed is the local repository in the settings.xml: ... D:/test/repository ... 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: users@maven.apache.org > 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]
Re: problem getting started
I don't think the problem is there, it's the basic generated pom 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";> 4.0.0 org.vac.app VacApp jar 1.0-SNAPSHOT Maven Quick Start Archetype http://maven.apache.org junit junit 3.8.1 test The only thing I have changed is the local repository in the settings.xml: ... D:/test/repository ... 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: users@maven.apache.org > 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]
Re: problem getting started
Can you paste your POM? -Opprinnelig melding- Fra: Bart Zagers [mailto:[EMAIL PROTECTED] Sendt: 9. oktober 2006 09:57 Til: users@maven.apache.org 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]
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]
Re: problem getting started
Hello, try BBWM.. http://www.mergere.com/m2book_download.jsp hth marco
Re: problem getting started
Hello, On 10/8/06, Bart Zagers <[EMAIL PROTECTED]> wrote: Hey, I'm trying Maven2 for the first time and have troubles getting started (using the "Getting started" guide) I started with: mvn archetype:create -DgroupId=org.vac.app -DartifactId=VacApp and then mvn compile so far so good. But then i tried mvn test and this gave me [INFO] Scanning for projects... [INFO] --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [test] [INFO] --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [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] [INFO] There are test failures. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 11 seconds [INFO] Finished at: Sun Oct 08 14:37:21 CEST 2006 [INFO] Final Memory: 3M/10M [INFO] The dutch system message says "The system cannot find the given path" I have no idea at all what is going wrong (running WinXP, jdk1.5.0_09, maven 2.0.4) -- View this message in context: http://www.nabble.com/problem-getting-started-tf2404688.html#a6703584 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]