#1.install jar to local repository
mvn install:install-file -DgroupId=org.gson -DartifactId=gson -Dversion=1.7.1 -Dpackaging=jar -Dfile=gson-1.7.1.jar
mvn install:install-file -DgroupId=aspectj -DartifactId=aspectjweaver -Dversion=1.5.3 -Dpackaging=jar -Dfile=aspectjweaver-1.5.3.jar
#2.mvn eclipse:eclipse
#"org.apache.maven.lifecycle.LifecycleExecutionException: Request to merge when 'filtering' is not identical. Original=resource src/main/resources"
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse -DdownloadSources=true -DdownloadJavadocs=true
or
<build>
...
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</build>
mvn install:install-file -DgroupId=org.gson -DartifactId=gson -Dversion=1.7.1 -Dpackaging=jar -Dfile=gson-1.7.1.jar
mvn install:install-file -DgroupId=aspectj -DartifactId=aspectjweaver -Dversion=1.5.3 -Dpackaging=jar -Dfile=aspectjweaver-1.5.3.jar
#2.mvn eclipse:eclipse
#"org.apache.maven.lifecycle.LifecycleExecutionException: Request to merge when 'filtering' is not identical. Original=resource src/main/resources"
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse -DdownloadSources=true -DdownloadJavadocs=true
or
<build>
...
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</build>