You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephane Nicoll <st...@gmail.com> on 2007/02/04 11:19:46 UTC

Re: [M2] not to include dependencies in an ear file

It depends why you want to exclude it. If it is provided by the
container then using the provided scope makes sense. Otherwise you can
just use the excluded flag in the module's configuration.

Regards,
Stéphane



On 1/24/07, Roberto UserList <rc...@gmail.com> wrote:
> Perfect Marco and Wayne, It worked fine, but, what is strange is that ear
> file, is a subproject of a main project and I had to remove the scope
> "compile" of the other subprojects to work perfectly.
> Bu the way, everything is ok now.
> Thanks a lot.
> Regards,
> Roberto.
>
>
> On 1/24/07, Wayne Fay <wa...@gmail.com> wrote:
> >
> > Try <scope>provided</scope> for those dependencies to leave them out of
> > the EAR.
> >
> > Wayne
> >
> > On 1/24/07, Marco Mistroni <mm...@gmail.com> wrote:
> > > Hi,
> > >   can u try to change the <scope>  of those dependencies?
> > >
> > > hth
> > >  marco
> > >
> > >
> > >
> > > On 1/24/07, Roberto UserList <rc...@gmail.com> wrote:
> > > >
> > > > Hi all ! What can I do not to include the dependencies described in
> > the
> > > > master pom into an ear file?
> > > > Thanks in advance for help.
> > > > Regards,
> > > > Roberto.
> > > >
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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