mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-18 12:14:29 +00:00
[docs] Cleaned up use of <p> in maven and edge html.
This commit is contained in:
2 files changed
+22
-14
No files matched your search
@@ -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>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>projectlombok.org</id>
|
||||
@@ -49,12 +54,12 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</pre>
|
||||
</p>
|
||||
</build></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>
|
||||
@@ -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><dependencies></code> block like so:<pre>
|
||||
To include lombok as a 'provided' dependency, add it to your <code><dependencies></code> block like so:
|
||||
</p>
|
||||
<pre>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
@@ -21,9 +23,10 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</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>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
@@ -41,6 +44,7 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</pre>
|
||||
</@s.section>
|
||||
|
||||
<@s.section title="Eclipse Compiler (ECJ/JDT)">
|
||||
|
||||
Reference in new issue
Block a user