Check the <scope> atribute of your dependency-element (in Maven2).
e.g.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>1.2.6</version>
<scope>compile</scope>
</dependency>
The scope variations are: compile, runtime, test and provided where compile
and runtime scope dependecies will be put into the package (EAR, WAR).
Check also that the packaging is war, not jar in your pom.xml. Otherwise the
packaging way is correct (mvn package).
--
View this message in context:
http://www.nabble.com/packaging-without-libs---tf2769638s177.html#a7727080
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]