I am taking my first crack at Maven and ran into a problem. We have an application that is deployed on Tomcat 6. We have several jar files added to the lib folder of tomcat. Then in our build path we add this tomcat library.
How can I add the tomcat library to maven? Is this a bad way to do this? Are there any alternatives?
Thanks in advance
Anything in tomcat’s lib directory should be a maven dependency with scope
provided:Source: Maven Dependency Scope
Example:
If the libraries are your own, you will have to install or deploy them to a local or remote repository.