It's supported by few people
In theory it's better to create a different project for your samples
If you don't want to / cannot do it, you can use the maven:addPath in a
pregoal
<ant:path id="myCustomPath"
location="${basedir}/samples/src"/>
<maven:addPath id="maven.compile.src.set"
refid="myCustomPath"/>
Arnaud
On 1/19/06, Afkham Azeez <[EMAIL PROTECTED]> wrote:
>
> Hi Folks,
> Isn't maven 1 supported or used anymore?
>
> On 1/16/06, Afkham Azeez <[EMAIL PROTECTED]> wrote:
> > Hi Folks,
> > I have a project with multiple maven modules. In one of these modules,
> > there are 2 different source directories. When these module is
> > compiled, I need maven to compile both these sources for this module.
> > In the project.xml the <sourceDirectory>src</sourceDirectory> element
> > can only be used specify a single source directory, I suppose. I have
> > another source directory in this module (samples/src).
> >
> > Any help will be appreciated.
> >
> > --
> > Thanks in advance
> > Afkham Azeez
> >
>
>
> --
> Thanks
> Afkham Azeez
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>