From 6b940dfc46af5bf5f9cec42df089b8c9b02e5619 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 29 Jul 2009 17:27:23 +0200 Subject: Added support for maven. --- build.xml | 67 ++++++++++++++++++++++++++++++++++++++++++++ doc/maven-pom.xml | 31 ++++++++++++++++++++ website/download.html | 3 ++ website/index.css | 3 -- website/index.html | 4 +-- website/mavenrepo/index.html | 22 +++++++++------ 6 files changed, 117 insertions(+), 13 deletions(-) create mode 100644 doc/maven-pom.xml diff --git a/build.xml b/build.xml index 73c3718b..79d912a8 100644 --- a/build.xml +++ b/build.xml @@ -87,6 +87,7 @@ + @@ -352,4 +353,70 @@ public class CompileChangelog { + + + + + + + + + + + <version>${lombok.version}</version> + + + + + + + + + + + + + + + + + + + + ${mvn.bin.md5} + ${mvn.bin.sha1} + + + + + + + + + + ${mvn.pom.md5} + ${mvn.pom.sha1} + + + org.projectlombok + lombok + ${lombok.version} + + + ${lombok.version} +${mvn.oldversions} + + ${now.millis} + + +]]> + + + ${mvn.manifest.md5} + ${mvn.manifest.sha1} + + + + Now copy maven.tar.bz2 to the website and unpack it in the mavenrepo directory, overwriting whatever's there. + diff --git a/doc/maven-pom.xml b/doc/maven-pom.xml new file mode 100644 index 00000000..bf22ea5d --- /dev/null +++ b/doc/maven-pom.xml @@ -0,0 +1,31 @@ + + 4.0.0 + org.projectlombok + lombok + jar + @VERSION@ + Project Lombok + http://projectlombok.org + Spice up your java: Automatic Resource Management, automatic generation of getters, setters, equals, hashCode and toString, and more! + + + + The MIT License + http://www.opensource.org/licenses/mit-license.php + repo + + + + scm:git:git://github.com/rzwitserloot/lombok.git + scm:git:git://github.com/rzwitserloot/lombok.git + + + + diff --git a/website/download.html b/website/download.html index 5b546b72..cc8ac1c5 100644 --- a/website/download.html +++ b/website/download.html @@ -48,6 +48,9 @@ Download now! +

+ Using maven? Click here! +

diff --git a/website/index.css b/website/index.css index a1480c40..66dcf3bb 100644 --- a/website/index.css +++ b/website/index.css @@ -127,9 +127,6 @@ code { margin-top: 8px; margin-left: 32px; } -.downloadActions a { - display: block; -} .footer { margin-top: 8px; diff --git a/website/index.html b/website/index.html index f28db795..a2a1e748 100644 --- a/website/index.html +++ b/website/index.html @@ -20,8 +20,8 @@
diff --git a/website/mavenrepo/index.html b/website/mavenrepo/index.html index 70cd2778..1d791e31 100644 --- a/website/mavenrepo/index.html +++ b/website/mavenrepo/index.html @@ -1,7 +1,7 @@ - + Project Lombok @@ -32,7 +32,13 @@ h1 { padding-bottom: 0; - margin-bottom: 4px; + margin-bottom: 8px; + } + + #downloadLink { + display: block; + margin-top: 32px; + font-size: 14px; } @@ -46,19 +52,19 @@ <artifactId>lombok</artifactId> <version>@VERSION@</version> </dependency> -</dependencies>
- For now you also need to add the following repository, though we've put in a request at apache to add lombok to - the central maven repository, so you may want to try it without this extra block first and see if it works. If not, also add: -
<repositories> +</dependencies> +<repositories> <repository> <id>projectlombok.org</id> <url>http://projectlombok.org/mavenrepo</url> </repository> </repositories>
- That's all there is to it! + 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