diff options
Diffstat (limited to 'website/mavenrepo/index.html')
-rw-r--r-- | website/mavenrepo/index.html | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/website/mavenrepo/index.html b/website/mavenrepo/index.html index 6b8ea48d..aa7f4935 100644 --- a/website/mavenrepo/index.html +++ b/website/mavenrepo/index.html @@ -43,7 +43,7 @@ </style> </head><body> <div class="meat"> - <h1>Use Lombok via Maven</h1> + <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> @@ -53,25 +53,14 @@ <version>@VERSION@</version> <scope>provided</scope> </dependency> -</dependencies> -<repositories> - <repository> - <id>projectlombok.org</id> - <url>http://projectlombok.org/mavenrepo</url> - </repository> -</repositories></div> +</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="projectlombok.org" name="lombok" rev="@VERSION@" conf="build" /></div> + </div> <div> - <em><strong>CAREFUL:</strong></em> lombok requires using the javac v1.6 compiler. If this is not your default compiler, you'll need to add the following to your - pom file to explicitly set the java compiler version to use: - <div class="snippet"><plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerVersion>1.6</compilerVersion> - <source>1.6</source> - <target>1.6</target> - </configuration> -</plugin></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 /> |