Add ARM architecture support to Maven repository
See original GitHub issueMotivation
Recently, computers with ARM CPU such as AWS Graviton, Apple M1 and Raspberry Pi are increasing. By releasing binaries to Maven that run on ARM CPUs, you can run them in a wide range of environments.
Desired solution
Adding Binary Support for ARM CPUs to the Maven Repository
Considered alternatives
Additional context
When I built rsocket-rpc-protobuf version 0.3.0 as a dependency on an M1 computer with ARM, I got the following error:.
Could not find rsocket-rpc-protobuf-0.3.0-osx-aarch_64.exe (io.rsocket.rpc:rsocket-rpc-protobuf:0.3.0).
Searched in the following locations:
https://repo.maven.apache.org/maven2/io/rsocket/rpc/rsocket-rpc-protobuf/0.3.0/rsocket-rpc-protobuf-0.3.0-osx-aarch_64.exe
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to solve 'Maven cannot resolve dependencies' on ARM ...
Try removing your local m2 directory completely and run mvn clean install OR try " mvn clean install -U" command, This will force...
Read more >Upload osx_arm64 jars to maven repository · Issue #60 - GitHub
When I run mvn clean install in https://github.com/flimlib/flimj-ui I cannot build it as the jars are not found in the maven repository ......
Read more >Build your customized maven in Arm architecture - GoSysops »
To do this, we need Maven with a specific version of java and set up Maven source from closely location instead of Apache's...
Read more >Configure Deploy to fetch artifacts from a Maven repository
This topic describes how to fetch artifacts from a Maven repository. You can access artifacts stored in a Maven repository using the fileUri ......
Read more >Introduction to Repositories - Apache Maven
To set up an internal repository just requires that you have a place to put it, and then copy required artifacts there using...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mgodave Original compiler plugin was coded /w protobuf 3.6.1 in 2018 and was not updated since that time.
Not sure update is worth the effort really - the library in its current form is likely an authentic “cruft”. For starter, generated java code does not compile /w current RSocket-java.
Even if did there are metadata leaks and tracing problems, few other reported issues are rotting on this tracker.
Even if these are fixed there is RSocket/RSocket-java whose current GA release (1.1.2) performs plainly worse than GRPC and has 4 outstanding vulnerabilities (trivial server denial-of-service) that are mostly ignored for a year now.
It looks like that diff is probably unnecessary, you can accomplish the same header and library include portions with command line options
https://github.com/rsocket/rsocket-rpc-java/blob/master/ci/travis.sh#L3