title: Maven: How to handle generated sources for test(only)?
body: <p>Usually generated sources should be created in the target dir. But how do I handle classes that are only used for test? I dont want that these classes get packaged in my jar. Is there a common way to deal with this situation?</p>