Hi
I am new to Kura. I would like to deploy Kura onto our own embedded hardware devices (dual core Atom CPU, 2 GB Ram, Xubuntu).
I tried to build Kura as described in
http://wiki.eclipse.org/Kura/Getting_Started .
I was able to build the target platform :
mkdir ~/git
cd ~/git
git clone -b develop https://github.com/eclipse/kura.git
cd ~/git/kura/target-platform
mvn clean install
But I cannot build the core components :
cd ../kura
mvn -Dmaven.test.skip=true -f pom_pom.xml -Pweb clean install
fails with the following output :
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kura .............................................. SUCCESS [1.283s]
[INFO] org.eclipse.kura.web .............................. FAILURE [21.858s]
[INFO] distrib ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.065s
[INFO] Finished at: Fri Jan 09 10:34:20 CET 2015
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project org.eclipse.kura.web: Could not resolve dependencies for project org.eclipse.kura:org.eclipse.kura.web:war:1.0.2-SNAPSHOT:
The following artifacts could not be resolved: org.eclipse.kura:org.eclipse.kura.api:jar:1.0.2-SNAPSHOT, org.eclipse.kura:org.eclipse.kura.core:jar:1.0.2-SNAPSHOT, org.eclipse.kura:org.eclipse.kura.core.configuration:jar:1.0.2-SNAPSHOT, org.eclipse.kura:org.eclipse.kura.core.net:jar:1.0.2-SNAPSHOT,
org.eclipse.kura:org.eclipse.kura.deployment.agent:jar:1.0.2-SNAPSHOT: Could not find artifact org.eclipse.kura:org.eclipse.kura.api:jar:1.0.2-SNAPSHOT in kura_addons (https://raw.github.com/eurotech/kura_addons/mvn-repo/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.eclipse.kura.web
I have Maven 3.0.5 and Java 1.7.0_71 :
mvn --version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: /usr/local/apache-maven/apache-maven-3.0.5
Java version: 1.7.0_71, vendor: Oracle Corporation
Java home: /usr/local/java/jdk1.7.0_71/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-28-generic", arch: "i386", family: "unix"
Any help appreciated
Best Regards
Thomas