From ed0965b5f938240ba13d8c58f4f3443477123fbe Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 31 Mar 2025 13:52:48 +0200 Subject: [PATCH] [docs] Cleaned up use of `

` in maven and edge html. --- website/templates/_download-edge.html | 26 +++++++++++++++----------- website/templates/setup/maven.html | 10 +++++++--- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/website/templates/_download-edge.html b/website/templates/_download-edge.html index 7b98d3b2..8df640c2 100644 --- a/website/templates/_download-edge.html +++ b/website/templates/_download-edge.html @@ -9,14 +9,19 @@ ${changelogEdge?no_esc}

Download edge release now!

-

+

You can use the edge release from maven using the projectlombok.org repository. - This requires:

+

+ These sections in your pom file should look like this: +

+
 <repositories>
 	<repository>
 		<id>projectlombok.org</id>
@@ -49,12 +54,12 @@
 			</configuration>
 		</plugin>
 	</plugins>
-</build>
-
-
-

+</build> +

- You can use the edge release from gradle using the projectlombok.org repository:

+				You can use the edge release from gradle using the projectlombok.org repository:
+			

+
 repositories {
 	mavenCentral()
 	maven { url 'https://projectlombok.org/edge-releases' }
@@ -69,11 +74,10 @@ dependencies {
 	
 	apt 'org.projectlombok:lombok:edge-SNAPSHOT'
 }
-

Cutting edge a bit too gutsy for you? You can grab the stable release instead.

- \ No newline at end of file + diff --git a/website/templates/setup/maven.html b/website/templates/setup/maven.html index 27153cb3..eebd745b 100644 --- a/website/templates/setup/maven.html +++ b/website/templates/setup/maven.html @@ -11,7 +11,9 @@ <@s.section title="Adding lombok to your pom file">

- To include lombok as a 'provided' dependency, add it to your <dependencies> block like so:

+			To include lombok as a 'provided' dependency, add it to your <dependencies> block like so:
+		

+
 <dependencies>
 	<dependency>
 		<groupId>org.projectlombok</groupId>
@@ -21,9 +23,10 @@
 	</dependency>
 </dependencies>
 
-

- You also need to add lombok as an annotation processor. This is mandatory starting with JDK23, or JDK9+ if compiling as modules (you have module-info.java files in your build):

+			You also need to add lombok as an annotation processor. This is mandatory starting with JDK23, or JDK9+ if compiling as modules (you have module-info.java files in your build):
+		

+
 <build>
 	<plugins>
 		<plugin>
@@ -41,6 +44,7 @@
 		</plugin>
 	</plugins>
 </build>
+
<@s.section title="Eclipse Compiler (ECJ/JDT)">