Well that's because how it works:

-DallTests activates the submodules. Without that, they are not run, as you can see in the final Maven's report.

Technically, it could be done so that it would skip the tests, but it would complicate things a bit.
It that necessary or can you live with -DallTests?

You might also consider using -DallTests -DskipTests.

Ondra



Jaikiran Pai píše v Ne 08. 01. 2012 v 20:52 +0530:
Just noticed that the classes in the testsuite module (for example: 
testsuite/integration/basic) are not compiled by default unless you use 
the -DallTests switch. I thought we had decided that all classes 
including test classes will be compiled by default (but not all tests 
will be run). Is this intentional to leave out compilation of these 
classes? I had a API change (since last week) and only today after 
finishing off majority of the work I decided to run a full testsuite and 
realized that there are some API compatibility compilation issues in the 
testsuite.


-Jaikiran
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev