Just solved a puzzle in internet
After cloning this project, you can build it by using maven, or import it to eclipse (via import maven project)
Run the following command in terminal
mvn clean install
Do as following instructions
- Download Project Lombok, import it to Eclipse (please refer to the Reference).
- Right click to
Package Explorer
and chooseImport
. - In import wizard, choose
Existing Maven Projects
, then click Next button. - Browse to the project directory (which contains
pom.xml
file), select thepom.xml
file and click Next button.
After builded the project, you can run it by maven by using the following command
mvn -q exec:java
Or you can combine the building and running phase by using the following command
mvn -q -DskipTests clean install exec:java
Go to library.cracklock.App
class, right click to the main method, and choose Run As
> Java Application
.
Home page URL:
How to import Project lombok to Eclipse IDE:
http://stackoverflow.com/questions/22310414/how-to-configure-lombok-in-eclipse-luna