aboutsummaryrefslogtreecommitdiff
path: root/website/templates
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2020-01-08 01:32:10 +0100
committerRoel Spilker <r.spilker@gmail.com>2020-01-08 01:32:25 +0100
commit299078684931e91863d7f3cfcc30d2c8e9eb24ee (patch)
tree30ca79753b7e2cd73a91e1cc076dc3943c5db4ff /website/templates
parentc497a2ab16d35ec9984bb7ddd04af98580a2c4cc (diff)
downloadlombok-299078684931e91863d7f3cfcc30d2c8e9eb24ee.tar.gz
lombok-299078684931e91863d7f3cfcc30d2c8e9eb24ee.tar.bz2
lombok-299078684931e91863d7f3cfcc30d2c8e9eb24ee.zip
Document compiling java modules with maven. Fixes #2325
Diffstat (limited to 'website/templates')
-rw-r--r--website/templates/setup/maven.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/website/templates/setup/maven.html b/website/templates/setup/maven.html
index 5ca09126..0e28421f 100644
--- a/website/templates/setup/maven.html
+++ b/website/templates/setup/maven.html
@@ -24,6 +24,20 @@
</p>
</@s.section>
+ <@s.section title="JDK9+ with module-info.java">
+ <p>
+ The configuration of the compiler plug-in should contain the following:<pre>
+&lt;annotationProcessorPaths&gt;
+ &lt;path&gt;
+ &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
+ &lt;artifactId&gt;lombok&lt;/artifactId&gt;
+ &lt;version&gt;${version}&lt;/version&gt;
+ &lt;/path&gt;
+&lt;/annotationProcessorPaths&gt;
+</pre>
+ </p>
+ </@s.section>
+
<@s.section title="Delomboking: The Lombok Maven Plugin">
<p>
There is a plugin for Maven that we recommend you use if you want to delombok via maven. Useful if you want to run source analysis tools on your source <em>after</em> lombok has been applied, or if you want to generate javadoc. The plugin is open source. Read more <a href="http://awhitford.github.io/lombok.maven/lombok-maven-plugin/">about the lombok maven plugin</a>.