Skip to content

Creation of binary distribution fails #400

Description

@ppkarwasz

Commit 769fd98 modified the "Staging distribution artifacts" to use deploy:deploy directly, instead of using a Maven lifecycle goal. This causes release builds to fail with the following error message:

Error:  Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.4:deploy (default-cli) on project log4j-api: The packaging plugin for project log4j-api did not assign a file to the build artifact -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.4:deploy (default-cli) on project log4j-api: The packaging plugin for project log4j-api did not assign a file to the build artifact

Activity

  1. added theissue type on Jun 3, 2025
  2. linked a pull request that will close this issueFix staging of binary distribution archive #401on Jun 3, 2025
  3. vy commented on Jun 3, 2025

    @vy
    Member

    For the record, 769fd98 uses deploy:deploy and only that, since it wants to execute only that goal of that particular plugin. I see #401 doesn't even need any deployments, which is an improvement. That said, please avoid replacing deploy:deploy with deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions