NASA-PDS / roundup-action

Do a "roundup", a/k/a PDS-style continuous integration and delivery
Apache License 2.0
1 stars 4 forks source link

Maven stable releases no longer work with maven-source-plugin 3.3.0+ #137

Open jordanpadams opened 2 months ago

jordanpadams commented 2 months ago

Checked for duplicates

Yes - I've already checked

πŸ› Describe the bug

In several Java apps, I am encountering failures when trying to tag a stable release:

Others I can't remember right now...

πŸ•΅οΈ Expected behavior

I expected the stable release to complete successfully

πŸ“œ To Reproduce

  1. Trigger a stable release on another Java repo that uses the default stable publication steps.
  2. Note this error in the GitHub action execution:

    Caused by: org.apache.maven.plugin.MojoExecutionException: Presumably you have configured maven-source-plugn to execute twice times in your build. You have to configure a classifier for at least on of them.

πŸ–₯ Environment Info

GitHub Action World

πŸ“š Version of Software Used

stable

🩺 Test Data / Additional context

Tried numerous things to try to fix this, and may have come to a conclusion but not sure.

https://github.com/NASA-PDS/search-ui-legacy/blob/main/.github/workflows/stable-cicd.yaml#L76

πŸ¦„ Related requirements

No response

βš™οΈ Engineering Details

Let's update the default maven stable artifact build to run