When building a project using MVN eclipse:eclipse, reference a project that was written locally and found out how all references were unsuccessful
When you view the. classpath file, the referenced file appears in this form
[HTML]View Plaincopy 
 
 - <Classpathentry Kind="src" Path="/test.client"/>  
and look at the references to other jar packages like this
[HTML]View Plaincopy 
 
 - <Classpathentry Kind="var" Path="M2_repo/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar"/>  
kind is different.
Finally, it is necessary to set MAVEN Eclipse plugin as a parameter "useprojectreferences", which defaults to true. If the default value is used, then the project will introduce a local source code project or create a sub-project without introducing a jar package. Set to False, the project will reference the local warehouse's jar package. 
See: Http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#useProjectReferences
Finally, MAVEN's eclipse configuration is as follows:
[HTML]View Plaincopy 
 
 
 - < plugin >   
-  <groupId>Org.apache.maven.plugins</groupId>  
- <Artifactid>Maven-eclipse-plugin</Artifactid>  
- <version>2.9</version>  
- < Configuration >   
-  <useprojectreferences>false</useprojectreferences>  
-         </ configuration  >  &NBSP;&NBSP;   
- </ plugin >   
 [java][]maven]mvn eclipse:eclipse import jar failed, direct import project problem resolution