This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes maven2 building a spring web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "maven2 building a spring web application" Watch "maven2 building a spring web application" New topic

maven2 building a spring web application

Ricardo Estafan
Ranch Hand

Joined: Mar 29, 2004
Posts: 84
Hello all,

I have a web application in spring which initially was built using ant.
I now changed it to be built using maven.

However the problem is I extracted all the classes to be a separate module to be built as a jar file. Originally these class- and configuration files could be found under WEB-INF/classes. These classes are preliminary Spring classes and the application context file is also in there. When I build the webapp which has this jar file as a dependency, the application context file is not to be found under the WEB-INF folder anymore but is part of the jar file.

How can I reference the application context file if it resides in a jar file within the WEB-INF/lib folder? Or do you guys advise not to extract all logic as a separate jar? (NOTE: I do intend to use the same logic in more than 1 application)

Thanks for the help!!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: maven2 building a spring web application
It's not a secret anymore!