Hi,

 I have tried the same with little success.

 "earSourceExcludes" excludes the contents from Ear Source Directory but
doesnt exclude it from EAR packaging.


 Regards
Vaski

On Tue, Apr 26, 2011 at 8:18 PM, Sony Antony [via Maven] <
[email protected]> wrote:

> Assuming you are using the maven-ear-plugin, did you try
> *earSourceExcludes*<
> http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html#earSourceExcludes>
>
> --sony
>
> On Tue, Apr 26, 2011 at 7:18 AM, vaskikamal <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4341094&i=0&by-user=t>>
> wrote:
>
> > Hi Anders,
> >  My project is dependent on many thirdparty jars. These jars internally
> > maintain thier own pom.xml.
> >
> >  I applied your suggestion and change the scope to "provided" for below
> > mentioned dependency.
> >
> >  For example, consider the below dependency:
> >         <dependency>
> >            <groupId>com.fairisaac.fidms.ThirdParty</groupId>
> >            <artifactId>dom4j</artifactId>
> >            <version>1.6.1</version>
> >            <scope>provided</scope>
> >        </dependency>
> >
> > Logically, it should have been excluded from EAR packaging. But, it was
> > not.
> >
> > I am unable to understand why its not working.
> >
> > Can some one please guide me in resolving the issue.
> >
> > Regards
> > Vaski
> >
> > --
> > View this message in context:
> >
> http://maven.40175.n5.nabble.com/Excluding-Jars-from-EAR-packaging-tp4340264p4340680.html<http://maven.40175.n5.nabble.com/Excluding-Jars-from-EAR-packaging-tp4340264p4340680.html?by-user=t>
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=4341094&i=1&by-user=t>
> > For additional commands, e-mail: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=4341094&i=2&by-user=t>
> >
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://maven.40175.n5.nabble.com/Excluding-Jars-from-EAR-packaging-tp4340264p4341094.html
>   To unsubscribe from Excluding Jars from EAR packaging, click 
> here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4340264&code=dmFza2lrYW1hbEBnbWFpbC5jb218NDM0MDI2NHwtMTA5MDQ2NTI5Nw==>.
>
>


--
View this message in context: 
http://maven.40175.n5.nabble.com/Excluding-Jars-from-EAR-packaging-tp4340264p4341388.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to