hello

i don't know whom to ask on this question , so i mail u.

i set SCOPE of all my dependencies to be PROVIDED, just because i don't
want all the related jars to be deploy and package.  after the commond "mvn
clean package" i found all the jars were pakaged in the final war file, and
when i run it in tomcat,exception threw out to indicate duplicate jars, and
i checked /WEB-INF/lib/, it did.

but why,  it's not the same thing in docs.


my env

Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
Maven home: D:\maven\bin\..
Java version: 1.6.0_20, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_20\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

Reply via email to