On Nov 15, 2007 6:54 PM, Simon Nash <[EMAIL PROTECTED]> wrote:

>
> Jean-Sebastien Delfino wrote:
>
> > ant elder wrote:
> >
> >> On Nov 14, 2007 9:11 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED] >
> >> wrote:
> >>
> >>
> >>
> >>> Luciano Resende wrote:
> >>>
> >>>
> >>>> Try removing the test scope from derby dependency on the
> >>>> implementation-data pom.
> >>>>
> >>>>
> >>>
> >>> Did that and it works around the problem, but it's a workaround :)
> >>>
> >>>
> >>>
> >>
> >> Why is doing this in the implementation-data pom.xml a work around?
> >
> > Having a dependency on derby in implementation-data would be like having
> > a direct dependency on tomcat in binding-ws-axis2. It'll bring derby in
> > even if I've decided to use implementation-data with another database.
> >
> >> If
> >> implementation-data needs derby to be used then whats wrong with
> defining
> >> that as a dependency?
> >
> > implementation-data doesn't require derby, you should be able to use it
> > with another database.
> >
> >> Thats like we do with wstx isn't it, there are other
> >> stax impls available but we still explictly define the wstx one.
> >>
> >
> > Is that a good thing? :) I don't think so.
> >
> >> Alternatively, and to answer the initial question, if its just wanted
> >> that
> >> derby gets included in the bin distro lib folder then that can be done
> by
> >> adding the dependency to distribution/pom.xml.
> >>
> >
> > Ah, this is what I was looking for! Great, I'll try that. Thanks.
> >
> I don't think we should put sample dependencies in the bin distro lib
> folder.  If we need to include them in the bin distro (and I'm not 100%
> convinced about that), then I think they should go in some other
> directory.
>
> An alternative approach would be to have a samples distro that contains
> the samples plus dependencies that are only used by the samples and not
> by the main runtime.  I think this is better as it allows us to add more
> samples without pushing up the size of the main binary distro.

Personally I like to see samples with whatever I download and I'd rather
have a bigger binary distro than a separate download. If there is a real
need to reduce the distribution size can we do it in a different way, for
example, have groups of extensions (and their samples) distributed
separately?


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

Reply via email to