diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-02 01:27:58 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-02 01:27:58 +0200 |
commit | 10a4211346d76b5ae04161003ed0213a5d554b43 (patch) | |
tree | f8500e97a213c0c59a8129900e8a2dafe341ab91 /website/mavenrepo/index.html | |
parent | c66654505fc53c31e7cb5d5dc5f4190e1d99d027 (diff) | |
download | lombok-10a4211346d76b5ae04161003ed0213a5d554b43.tar.gz lombok-10a4211346d76b5ae04161003ed0213a5d554b43.tar.bz2 lombok-10a4211346d76b5ae04161003ed0213a5d554b43.zip |
Explained the correct pom magic incantation to force maven to use a v1.6 compiler.
Diffstat (limited to 'website/mavenrepo/index.html')
-rw-r--r-- | website/mavenrepo/index.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/website/mavenrepo/index.html b/website/mavenrepo/index.html index 1d791e31..ea7b8715 100644 --- a/website/mavenrepo/index.html +++ b/website/mavenrepo/index.html @@ -59,6 +59,19 @@ <url>http://projectlombok.org/mavenrepo</url> </repository> </repositories></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> + </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> |