Skip to content

java autobuild overrides maven wrapper only-script distributionType #2373

Open
@ArloL

Description

@ArloL

When using the maven wrapper distributionType only-script autobuild will override the wrapper:

[2024-07-13 09:29:53] [autobuild] > mvn -N org.apache.maven.plugins:maven-wrapper-plugin:3.3.0:wrapper -Dtype=bin 

See https://github.com/ArloL/chorito/actions/runs/9918944552/job/27404224920 for a full log.

My guess is that autobuild checks for the presence of the maven-wrapper.jar because if I add an empty file back autobuild will not trigger the override. Maybe the check can be changed to check for maven-wrapper.properties or similar?

In the meantime I will revert back to the bin distributionType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions