Comments (5)
👤 jacek99 🕗 Sep 02, 2009 at 14:36 UTC
What steps will reproduce the problem?
- Create a @ Data POJO with some fields
- In Maven, run mvn javadoc:javadoc
What is the expected output? What do you see instead?
@ Data - generated getters/setters should show in the Javadoc.
Instead nothing shows, the Javadoc shows a class with no methods at all.
What version of the product are you using? On what operating system?
0.8.3, Linux.
from lombok.
👤 reinierz 🕗 Sep 03, 2009 at 00:18 UTC
WOW! We figured this out well before we delivered the first working prototype of lombok and thought people
would throw a FIT when they realized their methods would not show up in javadoc.
It took THIS long for someone to notice. Much kudos, respect, and all such credits to you, sir, for finding
this issue. Though, I must conclude clearly nobody gives a crud about javadoc if it took this long for folks to
notice.
It's been on our radar for some time, and we have 2 different ideas on how to fix it. Both of them are
somewhat complicated, so it's not critical priority.
Can you do me a favour and check if you can specify the doclet to use for generating javadoc in your maven
pom.xml file? One of our two strategies involves using a doclet, the other will definitely require some fancy
footwork in your maven pom to make tick. (new plugin, most likely). Hence our preference for the doclet
solution, but it would help if we were sure that would in fact make maven-based javadoc building easy.
Thanks for checking!
from lombok.
👤 jacek99 🕗 Sep 03, 2009 at 01:16 UTC
I only found out cause I was using the Javadoc as a high level overview for some new
APIs and realized they're all empty! :-)
Quick search on Google gave me the answer you seek:
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/alternate-doclet.html
from lombok.
👤 reinierz 🕗 Jul 19, 2010 at 14:52 UTC
We solved this quite a while ago via the delombok tool. Technically we should, for maven, put a plugin together, maybe. As none of us are maven gurus we're going to be optimistic and rely on our users to perhaps post a solution specifically for maven :P
NB: There's also an ant task, which I think you can run from maven, no?
More info here: https://projectlombok.org/features/delombok.html
from lombok.
End of migration
from lombok.
Related Issues (20)
- [FEATURE] finish the job and make generating `@lombok.Generated` default behaviour HOT 1
- Jakarta Generated support HOT 3
- Support extension method autocomplete HOT 2
- [FEATURE] Add more flexibility to declare copyable annotations
- sorry it was mistake
- [BUG] Javadoc generation fails because of @Builder
- [BUG] Delombok fails on unnamed patterns in Java 22 HOT 1
- [BUG] UtilityClass nested in an enum does not work after upgrading to Java 21
- [BUG] @Delegate does not respect --source and --target HOT 1
- [BUG] Installer Throws a Bunch of Errors
- [BUG][REG 1.18.32] A required class was missing while executing org.eclipse.tycho:tycho-compiler-plugin:4.0.7:compile: org/eclipse/jdt/internal/compiler/parser/Parser
- [FEATURE] @FieldNameConstants Easier overwrite for generated fields HOT 2
- @FieldDefaults: Keep the global setting experimental, make the annotation permanent.
- [FEATURE] Allow to easily add interfaces to Builders
- [BUG] Support for Eclipse 2024-06 (4.32) HOT 11
- [FEATURE] Super Constructor
- [FEATURE] enhance @FieldNameConstants with specific prefix string HOT 2
- [BUG] SuperBuilder does not compile then binding generics to an array HOT 5
- [BUG] SaSessionForFastjsonCustomized类中的getModel报错 HOT 1
- [FEATURE] setX() for mutable state, fluent otherwise HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lombok.