|Syncing Eclipse and POM dependencies [message #559841]
||Sun, 19 September 2010 23:34
Registered: September 2010
i recently installed m2eclipse. I wanted to know if it is possible to 'teach' eclipse to pick up dependencies from the maven POM.xml? What i mean is this...
Typically in eclipse, you go to Project->Properties->Java Build Path->Libraries and add your dependencies there so that when you edit and compile from eclipse, all works well.
It would be good if this list of libraries are automatically added based on the dependencies in the POM.xml.
Is this possible?
For instance, my project will rely on on Jdk1.6, Stripes, JSTL, hibernate and will run under Tomcat. i've added these as dependencies to the POM.xml, but would like if these can automatically be picked up as dependcies in the eclipse IDE as well. Currently it seems as though i have to add dependencies to both the POM and eclipse. Please let me know if this is possible.
Powered by FUDForum
. Page generated in 0.01631 seconds