Don't do that. 

Pretty sure the remove will take precedence but I don't think this is something we should consider supported behavior.

Stuart


On Thu, Aug 15, 2013 at 5:51 PM, Rebecca Searls <rsearls@redhat.com> wrote:

What if manifest.mf adds a dependency and jboss-deployment-structure.xml removes it?
Is manifest.mf processes first?

----- Original Message -----
> From: "Stuart Douglas" <stuart.w.douglas@gmail.com>
> To: "Rebecca Searls" <rsearls@redhat.com>
> Cc: wildfly-dev@lists.jboss.org
> Sent: Thursday, August 15, 2013 11:37:19 AM
> Subject: Re: [wildfly-dev] manifest.mf jboss-deployment-structure.xml order of precedence
>
> If both are present both sets of dependencies will be added to the
> deployment.
>
> Stuart
>
>
> On Thu, Aug 15, 2013 at 5:32 PM, Rebecca Searls <rsearls@redhat.com> wrote:
>
> >
> > Is there are order of precedence if both a manifest.mf
> > jboss-deployment-structure.xml
> > are present in an archive?  Does one override the other?
> > _______________________________________________
> > wildfly-dev mailing list
> > wildfly-dev@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/wildfly-dev
> >
>