Thanks Trygve
The workaround works! Here's my configuration that binds the generated
sources and the test sources to the compiler plugin. This way maven compiles
them and put the .classes to the executable (target) directory.
<sourceDirectory>.</sourceDirectory>
<testSourceDirectory>.</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<includes>
<include
implementation="java.lang.String">dod/deployments/src/java/**/*.java</include>
</includes>
<testIncludes>
<testInclude
implementation="java.lang.String">src/test/java/**/*.java</testInclude>
</testIncludes>
</configuration>
</plugin>
....
--
View this message in context:
http://www.nabble.com/-m2-How+to+get+files+into+test+classpath--t987507.html#a4635367
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]