[
https://issues.apache.org/jira/browse/MINSTALL-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise moved MNG-7952 to MINSTALL-196:
---------------------------------------------------
Key: MINSTALL-196 (was: MNG-7952)
Affects Version/s: 3.0.1
(was: 3.9.6)
Project: Maven Install Plugin (was: Maven)
> Maven 3.9.x install:install-file doesn't recognize -Dpackaging
> --------------------------------------------------------------
>
> Key: MINSTALL-196
> URL: https://issues.apache.org/jira/browse/MINSTALL-196
> Project: Maven Install Plugin
> Issue Type: Bug
> Affects Versions: 3.0.1
> Reporter: Wei-Chiu Chuang
> Priority: Major
>
> Hi there is a behavior change between Maven 3.8.8 and 3.9.6 where mvn
> install:install-file doesn't recognize -Dpackaging=exe
> Reproducible on Apple Mac M3
> {noformat}
> PROTOBUF_VERSION="3.7.1"
> curl -LO
> https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-all-${PROTOBUF_VERSION}.tar.gz
> tar xzf protobuf-all-${PROTOBUF_VERSION}.tar.gz
> cd protobuf-${PROTOBUF_VERSION}
> ./configure --disable-shared
> make -j
> mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc
> -Dversion=${PROTOBUF_VERSION} -Dclassifier=osx-aarch_64 -Dpackaging=exe
> -Dfile=src/protoc
> {noformat}
> Expected result (Maven 3.8 and below):
> artifact installed at
> ~/.m2/repository/com/google/protobuf/protoc/3.7.1/protoc-3.7.1-osx-aarch_64.exe
> Incorrect result (Maven 3.9.x)
> artifact installed at
> ~/.m2/repository/com/google/protobuf/protoc/3.7.1/protoc-3.7.1-osx-aarch_64
>
> Because of the missing suffix ".exe", Apache Ozone is not able to build on
> Apple Mac M3 using Maven 3.9.x. It works fine with Maven 3.8.x
--
This message was sent by Atlassian Jira
(v8.20.10#820010)