The jar file listed on "mvn dependency:tree" and jar files inside the war file are different.
If I create an empty project and use the pom file the maven packages the correct jar files, otherwise it adds about 7 extra jar files which makes my webapp fail when I deploy it in jboss. But if I copy the correct jar files created by the empty project with the original pom file, everything works fine in jboss. I am using hibernate, spring, and jaxb. The jar files added by maven during package phase are asm, asm-attrs, xml-apis, .. Is there a way to make maven stop adding extra jar files? Thanks, Let me know if I need to attach pom file -- View this message in context: http://www.nabble.com/maven-adding-wrong-jar-files-in-war-lib-tp22500900p22500900.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
