maven 2 - How to avoid the dependencies of jar files to be included in the war build -


I have optimized pom.xml in maven to create a war file, for which I compile some class files I am on some jar files which I have included them as dependencies. The build was successful, but the end result puts me in trouble. Now I have class files which are involved in my war which I do not want.

Can you help me get rid of jars with the help of the lib folder of war?

Regards Gnash-85

You just have to change " provide < " Scope " "Liberty provided" is not included in the final war file for your reliance on Maven POM from " compiled " (by default) "(by default) Will be done.

All options are listed.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -