Closed nils-christian closed 1 year ago
Upvoted. Need to change line 203 for the same reason as well
I would like to see that and 203 line changed as well.
I would like to see that and 203 line changed as well.
@pzygielo Why would you like this change on line 203? I think my rationale was something along the lines of, "Why would someone add the lombok-maven-plugin without a sourceDirectory? (They must have configured something wrong, so let's warn them.)"
@awhitford Let's say you have a multi-module project. Some modules have java sources, some don't. Parent POM wants to declare lombok once (so no duplication is present in the POM file) i.e. DRY principle. Currently, the modules with no source code will issue a WARN, which is not desired.
Thank you!
Let's say you have a multi-module project.
Yes, that!
For example maven-compiler-plugin
ran against <packaging>pom</packaging>
project:
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-cli) @ project ---
[INFO] No sources to compile
[INFO] ------------------------------------------------------------------------
No warning there.
Signed-off-by: Nils Christian Ehmke nils-christian.ehmke@bmiag.de