First step: Download and configure Maven
: http://maven.apache.org/download.cgi
Download the second item (binary Zip) after decompression.
Step Two: Add environment variables
maven_home:d:\apache-maven-3.0.2 (Modify according to your own directory)
Path:%maven_home%\bin
After the configuration is complete, use the command line to type mvn-version for testing, and the following screen shows that the configuration was successful.
Step three: Compile the project
- Go to the directory where you want to compile the project, execute Mvnpackage, and perform some downloads for the first time and wait. If the download is aborted, you can type MVN clean package to re-execute;
- Compile the project into Eclipse code, execute: MVN eclipse:eclipse;
- To prevent Lib conflicts, execute mvn clean.
Fourth Step: Import Eclipse
Select "Import"-"existing projects into workspace" in eclipse-navigate to the project folder.
Add: Zorka will error when importing Eclipse,
The method Assertequals (object, Object) isambiguous for the type objectinspectorunittest,
Workaround reference: Http://stackoverflow.com/questions/1811103/java-junit-the-method-x-is-ambiguous-for-type-y
Building Eclipse projects with Maven (take Zorka as an example)