Skip to content

[MRELEASE-1150] mvn release:perform should also invoke git lfs checkout after cloning the repo #1309

Open
@jira-importer

Description

@jira-importer

zosrothko opened MRELEASE-1150 and commented

Hello

While the maven-release-plugin:perform is cloning a git repository in the 'target/checkout' subdirectory, it does not run the command 'git lfs checkout' to upate all lfs files with their real content which produces build failures like below

[ERROR] Failed to execute goal org.codehaus.izpack:izpack-maven-plugin:5.2.1:izpack (default) on project installer-izpack: Failure during compilation process: No compression or archiving format detected for file ...\izpack\target\.\wildfly\wildfly-22.0.0.Final.zip marked to be unpacked while processing ./wildfly/wildfly-22.0.0.Final.zip -> [Help 1]

Without the 'git lfs checkout' command, the content of the above zip file is

version https://git-lfs.github.com/spec/v1
oid sha256:9ac7490e2624a1bd73af89c6db25900031bdb6c673f2acd375f7e8c102a0d0d7
size 203150891

which is not a zip file.

 

Please add a option to run 'git lfs checkout' as needed for maven-release-plugin:perform


Affects: 3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions