You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Steve Mactaggart <st...@bestbets.com.au> on 2006/09/25 06:57:47 UTC
Multiple Source Directories
Hi all,
I'm just starting to convert my codebase across to maven, in doing so I
will have to keep the bulk of the code in the same structure until I get
maven able to do full builds then I can start segmenting projects.
So far so good.. But one hitch. I have 2 directories in 1 project that
are source, 1 is the true source, and the 2nd is the stubs for my axis
webservice.
I read in http://jira.codehaus.org/browse/MAVEN-723 that the ability to
have multiple sourceDirectory tags in one project doesn't work.
But this is back in '04, any suggestions now?
Steve
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiple Source Directories
Posted by Steve Mactaggart <st...@bestbets.com.au>.
Brilliant thanks..
Worked like a charm.
On Sun, 2006-09-24 at 22:02 -0700, dan tran wrote:
> use build-helper-maven-plugin to add additional source root to your project.
>
> -D
>
>
> On 9/24/06, Steve Mactaggart <st...@bestbets.com.au> wrote:
> >
> > Hi all,
> >
> > I'm just starting to convert my codebase across to maven, in doing so I
> > will have to keep the bulk of the code in the same structure until I get
> > maven able to do full builds then I can start segmenting projects.
> >
> > So far so good.. But one hitch. I have 2 directories in 1 project that
> > are source, 1 is the true source, and the 2nd is the stubs for my axis
> > webservice.
> >
> > I read in http://jira.codehaus.org/browse/MAVEN-723 that the ability to
> > have multiple sourceDirectory tags in one project doesn't work.
> >
> > But this is back in '04, any suggestions now?
> >
> > Steve
> >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiple Source Directories
Posted by dan tran <da...@gmail.com>.
use build-helper-maven-plugin to add additional source root to your project.
-D
On 9/24/06, Steve Mactaggart <st...@bestbets.com.au> wrote:
>
> Hi all,
>
> I'm just starting to convert my codebase across to maven, in doing so I
> will have to keep the bulk of the code in the same structure until I get
> maven able to do full builds then I can start segmenting projects.
>
> So far so good.. But one hitch. I have 2 directories in 1 project that
> are source, 1 is the true source, and the 2nd is the stubs for my axis
> webservice.
>
> I read in http://jira.codehaus.org/browse/MAVEN-723 that the ability to
> have multiple sourceDirectory tags in one project doesn't work.
>
> But this is back in '04, any suggestions now?
>
> Steve
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>