1. download maven from http://maven.apache.org/
2. unzip, setup MAVEN_HOME
3. change the configuration in %MAVEN_HOME%/conf/settings.xml
(1) add local repository, change <localRepository>C:\software\apache-maven-3.1.1\m2_repository</localRepository> to your select folder, this folder used for save JARs
(2) add proxy if you need
4. download Eclipse with Maven, eg: Kepler
5. setup the Eclipse to the Maven
6. import project as Maven project
7. right click pom.xml -> run as -> you can see the option you can do
note:
(1) add tomcat plugin Sysdeo to make development convenient
(2) issue Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0:test-compile (execution:default, phase: process-test-sources)Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0:compile (execution:default, phase: process-sources)
solution:
In my case of a similar problem, instead of using Andrew's suggestion for the fix, it worked simply after I introduced <pluginManagement> tag to the pom.xml in question. Looks like that error is due to a missing <pluginManagement> tag. So, in order to avoid the exceptions in Eclipse, looks like one needs to simply enclose all the plugin tags inside a <pluginManagement> tag, like so:
<build>
<pluginManagement>
<plugins>
<plugin> ... </plugin>
<plugin> ... </plugin>
....
</plugins>
</pluginManagement>
</build>
Once this structure is in place, the error goes away.