You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gex Dev <ge...@googlemail.com> on 2007/08/09 14:08:54 UTC

[m2] multiple sourceDirectory possible ?

Hi,

A little problem :

Constraints :
  - have some java projects build with ant, those projects have multiple
source directories.
  - would like to build those projects with Maven2
  - the former ant build must work
  - the structure of sources mustn't be changed

How can i do this ? Maven don't allowed multiple sourceDirectory...

Regards,

Gerald Reinhart

Re: [m2] multiple sourceDirectory possible ?

Posted by Mick Knutson <mi...@gmail.com>.
This module ROCKS!!!!!



On 8/9/07, Markku Saarela <ma...@iki.fi> wrote:
>
> Use maven-build-helper plugin
> http://mojo.codehaus.org/build-helper-maven-plugin/
>
> - markku
>
> Gex Dev wrote:
> > Hi,
> >
> > A little problem :
> >
> > Constraints :
> >   - have some java projects build with ant, those projects have multiple
> > source directories.
> >   - would like to build those projects with Maven2
> >   - the former ant build must work
> >   - the structure of sources mustn't be changed
> >
> > How can i do this ? Maven don't allowed multiple sourceDirectory...
> >
> > Regards,
> >
> > Gerald Reinhart
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

Re: [m2] multiple sourceDirectory possible ?

Posted by Markku Saarela <ma...@iki.fi>.
Use maven-build-helper plugin  
http://mojo.codehaus.org/build-helper-maven-plugin/

- markku

Gex Dev wrote:
> Hi,
>
> A little problem :
>
> Constraints :
>   - have some java projects build with ant, those projects have multiple
> source directories.
>   - would like to build those projects with Maven2
>   - the former ant build must work
>   - the structure of sources mustn't be changed
>
> How can i do this ? Maven don't allowed multiple sourceDirectory...
>
> Regards,
>
> Gerald Reinhart
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org