Hi,
I am trying to run "The Ten Minute Test" sample but even after two hours of
experimenting I haven't gotten any further. I must be missing something (either
on my w2k system or in my brain).
Everything is set up as indicated but the sources won't compile. Tried JDK-1.5
and -1.4. Same result.
This is what I got:
D:\tmp\sample-echo>set M2_HOME
M2_HOME=D:\maven-2.0-alpha-3
D:\tmp\sample-echo>set JAVA_HOME
JAVA_HOME=D:\program files\Java\j2re1.4.2
D:\tmp\sample-echo>dir src\main\java\samples\echo
Volume in drive D is Data
Volume Serial Number is 14C6-9443
Directory of D:\tmp\sample-echo\src\main\java\samples\echo
08/10/2005 06:58p <DIR> .
08/10/2005 06:58p <DIR> ..
01/21/2005 06:42p 571 Echo.java
1 File(s) 571 bytes
2 Dir(s) 11,946,778,624 bytes free
D:\tmp\sample-echo>m2 compile
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]
----------------------------------------------------------------------------
[INFO] maven-resources-plugin: resolved to version 2.0-alpha-3 from local
repository
[INFO] maven-compiler-plugin: resolved to version 2.0-alpha-3 from local
repository
[INFO] [resources:resources]
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Aug 10 19:27:21 EDT 2005
[INFO] Final Memory: 1M/3M
[INFO]
----------------------------------------------------------------------------
D:\tmp\sample-echo>type project.xml
<project>
<groupId>sample</groupId>
<artifactId>sample-echo</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src\main\java</sourceDirectory>
<unitTestSourceDirectory>src\test\java</unitTestSourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
</unitTest>
</build>
</project>
D:\tmp\sample-echo>
Any help is highly appreciated.
Thanks,
Erwin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]