Sunday, September 12, 2010

mvn eclipse:eclipse is not pulling in dependencies properly

“mvn eclipse:eclipse” generates a .classpath but the transitive dependencies are sometimes different to those reported by “mvn dependency:tree” (and used to generate a war file)
 
 
See this page:
 
 
 
Forcing a change to the .classpath file does not help Eclipse tomcat servers (they still pick up what “mvn eclipse:eclipse” generated).