sorry my mistake, SCOPE_RUNTIME = systemScope = false; providedScope = false; compileScope = true; runtimeScope = true; testScope = false;
-------AbstractWarMojo snippet ------ // TODO: utilise appropriate methods from project builder ScopeArtifactFilter filter = new ScopeArtifactFilter( Artifact.SCOPE_RUNTIME ); if ( !artifact.isOptional() && filter.include( artifact ) ) { String type = artifact.getType(); if ( "tld".equals( type ) ) { copyFileIfModified( artifact.getFile(), new File( tldDirectory, targetFileName ) ); } else -------AbstractWarMojo snippet ------ thanx for the correction mike. i need to stop assuming things. =) Mike Perham wrote: > Not true. > > -----Original Message----- > From: Pete Marvin King [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 09, 2006 11:52 AM > To: Maven Users List > Subject: Re: WEB-INF/lib excludes once more > > > if you want to exclude certain dependencies from the war, just specify > the scope as compile. only dependencies with runtime scope will be > included in the war. > > --------------------------------------------------------------------- > 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]