<configuration>
<sources>
<source>${basedir}/../../relative to your project
directory</source>
</sources>
</configuration>
is there a reason why you want to do this way? can you just do multi
modules build?
-D
On Mon, Mar 15, 2010 at 6:00 PM, Kendall Shaw <[email protected]> wrote:
> Kendall Shaw <[email protected]> writes:
>
>> Hi,
>>
>> I have source code in multiple directories that I want to compile. How
>> can I do that? I can't change the location.
>>
>> I have read about build-helper-maven-plugin, but I have not managed to
>> get it to work, e.g.:
>
>
> [snip]
>
> It appears to work if I use antrun plugin to copy the sources below the
> project directory,
> e.g. ${project.build.directory}/generated-sources/main/java. And, then
> add that directory using build-helper plugin.
>
> Is there a way around that? I'd rather not be copying source files.
>
> Kendall
>
> ---------------------------------------------------------------------
> 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]