Add Maven Dependent Libraries to Deployment Assembly in Eclipse

When you create a maven web project and start to add maven dependencies, the dependent jars are not assembled and deployed to your local tomcat server. Here is a simple step to add these libraries so every time you add dependencies to pom, they are deployed.
right click the project, and bring up the properties -> Deployment Assembly

eclipse-assemply

Click add

assemply-add

Then select Java Build Path Entries -> Maven Dependencies -> Finish

Tagged with: , , ,
Posted in Tools

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>