Closed advancedwebdeveloper closed 3 years ago
I had to apply such a patch:
$ git diff diff --git a/src/main/java/kr/motd/maven/os/Detector.java b/src/main/java/kr/motd/maven/os/Detector.java index 377c6a1..b89131d 100644 --- a/src/main/java/kr/motd/maven/os/Detector.java +++ b/src/main/java/kr/motd/maven/os/Detector.java @@ -234,6 +234,9 @@ public abstract class Detector { if ("s390x".equals(value)) { return "s390_64"; }
- if ("riscv".equals(value)) {
- return "riscv";
}
return UNKNOWN;
}
Thanks a lot for reporting this issue, @advancedwebdeveloper! What do you think about sending a pull request if you already have a patch?
Well, I can tell that it allowed to build it. I tired to run https://github.com/trustin/os-maven-plugin/blob/master/test - and it allowed to identify Debian 10, RISC-V arch. properly. But there where some aside issues - that is not related to the functionality of your artifact.
I can try to make a pull request
Ping
Fixed via #52 and #53.
hi, I have a similar problem:
openjdk version "17.0.3" 2022-04-19 OpenJDK Runtime Environment (build 17.0.3+7-Ubuntu-0ubuntu0.22.04.1) OpenJDK 64-Bit Zero VM (build 17.0.3+7-Ubuntu-0ubuntu0.22.04.1, interpreted mode) javac 17.0.3
root@df8743386e44:/zeebe-1.3.5# mvn dependency:get -B \ -DremoteRepositories="camunda-nexus::::https://app.camunda.com/nexus/content/repositories/public" \ -DgroupId="io.camunda" -DartifactId="camunda-cloud-zeebe" \ -Dos.detected.name=linux -Dos.detected.arch=riscv -Dos.detected.classifier=linux-riscv \ -Dversion="1.3.5" -Dpackaging="tar.gz" -Dtransitive=false
[INFO] Scanning for projects... [INFO] Inspecting build with total of 40 modules... [INFO] Not installing Nexus Staging features: [INFO] * Preexisting staging related goal bindings found in 40 modules. [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: linux [INFO] os.detected.arch: unknown [INFO] os.detected.bitness: 64 [INFO] os.detected.version: 5.15 [INFO] os.detected.version.major: 5 [INFO] os.detected.version.minor: 15 [ERROR] unknown os.arch: riscv64 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
Hi there.
How about if your would some support for 64bit RISC-V hardware?
Here is what I am using:
on
Here is what I was doing: