If you add a <dependency> node with scope "provided" for each of these
in the EAR, they should not be included in the EAR.

Are you sure you don't need these jars? Check the dependency report to be sure.

Wayne

On 10/31/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am building an ear from ear-plugin which composes of two moduels a.war
> and b.jar .i only want ti add these 2 modules to ear , but the followinf
> lisr of jars are always added. This is strange for me, I'[ve checked in
> my parent poms for this module and other , nowhere I am using these as
> dependencies .Here is the list
>
>
>
> [INFO] Copying artifact[jar:javax.transaction:jta:1.0.1B]
> to[jta-1.0.1B.jar]
>
> [INFO] Copying artifact[jar:asm:asm:1.5.3] to[asm-1.5.3.jar]
>
> [INFO] Copying
> artifact[jar:commons-collections:commons-collections:2.1.1]
> to[commons-collections-2.1.1.jar]
>
> [INFO] Copying artifact[jar:net.sf.ehcache:ehcache:1.2]
> to[ehcache-1.2.jar]
>
> [INFO] Copying artifact[jar:commons-logging:commons-logging:1.0.4]
> to[commons-logging-1.0.4.jar]
>
> [INFO] Copying artifact[jar:dom4j:dom4j:1.6.1] to[dom4j-1.6.1.jar]
>
> [INFO] Copying artifact[jar:org.hibernate:hibernate:3.2.0.cr5]
> to[hibernate-3.2.0.cr5.jar]
>
> [INFO] Copying artifact[jar:cglib:cglib:2.1_3] to[cglib-2.1_3.jar]
>
> [INFO] Copying artifact[jar:asm:asm-attrs:1.5.3] to[asm-attrs-1.5.3.jar]
>
> [INFO] Copying artifact[jar:antlr:antlr:2.7.6] to[antlr-2.7.6.jar]
>
>
>
> Is this the default nature of ear-plugin or is there any alternate to
> restrict these jars
>
>
>
> Regards,
>
> Nishant Sonar
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to