|Maven Eclipse Plugin and compile errors [message #505214]
||Mon, 28 December 2009 16:24
| Missing name Mising name
Registered: October 2009
I am using Eclipse 3.51, Maven 2.0.9, Java 1.4, with the Maven Eclipse plugin (not m2Eclipse).|
I have a flat multi module project that is set up as follows (module Parent with the parent pom, module A and B is dependent on C).
Importing the four modules in for the first time will show compile errors as expected since I have not ran the eclipse plugin. With my local repository empty, running eclipse clean will resolve all compile errors and dependencies within the my local workspace.
If I were to make some minor code changes to module B and run the eclipse plugin again, compile errors would show up in module A and B. Compile errors about classes that cannot be found. Its like module C is no longer in the classpath for A and B to see.
I look at the .classpath file and its definitely looking at the right modules in the Eclipse workspace. If I delete the maven repository and do the eclipse clean again, the compile errors about unresolved classes are fixed.
Whats going on?
Powered by FUDForum
. Page generated in 0.08923 seconds