On 7/23/05, solo turn <[EMAIL PROTECTED]> wrote: > 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?
I don't think so. I have also seen strange behavior with the dependencies's scope. The war plugin takes the dependency if it's neither test, nor provided. Put m2 in debug mode with the -X flag to see more details. Namely, JUnit with scope test is included in an EAR file even if it should not be. I suspect the scope to be 'null' in both cases. I'll check Jira and file a new bug if necessary (but I need to check this first). Cheers, Stéphane 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] > > -- .::You're welcome ::. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]