Hi, I have tried your suggestion but still the jar is appearing in EAR packaging. ANy reason for the same. I have the belo wmentioned understanding for "provided" scope. "For example, when building a web application for the Java Enterprise Edition, you would set the dependency on the Servlet API and related Java EE APIs to scope provided because the web container provides those classes. This scope is only available on the compilation and test classpath, and is not transitive."
Suppose if i give "provided" scope to all the jars, will my code compile properly as they wont be provided by JDK or JAVA EE API's. Regards Vaski -- View this message in context: http://maven.40175.n5.nabble.com/Excluding-Jars-from-EAR-packaging-tp4340264p4340515.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]
