cloudformation-cli-java-plugin
cloudformation-cli-java-plugin copied to clipboard
Javadoc isn't delomboked
The documentation generated by mvn javadoc:javadoc is missing the methods auto-generated by Lombok. So, the documentation is missing methods like builder() that are used in our examples.
There's a Maven plugin that helps. I've tried it and it seems to work. The steps are:
- Moving the source code from
src/main/javatosrc/main/lombok - Adding the following stanza to
pom.xml:
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>1.18.10.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>delombok</goal>
</goals>
</execution>
</executions>
</plugin>
After that, the javadoc goal produces the full documentation.
We'd happily take a PR to improve this. 👍