question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ARM architecture support to Maven repository

See original GitHub issue

Motivation

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:open
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mostroverkhovcommented, Aug 22, 2022

the most recent libprotoc headers have drifted

@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.

1reaction
mgodavecommented, May 18, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found