While I was working on splitting the systests, I set out to clean up
some other test-related stuff, perhaps rashly.

There is some test-only code in rt-core. I moved it from src/main/java
to src/test/java, and changed the POM for rt-core to build a test jar.
Then I 'fixed' the dependencies to have a scope=test dependency on
rt-core with classifier 'tests'.

For this to work, I had to change the fastinstall profile to use
maven.test.skip.exec instead of plain maven.test.skip. Elsewise, the
tests don't get compiled, and the jar doesn't happen, and the
dependent project refuses to build.

To really do this cleanly, someone aught to split up rt-core so that
the stuff that the test classes depend on was in one slice and the
other stuff that depends on the test classes was in another, but I
think I've run out of courage for the moment.

Reply via email to