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 -- Cyrille Le Clerc [EMAIL PROTECTED] [EMAIL PROTECTED] +33 6.61.33.69.86 On 5/24/06, Ingo Düppe <[EMAIL PROTECTED]> wrote:
hi dan, the build-helpder-maven-plugin works fine to me. But currently I have to configure it for all my submodule projects. How can I configure the plug in in my top-level project for all my modules? Regards Ingo My current configuration in the module projects: <build><plugins><plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-test-source</id> <phase>generate-test-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source> ${project.build.directory}/test-src </source> </sources> </configuration> </execution> </executions> </plugin></plugins></build> dan tran schrieb: > use build-helper-maven-plugin to attach additional test source > directory to > maven. > > If you generate your test source in a custome plugin, you can directly > do it > so > thru maven-project's component. > > -D > > > On 5/19/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: >> >> Hi, >> how can I integrate a generated test source folder like >> "target/test-scr" in the build process of maven 2.0? >> Regards, >> Ingo >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]