Eclipse Galileo: 3.5.0
Apache
Maven:2.2.0
JDK1.6.0_11
I am creating a multiple module project using maven externally. My parent project ejb3-enterprise consists of three underlying modules:
ejb3-enterprise-ear
ejb3-enterprise-ejb
ejb3-enterprise-webapp
I want to import my project in eclipse, so i followed the directives in using maven eclipse plugin:
Run command mvn eclipse:eclipse install before importing into eclipse workspace
Eclipse needs to know the path to the local maven repository. Therefore the classpath variable M2_REPO has to be set. Execute the following command:
mvn -Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo
Any time i add a new dependency in pom.xml and run mvn eclipse:clean and mvn eclipse:eclipse and refresh the project in eclipse i can see the classpathentry in .classpath but not in my projects
java build path. If i run some tests outside eclipse using maven they run fine even though i have compilation errors complaining about not resolving certain classes im calling in eclipse.
is this down to the version of eclipse im using or why is my project not displaying the new jar files in build path.
Regards,
Shane.