<!DOCTYPE html> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="../logi/reset.css" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <meta name="description" content="Spice up your java" /> <title>Project Lombok</title> <style type="text/css"> code { font-size: 12px; font-family: monospaced; } .snippet { white-space: pre; border: 1px dashed #888; margin: 8px 8px 8px 0px; padding: 8px; font-family: "Courier New", Courier; } .meat { margin: 16px auto 0 auto; width: 800px; } .backLink { padding-top: 100px; width: 100%; text-align: right; } h1 { padding-bottom: 0; margin-bottom: 8px; } #downloadLink { display: block; margin-top: 32px; font-size: 14px; } </style> </head><body> <div class="meat"> <h1>Use Lombok via Maven or ivy</h1> <div> You can use lombok with maven by adding the following to your <strong>pom.xml</strong>: <div class="snippet"><dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>@VERSION@</version> <scope>provided</scope> </dependency> </dependencies></div> </div> <div> You can use lombok with ivy by adding the following to your <strong>ivy.xml</strong>: <div class="snippet"><dependency org="org.projectlombok" name="lombok" rev="@VERSION@" conf="build" /></div> </div> <div> <em><strong>CAREFUL:</strong></em> lombok requires using the javac v1.6 compiler or higher. </div> That's all there is to it!<br /> <em>note:</em> You'll still need to download lombok, or doubleclick on the lombok.jar file downloaded by maven, to install lombok into your eclipse installation.<br /> <a id="downloadLink" href="http://projectlombok.googlecode.com/files/lombok.jar">Download lombok.jar</a> </div> <div class="backLink"> <a href="../index.html">back to the project homepage</a> </div> </div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-9884254-1"); pageTracker._trackPageview(); } catch(err) {} </script> </body></html>