You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Wood <EW...@llbean.com> on 2007/09/07 19:01:31 UTC
maven-archetype-j2ee-simple
I ran the
mvn archetype:create ...
-DarchetypeArtifactId=maven-archetype-j2ee-simple
command to create a j2ee directory structure ant its associated POM.XML
files. Top level directory contains both a src folder and a pom.xml
file that contains the <packaging>pom</packaging> directive. From what
I can ascertain, this will go and invoke other pom.xml files based upon
the <modules>, but how do I get it to actually build any src that I have
contained in the high level source folder?
The structure that is builds is pretty close to the recommended sun
blueprint for a j2ee project so I'd like to be able to have both src
folder and other subdirectories that contain other pom.xml files.
Any help would be greatly appreciated.
Eric
Re: maven-archetype-j2ee-simple
Posted by Ash Stuart <as...@googlemail.com>.
You can think of the outer pom as an abstract class, only the inner ones can
be concrete (=have code).
Ash
On 9/7/07, Wayne Fay <wa...@gmail.com> wrote:
>
> Pom packaging does not contain source.
>
> You must create modules for all your source code etc. The top parent
> pom simply organizes the modules.
>
> Wayne
>
> On 9/7/07, Eric Wood <EW...@llbean.com> wrote:
> > I ran the
> >
> > mvn archetype:create ...
> > -DarchetypeArtifactId=maven-archetype-j2ee-simple
> >
> > command to create a j2ee directory structure ant its associated POM.XML
> > files. Top level directory contains both a src folder and a pom.xml
> > file that contains the <packaging>pom</packaging> directive. From what
> > I can ascertain, this will go and invoke other pom.xml files based upon
> > the <modules>, but how do I get it to actually build any src that I have
> > contained in the high level source folder?
> >
> > The structure that is builds is pretty close to the recommended sun
> > blueprint for a j2ee project so I'd like to be able to have both src
> > folder and other subdirectories that contain other pom.xml files.
> >
> > Any help would be greatly appreciated.
> >
> > Eric
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: maven-archetype-j2ee-simple
Posted by Wayne Fay <wa...@gmail.com>.
Pom packaging does not contain source.
You must create modules for all your source code etc. The top parent
pom simply organizes the modules.
Wayne
On 9/7/07, Eric Wood <EW...@llbean.com> wrote:
> I ran the
>
> mvn archetype:create ...
> -DarchetypeArtifactId=maven-archetype-j2ee-simple
>
> command to create a j2ee directory structure ant its associated POM.XML
> files. Top level directory contains both a src folder and a pom.xml
> file that contains the <packaging>pom</packaging> directive. From what
> I can ascertain, this will go and invoke other pom.xml files based upon
> the <modules>, but how do I get it to actually build any src that I have
> contained in the high level source folder?
>
> The structure that is builds is pretty close to the recommended sun
> blueprint for a j2ee project so I'd like to be able to have both src
> folder and other subdirectories that contain other pom.xml files.
>
> Any help would be greatly appreciated.
>
> Eric
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org