maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Nicoll <stephane.nic...@gmail.com>
Subject Re: M2 Ear plugin - do you need to list everything
Date Mon, 31 Oct 2005 13:06:23 GMT
Hi Pete,

No, you don't need to specifiy all components, you just need to identify the
component you want to customize, see:
http://maven.apache.org/plugins/maven-ear-plugin/howto.html

Thanks,
St├ęphane



On 10/26/05, Pete <petelists@gmail.com> wrote:
>
> I just wanted to confirm the best usage of the maven-ear-plugin
>
> I want to avoid restating all component artifacts here if possible.
>
> So I started off with <dependency> s just for my web app WARs such
> that the transistive dependency checking would pick up the server side
> EJB jars.
>
> In the <plugin> section I started off using the maven-ear-plugin with just
>
> <configuration>
> <archive>
> <addClasspath>true</addClasspath>
> </archive>
> <configuration>
>
> This seemed to be ok all WARs and EJBs appeared in the EAR without
> needed to state them all.
>
> I just needed to add <javaModule> excluded for the Sun J2EE jars - ok.
>
> Then I noticed the JAR names have the suffix 1.0-SNAPSHOT.jar etc, I
> believe I can modify the names using :-
>
> <ejbModule>
> .....
> <bundleFileName>myejb.jar</bundleFileName>
> </ejbModule>
>
> but this means I need to state all components.
>
> 1) Is this the approach I need i.e. list all ejb artifacts as <ejbModule>
> ?
> 2) My Maven builr .WAR files don't have a suffix 1.0-SNAPSHOT.war ,
> even though the pom.xml for this artifact has
> <version>1.0-SNAPSHOT</version>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
.::You're welcome ::.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message