dazz100
Posts: 28
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

Hi
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] 
[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
DougieLawson
Posts: 33051
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

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.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest