running "maven" on template project fails. It seems like there is a
problem with StatndardTestCase which results in no classes and artifacts
being generated in the target/classes directory hence the
Filenotfoundexception where block.xml can't be found.
output message:
--------------------------------------------------
test:test:
[junit] dir attribute ignored if running in the same VM
[junit] Running org.apache.avalon.playground.test.StandardTestCase
[INFO ] (kernel): installing: file:${user.dir}/target/classes/
---- exception report
----------------------------------------------------------
Exception: org.apache.avalon.merlin.KernelException
Message: Install failure: file:/opt/projects/ps/template/target/classes/
---- cause
---------------------------------------------------------------------
Exception: org.apache.avalon.composition.model.ModelException
Message: Unable to include block
[file:/opt/projects/ps/template/target/classes/] into the containmment
model [/] because of a io related error.
---- cause
---------------------------------------------------------------------
Exception: java.io.FileNotFoundException
Message: /opt/projects/ps/template/target/classes/BLOCK-INF/block.xml
(No such file or directory)
---- stack trace
---------------------------------------------------------------
java.io.FileNotFoundException:
/opt/projects/ps/template/target/classes/BLOCK-INF/block.xml (No such
file or directory)
<snip><snip>
--------------------------------------------------------------------------------
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.333
sec
[junit] [ERROR] TEST
org.apache.avalon.playground.test.StandardTestCase FAILED
BUILD FAILED
File...... file:/opt/projects/ps/template/
Element... maven:reactor
Line...... 20
Column.... 31
Unable to obtain goal [test:test] --
file:/home/korosh/.maven/plugins/maven-test-plugin-1.4/:130:54: <fail>
There were test failures.
Total time: 11 seconds
Finished at: Mon Jan 05 16:25:49 EST 2004
-----------------------------------------------------------------------
anyone have any ideas ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]