Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Core components build problem

Hello Thomas,

It appears you are missing a step. To build, you should

cd target-platform
mvn clean install

cd ../kura
mvn -f manifest_pom.xml -Dmaven.test.skip=true -Pcan clean install

mvn -f pom_pom.xml -Dmaven.test.skip=true -Pweb clean install

Thanks,
--Dave

On Jan 9, 2015, at 5:04 AM, Thomas Merk <thomas.merk@xxxxxxxxxxxxxxxx> wrote:

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
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]
[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
 
 
 
 
 
_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev


Back to the top