[ 
https://issues.apache.org/jira/browse/MRELEASE-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zosrothko updated MRELEASE-1150:
--------------------------------
    Description: 
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

  was:
Hello

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

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


> mvn release:perform should also invoke git lfs checkout after cloning the repo
> ------------------------------------------------------------------------------
>
>                 Key: MRELEASE-1150
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1150
>             Project: Maven Release Plugin
>          Issue Type: Improvement
>          Components: perform
>    Affects Versions: 3.1.0
>         Environment: Apache Maven 3.8.4 
> (9b656c72d54e5bacbed989b64718c159fe39b537)
> Maven home: C:\ASF\apache-maven-3.8.4
> Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program 
> Files\Java\jdk1.8.0_181\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>            Reporter: zosrothko
>            Priority: Major
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to