Guten Tag Jan Torben Heuer,

Hi Jan,
> So where can I put both Mock Objects?

> Obviously not in the dao, because testclasses are not dependencies.
> So I would end up with a project for each or all MockObjects.

You may specify the test-classes as a dependency using the test-jar
mojo of the jar plugin:
http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html

Using this, you'll have jars containing the test-classes which will be
available using the "tests" classifier

Using that technique, it is possible to place your mock-objects inside
project-dao (or project-core, if the class-level dependencies allow
you to do so).

hope that helps.


Francois




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to