You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martijn Dashorst <ma...@dashorst.dds.nl> on 2004/06/29 14:43:57 UTC
Missing type element in the POM
Hi (hoping to address the correct forum),
I am busy developing a webapplication using maven. When I call the
distribution plugin, it automatically assumes a JAR type of project.
IMO a tag next to <groupId> and <id> called <type> should be included in
the POM, so dist (and other plugins) can use this to their advantage,
like requiring 'war:war', 'ear:ear', or 'jar:jar' before creating a zip
file.
Martijn
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Missing type element in the POM
Posted by Brett Porter <br...@gmail.com>.
the next revision of the POM (post 1.0) will include this.
setting maven.multiproject.type will get you half-way.
- Brett
On Tue, 29 Jun 2004 14:43:57 +0200, Martijn Dashorst
<ma...@dashorst.dds.nl> wrote:
> Hi (hoping to address the correct forum),
>
> I am busy developing a webapplication using maven. When I call the
> distribution plugin, it automatically assumes a JAR type of project.
>
> IMO a tag next to <groupId> and <id> called <type> should be included in
> the POM, so dist (and other plugins) can use this to their advantage,
> like requiring 'war:war', 'ear:ear', or 'jar:jar' before creating a zip
> file.
>
> Martijn
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Missing type element in the POM
Posted by Vincent Massol <vm...@pivolis.com>.
Agreed. We have added this in POM v4 which will be available with Maven 1.1
(soon now).
-Vincent
> -----Original Message-----
> From: Martijn Dashorst [mailto:martijn@dashorst.dds.nl]
> Sent: mardi 29 juin 2004 14:44
> To: users@maven.apache.org
> Subject: Missing type element in the POM
>
> Hi (hoping to address the correct forum),
>
> I am busy developing a webapplication using maven. When I call the
> distribution plugin, it automatically assumes a JAR type of project.
>
> IMO a tag next to <groupId> and <id> called <type> should be included in
> the POM, so dist (and other plugins) can use this to their advantage,
> like requiring 'war:war', 'ear:ear', or 'jar:jar' before creating a zip
> file.
>
> Martijn
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org