You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Richard Lewis-Shell <rl...@mac.com> on 2004/02/16 23:37:56 UTC
EAR plugin: application.xml generation without java
Hi,
I am wanting maven to produce an ear file that contains the ear.bundle=true
dependent jars, but withOUT the maven generated application.xml containing a
<module> definition for those jars. Is this possible?
>From my cursory reading of the J2EE spec, a java type <module> is for a J2EE
client application, rather than for a supporting jar (eg. log4j-1.2.8.jar),
and I am finding WebSphere won't deploy these maven generated ear files.
Thanks,
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: EAR plugin: application.xml generation without java
Posted by Richard Lewis-Shell <rl...@mac.com>.
Seems I'm talking to myself here! This issue is in JIRA already - MPEAR-14
----- Original Message -----
From: "Richard Lewis-Shell" <rl...@mac.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, February 17, 2004 5:56 PM
Subject: Re: EAR plugin: application.xml generation without java <module>
> Would it make sense to create a new dependency type for J2EE client
> applications (eg. 'client-jar'), and only have those dependencies end up
> with a <module> in the application.xml (with jar dependencies still being
> bundled in the ear, but without any mention in application.xml)?
>
> Or would it be better to add a property for dependencies that specifies if
> it is a J2EE client application, and only then is the <module> created.
> This would be much like the existing ear.bundle property is used to decide
> which jars go in the ear.
>
> Or is there a better way to do this? Any thoughts appreciated...
>
> Richard
>
> ----- Original Message -----
> From: "Richard Lewis-Shell" <rl...@mac.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Tuesday, February 17, 2004 9:37 AM
> Subject: EAR plugin: application.xml generation without java <module>
>
>
> > Hi,
> >
> > I am wanting maven to produce an ear file that contains the
> ear.bundle=true
> > dependent jars, but withOUT the maven generated application.xml
containing
> a
> > <module> definition for those jars. Is this possible?
> >
> > From my cursory reading of the J2EE spec, a java type <module> is for a
> J2EE
> > client application, rather than for a supporting jar (eg.
> log4j-1.2.8.jar),
> > and I am finding WebSphere won't deploy these maven generated ear files.
> >
> > Thanks,
> >
> > Richard
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: EAR plugin: application.xml generation without java
Posted by Richard Lewis-Shell <rl...@mac.com>.
Would it make sense to create a new dependency type for J2EE client
applications (eg. 'client-jar'), and only have those dependencies end up
with a <module> in the application.xml (with jar dependencies still being
bundled in the ear, but without any mention in application.xml)?
Or would it be better to add a property for dependencies that specifies if
it is a J2EE client application, and only then is the <module> created.
This would be much like the existing ear.bundle property is used to decide
which jars go in the ear.
Or is there a better way to do this? Any thoughts appreciated...
Richard
----- Original Message -----
From: "Richard Lewis-Shell" <rl...@mac.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, February 17, 2004 9:37 AM
Subject: EAR plugin: application.xml generation without java <module>
> Hi,
>
> I am wanting maven to produce an ear file that contains the
ear.bundle=true
> dependent jars, but withOUT the maven generated application.xml containing
a
> <module> definition for those jars. Is this possible?
>
> From my cursory reading of the J2EE spec, a java type <module> is for a
J2EE
> client application, rather than for a supporting jar (eg.
log4j-1.2.8.jar),
> and I am finding WebSphere won't deploy these maven generated ear files.
>
> Thanks,
>
> Richard
>
>
> ---------------------------------------------------------------------
> 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