Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] problem importing multi-module project

I'm having a problem importing a Maven multi-module project into Eclipse using m2e (version 1.0.100.20110804-1717, bundled as part of STS) .  The import succeeds but the classpath is not set up correctly.  Instead of seeing src/main/java, etc. on the classpath, I just see src/.  Further, the Maven Dependencies library is not added to the classpath.  The sub-modules all have the M on them indicating that they are Maven projects, but nothing is set up correctly.  Before I start ripping apart my POMs to find the problem, does anybody have any pointers on what the issue might be?  If I run mvn eclipse:eclipse on the command-line and then import the projects into Eclipse, the classpath is set up correctly.

Thanks
Andrew

Back to the top