Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bug): Update description setters #11

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

rbarkerSL
Copy link
Contributor

Description:

The <description></description> field was not present in the pom.xml file generated for maven central. Needed to update two parts of the field setter:

  • .orElse(provider { project.description }) became .orElse(provider(project::getDescription)) to actually populate with the project description
  • .orNull() becomes .orElse("") to prevent a null entry on description if it is not present in the other ways

@rbarkerSL rbarkerSL added the bug Something isn't working label Nov 15, 2024
@rbarkerSL rbarkerSL self-assigned this Nov 15, 2024
@rbarkerSL rbarkerSL linked an issue Nov 15, 2024 that may be closed by this pull request
@rbarkerSL rbarkerSL merged commit 77180f1 into main Nov 15, 2024
3 checks passed
@jjohannes jjohannes deleted the 10-bug-with-assigning-description-field-in-pomxml branch November 20, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug with assigning description field in pom.xml
2 participants