Restarting you development environment will not remove the maven target directory and artifacts. Try running the following Maven command 'mvn clean package' and check the contents of the target/<war_file_directory>/WEB-INF/lib
-Kyle On Wed, Apr 8, 2009 at 9:27 AM, Robert Einsle <rob...@einsle.de> wrote: > Hy, > > i think i run it several times, incl restart of my Developementenvironment. > > Robert > > Kyle Bober schrieb: > > That should work the way you have it configured. Did you run the clean > > goal after you changed the dependency scope to provided. This will > > make sure that a previous build that may have contained the > > dependencies is completely removed. > > > > -Kyle > > > > On Wed, Apr 8, 2009 at 5:22 AM, Robert Einsle <rob...@einsle.de > > <mailto:rob...@einsle.de>> wrote: > > > > Hy List, > > > > i've configured dependencies (libraries) als Scope "provided", and > > would aspect they are not packed to the destination war-File. > > > > --- cut --- > > <dependency> > > <groupId>javax.servlet</groupId> > > <artifactId>servlet-api</artifactId> > > <version>2.2</version> > > <scope>provided</scope> > > </dependency> > > <dependency> > > <groupId>javax.mail</groupId> > > <artifactId>mail</artifactId> > > <version>1.4</version> > > <scope>provided</scope> > > </dependency> > > <dependency> > > <groupId>javax.activation</groupId> > > <artifactId>activation</artifactId> > > <version>1.1</version> > > <scope>provided</scope> > > </dependency> > > --- cut --- > > > > but these 3 Libraries are in my destination war-File. > > > > > > > > How can i configure this Dependencies in right way that they are > > provided for compile, but are not in my destination war-File?? > > > > Thanks a lot. > > > > Robert > > > > > > > > > > -- > > -Act as if it were impossible to fail > -- -Act as if it were impossible to fail