Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Kura source code maven build failed with jdk:jdk.dio:jar:1.0.1 not found
Kura source code maven build failed with jdk:jdk.dio:jar:1.0.1 not found [message #1695412] Thu, 14 May 2015 10:46 Go to next message
Jay Huang is currently offline Jay HuangFriend
Messages: 3
Registered: May 2015
Junior Member
I am on Ubuntu 14.04 LTS, Java 7, have installed Rasperry Pi, have also setup the kura eclipse workspace. Now I want to use the Kura source code to start the sample application.

I followed the Eclipse Kura getting started guide,
but when i ran `mvn clean install` in the kura/target-platform directory,
it failed with the following message:

[code]
[INFO] Reactor Summary:
[INFO]
[INFO] target-platform .................................... SUCCESS [ 0.147 s]
[INFO] Java API for working with Human Interface USB Devices (HID) SUCCESS [ 1.832 s]
[INFO] javax.usb API from javax-usb ....................... SUCCESS [ 0.226 s]
[INFO] javax.usb Common from javax-usb .................... SUCCESS [ 0.239 s]
[INFO] javax.usb Linux implementation from javax-usb ...... SUCCESS [ 0.190 s]
[INFO] Serial Device based on SODA DK comm ................ SUCCESS [ 0.483 s]
[INFO] p2-repo-common ..................................... FAILURE [ 0.491 s]
[INFO] p2-repo-equinox_3.8.1 .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.008 s
[INFO] Finished at: 2015-05-14T18:05:23+08:00
[INFO] Final Memory: 31M/427M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:copy (copy-dio-bundle-for-publishing) on project p2-repo-common: Unable to find artifact. Could not find artifact jdk:jdk.dio:jar:1.0.1 in nexus-releases ...................

It is complaining not finding artifact jdk:jdk.dio:jar:1.0.1 which is provided in Java ME as far as I know. Do I need to install anything first before building the Kura source code?
Re: Kura source code maven build failed with jdk:jdk.dio:jar:1.0.1 not found [message #1695464 is a reply to message #1695412] Thu, 14 May 2015 22:29 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

Can you try running maven with the -U flag (mvn -U -f target-platform/pom.xml clean install)? Please post the entire output of the build. The artifact it is complaining about should be getting downloaded from an external repository.

Thanks,
--Dave
Re: Kura source code maven build failed with jdk:jdk.dio:jar:1.0.1 not found [message #1695877 is a reply to message #1695464] Wed, 20 May 2015 04:14 Go to previous message
Jay Huang is currently offline Jay HuangFriend
Messages: 3
Registered: May 2015
Junior Member
Hi Dave, building within Eclipse worked.
Previous Topic:Uninstall KURA
Next Topic:Why is Kura using MQTT for device data transimission instead of CoAP
Goto Forum:
  


Current Time: Fri Apr 19 04:55:14 GMT 2024

Powered by FUDForum. Page generated in 0.02728 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top