somehow i do not understand that, i tried:

  <dependencies>
    <dependency>
      ...
      <scope>provided</scope>
    </dependency>

and it still includes it into the war. is this a bug in the war
plugin? if i make a type, like "prod" instead of "provided", it still
works and packs it into the war.

-solo

On 7/20/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> see "provided" on that page.
> 
> solo turn wrote:
> 
> >hi,
> >
> >how shared libraries are handled by the maven dependency management,
> >with respect to the following areas:
> >* compile:
> > seems to be perfect
> >* eclipse (create an eclipse project referencing libraries)
> > not sure, but works
> >* install (build a war, ear)
> > i have no idea how to declare a dependency as
> > "shared library" so it does not get included in the deliverable
> >
> >could you please explain how you specify "shared libraries" in the pom
> >file, so they do not get inlcuded when building a war? maybe on
> >http://maven.apache.org/maven2/dependencies.html.
> >
> >-solo
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (Cygwin)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFC3lLVOb5RoQhMkRMRAhs7AJ9mIBPPpk6G+ifAjB80ESr74HbGRwCgvcIj
> YO4YuaTw/IWTGglwIaTsXx8=
> =wgPw
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to