You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/templates/setup/maven.html
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,9 @@
11
11
12
12
<@s.section title="Adding lombok to your pom file">
13
13
<p>
14
-
To include lombok as a 'provided' dependency, add it to your <code><dependencies></code> block like so:<pre>
14
+
To include lombok as a 'provided' dependency, add it to your <code><dependencies></code> block like so:
15
+
</p>
16
+
<pre>
15
17
<dependencies>
16
18
<dependency>
17
19
<groupId>org.projectlombok</groupId>
@@ -21,9 +23,10 @@
21
23
</dependency>
22
24
</dependencies>
23
25
</pre>
24
-
</p>
25
26
<p>
26
-
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>
27
+
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):
0 commit comments