karma-exchange-org/karma-exchange — pull request #112 by avaliani (2013-06-22 09:17:50+00:00)
Title: Add support for de-lombok'd javadocs.

Adds de-lombok'd javadoc support. In this way all methods exposed by classes are visible.

I had to remove the delombok goal from the build execution since that dramatically slowed down our most common build target "mvn appengine:devserver".

http://awhitford.github.io/lombok.maven/lombok-maven-plugin/usage.html
http://awhitford.github.io/lombok.maven/lombok-maven-plugin/faq.html#alt-src-setup

````xml

generate-sources

delombok

````

The workaround is to explicitly invoke de-lombok prior to generating javadocs.

mvn lombok:delombok
mvn javadoc:javadoc

Or just create an alias 'kex-javadoc'

alias kex-javadoc='mvn lombok:delombok;mvn javadoc:javadoc'

There may be other ways to automatically invoke one maven goal prior to another... something to look into another time.
http://stackoverflow.com/questions/1427740/how-do-i-execute-a-set-of-goals-before-my-maven-plugin-runs