I am using Maven with Eclipse and I have configured a source repository in the pom.xml. In my .m2 are all the dependencies included jars of other projects that I must use (before they were as lib).
My problem is that it fails to compile in those java classes that refer to class methods included in said jars.
For example:
... mundoMundo.java:[586,91] incompatible types: ....
When in the pom file I have something like this:
<dependency>
<groupId>es.proyectomundo</groupId>
<artifactId>ProyectoMundo</artifactId>
<version>1.0</version>
</dependency>
Why should the dependencies be in .m2?