eclipse / kapua

Eclipse Public License 2.0
227 stars 160 forks source link

Error when building Kapua Project on RPI - Could not find artifact com.google.protobuf:protoc:exe:linux-arm_32:2.21.9 #3780

Open dusanp795kg opened 1 year ago

dusanp795kg commented 1 year ago

Describe the bug During the run of the Kapua project on the RPI with the command "mvn clean install -DskipTests -Pconsole,docker" I got the error "Could not find artifact com.google.protobuf:protoc:exe:linux-arm_32:2.21.9".

To Reproduce Steps to reproduce the behavior:

  1. Open terminal and go to home directory
  2. Download Kapua project from Github repository (https://github.com/eclipse/kapua.git) with command git clone https://github.com/eclipse/kapua.git
  3. Go to Kapua folder and run command mvn clean install -DskipTests -Pconsole,docker

Expected behavior The build should complete without errors.

Screenshots image

Version of Kapua [1.6.7]

Type of deployment [X] Docker [ ] Openshift (in its variants) [ ] Others

Main component affected [ ] Console (in case of console please report info on which browser you encountered the problem) [ ] REST API [ ] Message Broker [X] - Others

Additional context This is the OS version I used on the RPI: PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/"

MDeLuise commented 1 year ago

Hi @dusanp795kg, thanks for opening the issue. The PR #3905 fixed this problem removing the dependency com.github.os72:protoc-java-maven-plugin and providing directly the needed compiled file. The next release of the project will incorporated this fix.