Can't permanently exclude delombok from generated source
Answered
Hello.
I'm having problem with delombok plugin and IDEA. My project uses delombok and it generates directory target/generated-sources/delombok. On each mvn clean install I must mark this folder as "Excluded" or "Unmark as Generated Sources Root".
Also I noticed information message in Project Structure what "Module is imported from Maven. Any changes mane in its configuration may be lost after importing".
I tried to find solution for this problem but could not find anything concrete.
So, is there any way I can permanently remove this folder from source scan?
Thanks.
Please sign in to leave a comment.
See if this setting helps:
Serge, thanks for respond but I tried all four options from this menu. Didn't help.
If you are running delombok through the lombok-maven-plugin you can specify a directory outside target/generated-sources and IDEA wont pick up the sources.
If you like me want to generate java-doc I had to do the following: