Posts: 30
Joined: Mon Apr 17, 2017 4:54 am

How to get Raspian 3rd party code into Maven repository??

Thu Jul 12, 2018 3:05 am

I am involved in the development of a Java application running on Raspbian. The code is managed with Maven.

There seems to be a problem with code that isn't on the Maven repository. The compiler produces the following error code:

Code: Select all

[ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile (default) on project messaging: Missing:
[ERROR] ----------
[ERROR] 1) com.google.protobuf:protoc:exe:linux-arm_32:3.4.0
[ERROR]   Try downloading the file manually from the project website.
The work around is to manually download the file to the Raspberry Pi. This would be OK if there was just one Pi, but there are many. Ideally the file would be available on the Maven repository so the compiler can find it. Ideally the file would be managed by the owner/creator/maintainer so it gets updated as required.

Can anyone suggest how this could be achieved for this particular file? Who would I contact? How would I contact them?
Alternatively, is it possible to create a local Maven repository on the LAN to store the file?
As you can probably tell, I am not an expert on Maven.

User avatar
Posts: 34767
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: How to get Raspian 3rd party code into Maven repository??

Thu Jul 12, 2018 11:40 am

https://maven.apache.org/guides/introdu ... ories.html

I'm not an expert on Maven, but I can use Google.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

Return to “Java”