Active Oldest Votes. Here is the updated POM. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. So my manager said to remove the libs from the app. If you have any way that i can test this structure please tell me as well.
You don't want to do this. Servlets in lib? I am listing as this is one more way to do what you suggested as well for other users I did this in my web app's Pom. I only need to run it on a server to see if it works without any issues. I really appreciate your replies, they helped a lot. Tim Holloway. Saloon Keeper. Additional classes such as JDBC drivers come from the appserver's application context classpath and the classpath of the appserver itself.
What those paths are vary according to vendor and version. As I recall, the EAR's application. Thanks Tim, very nicely explained comments. I appreciate them. I agree with you guys. I wonder why do I have an EAR project anyway cos in my ear project there are two jars outside as dependent projects for the war Why are they outside beats me! I know you have an enterprise app when you have a web app and EJB jars it make up an ear.
Is there a benefit of making an ear file containing a war file. I will appreciate if some one can explain me the difference in this case. I am marking this thread as resolved as my original query of making the libs outside the war is answered.
Using our example above, we can also configure filters for our resources. We will add a hypothetical configurations directory to our project:.
To prevent corrupting your binary files when filtering is enabled, you can configure a list of file extensions that will not be filtered. Note: In versions 2.
0コメント