Hi Cyrille,
thanks finally I got it :-), my solution is:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<target></target>
<testSourceRoot>
${project.build.directory}/test-src
</testSourceRoot>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
Regards,
Ingo
Cyrille Le Clerc schrieb:
Hello Ingo,
According to maven-antrun-plugin documentation, you should use
<sourceRoot/> and <testSourceRoot/> . My understanding is that
<sources/> and <source/> will be ignored if they don't raise errors.
Extract from maven-antrun-plugin doc :
* url : http://maven.apache.org/plugins/maven-antrun-plugin/usage.html
* Extract :
"<sourceRoot/> adds a single folder to the list of folders that get
compiled with the program source code (compile).
<testSourceRoot/> adds a single folder to the list of folders that get
compiled with the test source code (test-compile)"
Hope this helps,
Cyrille
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]