Use Lombok via Maven or ivy

You can use lombok with maven by adding the following to your pom.xml:
<dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>@VERSION@</version> <scope>provided</scope> </dependency> </dependencies>
You can use lombok with ivy by adding the following to your ivy.xml:
<dependency org="projectlombok.org" name="lombok" rev="@VERSION@" conf="build" />
CAREFUL: lombok requires using the javac v1.6 compiler or higher.
That's all there is to it!
note: You'll still need to download lombok, or doubleclick on the lombok.jar file downloaded by maven, to install lombok into your eclipse installation.
Download lombok.jar