You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Daniel Or <da...@il.nlayers.com> on 2005/10/19 17:02:45 UTC

Multiple source folders in M2

Hi.

 

I'm migrating a Maven 1.0 project to Maven2.

This project has multiple source folders (yes, I know this is highly
discourages).

Can anyone give me a hind/direction how to implement multiple source
folders with Maven2.

 

Thanx

 

   _______________________

   Daniel Or

   __________________

  

 


Re: Multiple source folders in M2

Posted by dan tran <da...@gmail.com>.
I can send you the mojo.
 -Dan

 On 10/19/05, Jason van Zyl <ja...@maven.org> wrote:
>
> On Wed, 2005-10-19 at 14:56 -0700, Brett Porter wrote:
> > Write a plugin that adds a compile source root. See one of the plugins
> that
> > generate sources for an example.
> >
>
> http://maven.apache.org/maven2/guides/mini/guide-generating-sources.html
>
>
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org <http://maven.org>
> http://maven.apache.org
>
> People develop abstractions by generalizing from concrete examples.
> Every attempt to determine the correct abstraction on paper without
> actually developing a running system is doomed to failure. No one
> is that smart. A framework is a resuable design, so you develop it by
> looking at the things it is supposed to be a design of. The more examples
> you look at, the more general your framework will be.
>
> -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Multiple source folders in M2

Posted by Jason van Zyl <ja...@maven.org>.
On Wed, 2005-10-19 at 14:56 -0700, Brett Porter wrote:
> Write a plugin that adds a compile source root. See one of the plugins that
> generate sources for an example.
> 

http://maven.apache.org/maven2/guides/mini/guide-generating-sources.html


-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more examples
you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks 


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


Re: Multiple source folders in M2

Posted by Brett Porter <br...@gmail.com>.
Write a plugin that adds a compile source root. See one of the plugins that
generate sources for an example.

- Brett

On 10/19/05, Daniel Or <da...@il.nlayers.com> wrote:
>
>  Hi.
>
>  I'm migrating a Maven 1.0 project to Maven2.
>
> This project has multiple source folders (yes, I know this is highly
> discourages).
>
> Can anyone give me a hind/direction how to implement multiple source
> folders with Maven2.
>
>  Thanx
>
>  _______________________
>
> Daniel Or
>
> __________________
>
>