Skip to content

fix: replace lombok-maven-plugin with exec-maven-plugin for delombok - #402

Merged
Diego Barajas (barajas-d) merged 1 commit into
masterfrom
fix/javadoc-central-publishing
Aug 11, 2026
Merged

Diego Barajas (barajas-d) merged 1 commit into
masterfrom
fix/javadoc-central-publishing

Conversation

@barajas-d

Copy link
Copy Markdown
Contributor

lombok-maven-plugin:1.18.20.0 is incompatible with lombok:1.18.46, producing an empty target/delombok. maven-javadoc-plugin 3.12.0 then reports "No Javadoc in project" regardless of sourcepath config, causing Maven Central to reject the deployment.

This commit:

  • Replaces lombok-maven-plugin with exec-maven-plugin that invokes java -jar lombok-1.18.46.jar delombok directly, ensuring version compatibility and support for Java 11/17/21
  • Extracts lombok.version as a property to keep version in sync
  • Restores sourcepath pointing to target/delombok (now reliably populated)
  • Removes -Dlombok.delombok.skip=true from CI and CD workflows since the flag only applied to the now-removed lombok-maven-plugin

Cambios realizados para el feature:

  • item 1

Cambios generales

  • item 1

Issues cerrados

  • Closes #XX

Checklist validación PR:

  • Título y descripción clara del PR
  • Tests de mi funcionalidad
  • Documentación de mi funcionalidad
  • Tests ejecutados y pasados
  • Branch Coverage >= 80%

lombok-maven-plugin:1.18.20.0 is incompatible with lombok:1.18.46,
producing an empty target/delombok. maven-javadoc-plugin 3.12.0 then
reports "No Javadoc in project" regardless of sourcepath config,
causing Maven Central to reject the deployment.

This commit:
- Replaces lombok-maven-plugin with exec-maven-plugin that invokes
  `java -jar lombok-1.18.46.jar delombok` directly, ensuring version
  compatibility and support for Java 11/17/21
- Extracts lombok.version as a property to keep version in sync
- Restores sourcepath pointing to target/delombok (now reliably populated)
- Removes -Dlombok.delombok.skip=true from CI and CD workflows since
  the flag only applied to the now-removed lombok-maven-plugin

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@barajas-d
Diego Barajas (barajas-d) merged commit 58afcc0 into master Aug 11, 2026
3 checks passed
@barajas-d
Diego Barajas (barajas-d) deleted the fix/javadoc-central-publishing branch August 11, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants