Wednesday, April 17, 2013

When you build an application using maven, the dependency automatically gets downloaded. However in Eclipse, they are not displayed under referenced libraries section. How do we resolve the issue?

There are two ways of doing it: 
  1. use plugin like m2eclipse 
  2. use mvn eclipse:eclipse - run the command and it shall create a .project and a .classpath file. Problem solved.
I usually prefer the second method.

No comments: