[docs] Cleaned up use of <p> in maven and edge html.

This commit is contained in:
Reinier Zwitserloot committed 2025-03-31 14:18:33 +02:00
1 parent b7896c5a74
commit ed0965b5f9
2 files changed
+22 -14

No files matched your search

+15 -11
View File
@@ -9,14 +9,19 @@
${changelogEdge?no_esc}
</div><div class="row text-center">
<h2><a href="/lombok-edge.jar" id="downloadLink">Download edge release now!</a></h2>
<p>
<p class="text-left">
You can use the edge release from maven using the projectlombok.org repository.
This requires:<ul>
This requires:
</p>
<ul class="text-left">
<li>Adding the lombok maven repository to your <code>repositories</code> section</li>
<li>Adding lombok as a dependency to your project in the <code>dependencies</code> section, specifying version <code>edge-SNAPSHOT</code>.</li>
<li>Adding lombok as an annotation processor in the <code>annotationProcessorPaths</code> section, specifying version <code>edge-SNAPSHOT</code>.</li>
</ul>
These sections in your pom file should look like this:<pre>
</ul>
<p>
These sections in your pom file should look like this:
</p>
<pre>
&lt;repositories&gt;
&lt;repository&gt;
&lt;id&gt;projectlombok.org&lt;/id&gt;
@@ -49,12 +54,12 @@
&lt;/configuration&gt;
&lt;/plugin&gt;
&lt;/plugins&gt;
&lt;/build&gt;
</pre>
</p>
&lt;/build&gt;</pre>
<p>
You can use the edge release from gradle using the projectlombok.org repository:<pre>
You can use the edge release from gradle using the projectlombok.org repository:
</p>
<pre>
repositories {
mavenCentral()
maven { url 'https://projectlombok.org/edge-releases' }
@@ -69,11 +74,10 @@ dependencies {
apt 'org.projectlombok:lombok:edge-SNAPSHOT'
}</pre>
</p>
</div><div class="row text-center">
<p>
Cutting edge a bit too gutsy for you? You can grab the <a href="download.html">stable release</a> instead.
</p>
</div>
</div>
</@main.scaffold>
</@main.scaffold>
+7 -3
View File
@@ -11,7 +11,9 @@
<@s.section title="Adding lombok to your pom file">
<p>
To include lombok as a 'provided' dependency, add it to your <code>&lt;dependencies&gt;</code> block like so:<pre>
To include lombok as a 'provided' dependency, add it to your <code>&lt;dependencies&gt;</code> block like so:
</p>
<pre>
&lt;dependencies&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
@@ -21,9 +23,10 @@
&lt;/dependency&gt;
&lt;/dependencies&gt;
</pre>
</p>
<p>
You also need to add lombok as an annotation processor. This is mandatory starting with JDK23, or JDK9+ if compiling as modules (you have <code>module-info.java</code> files in your build):<pre>
You also need to add lombok as an annotation processor. This is mandatory starting with JDK23, or JDK9+ if compiling as modules (you have <code>module-info.java</code> files in your build):
</p>
<pre>
&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;
@@ -41,6 +44,7 @@
&lt;/plugin&gt;
&lt;/plugins&gt;
&lt;/build&gt;
</pre>
</@s.section>
<@s.section title="Eclipse Compiler (ECJ/JDT)">