scott comer wrote:
> maybe you know better than me, but i see something:
> 
> [INFO] [site:attach-descriptor]
> [INFO] Unable to load parent project from a relative path: Could not
> find the model file 'C:\wks\pom.xml'. for project unknown
> [INFO] Parent project loaded from repository.

maven seems to complain of this a lot. usually doesn't seem to matter.
(hard to tell for sure without running at debug.)

> allTests:
> [au:antunit] Build File:
> C:\wks\rat\apache-rat-tasks\src\test\resources\antunit\report-normal-operation.xml
> 
> [au:antunit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 0.703 sec
> [au:antunit] Target: testCustomMatcherSentToFile  caused an ERROR
> [au:antunit]     at line 173, column 43
> [au:antunit]     Message: Unable to find a javac compiler;
> [au:antunit] com.sun.tools.javac.Main is not on the classpath.
> [au:antunit] Perhaps JAVA_HOME does not point to the JDK.
> [au:antunit] It is currently set to "C:\Program Files\Java\jdk1.6.0_11\jre"
> 
> 
> (note, my environment variable JAVA_HOME is set to C:\Program
> Files\Java\jdk1.6.0_11. who put \jre on the end?)

maven did

when something goes wrong, i find maven is often cryptic. the only way i
can debug a maven build is to run with debug on.

- robert

Reply via email to