How to load pom dependencies in an eclipse project classpath?

We use eclipse helios with the m2eclipse plugin. For a maven project extracted from CVS, how can I tell eclipse to automatically extract all banks needed for this project from the dependencies mentioned in pom.

thank you for your time

+5
source share
1 answer

m2eclipse should do this for you (dependencies will be copied to your local repository) and create a valid class path. You have doubts that the allowed dependencies are out of date.

<select project> -> Context Menu -> Maven -> Update Dependencies

, ( ) , go-offline Maven Dependency Plugin:

mvn dependency:go-offline

, copy-dependencies

mvn dependency:copy-dependencies

Maven ( ) target/dependency .

eclipse, :

<select project> -> Context Menu -> Run As -> Maven build... -> <type goals> -> Run
+5

All Articles