I'm a new to Maven and I didn't find the proper answer to the following problem.
For example I have libraries that my project depends on like: log4j, connector j, servlet api, junit, struts etc. When I'm using just Tomcat I can put this jars to %CATALINA_HOME%\lib
folder and use them.
But as Maven
comes in I can configure pom.xml
for all dependencies and their scopes.
If I do it - can I remove libs from %CATALINA_HOME%\lib
folder ? If I can then how Tomcat
knows where to find this 3rd party jars ?
And Is it a good practice just to have tomcat-native libs (tomcat-util, tomcat-juli, jasper etc) in %CATALINA_HOME%\lib
folder and specify other libs in pom.xml
?
Aucun commentaire:
Enregistrer un commentaire