You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roberto UserList <rc...@gmail.com> on 2007/01/24 15:14:29 UTC

[M2] not to include dependencies in an ear file

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.

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

Posted by Stephane Nicoll <st...@gmail.com>.
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


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

Posted by Roberto UserList <rc...@gmail.com>.
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
>
>

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

Posted by Wayne Fay <wa...@gmail.com>.
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


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

Posted by Marco Mistroni <mm...@gmail.com>.
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.
>
>