title: How to include groovy test-sources in generated jar or sources-jar using Maven
body: <p>I'm using Maven with <code>gmaven</code> plugin. Also I use <code>maven-source-plugin</code> that allows me to generate <code>source.jar</code> containing my sources. Also I have groovy tests that reside in a standard src/test/groovy directory. I configured pom.xml so that tests run when I'm building my project. The problem is, I can't found how to include groovy tests sources into generated <code>-sources.jar</code> or at least in <code>myApp.jar</code> itself. As I see from here: <a href="http://docs.codehaus.org/display/GMAVEN/Building+Groovy+Projects" rel="nofollow">http://docs.codehaus.org/display/GMAVEN/Building+Groovy+Projects</a> , 'groovy-jar' goal is marked as TODO. Please advise, is there a workaround?</p>