1, in the installation directory of the setting file added 2 domestic stable mirror:
<mirror>
<id>nexus-osc</id>
<mirrorOf>central</mirrorOf>
<name>nexus osc</name>
<url>http://maven.oschina.net/content/groups/public/</url>
</mirror>
<mirror>
<id>nexus-osc-thirdparty</id>
<mirrorOf>thirdparty</mirrorOf>
<name>nexus OSC thirdparty</name>
<url>http://maven.oschina.net/content/repositories/thirdparty/</url>
</mirror>
2, window->preference->java->installed Jres->edit
Set in default VM arguments
-dmaven.multimoduleprojectdirectory= $M 2_home
3. Modify the Setting file
<profile>
<id>jdk-1.4</id>
<activation>
<jdk>1.4</jdk>
</activation>
Change the JDK to the version of your project, add properties
<id>jdk-1.7</id>
<activation>
<jdk>1.7</jdk>
</activation>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
</properties>
Last eclipse, maven---Update project, OK
maven-Initialization settings