|
|
Re: Issues building Kura from source in Eclipse [message #1680368 is a reply to message #1567776] |
Tue, 17 March 2015 00:26 |
Jeff Battin Messages: 2 Registered: March 2015 |
Junior Member |
|
|
I am also having problems building in eclipse. Followed all steps in getting started and built the source with-out errors. But It will not build in eclipse.
I have attached a screenshot and a text file with the details. Any suggestions?
Build Environment:
Eclipse Version:Kepler Service Release 2
Ubuntu
LM17-VM ~ $ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
LM17-VM ~ $ mvn --version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 06:51:28-0700)
Maven home: /usr/local/apache-maven-3.0.5
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family: "unix"
Summary:
- gpio build, publisher, project, qa, hello world, and web builds fail.
- Java build path problem for web.
- Maven non-resolvable parent POM.
Thanks!
-Jeff
|
|
|
|
Re: Issues building Kura from source in Eclipse [message #1685632 is a reply to message #1685554] |
Wed, 18 March 2015 23:11 |
Jeff Battin Messages: 2 Registered: March 2015 |
Junior Member |
|
|
Thanks for the response Dave.
I tried that, and have done reinstalls. The only build message that looks suspicious after "mvn clean install" is:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.eclipse.kura:javax.usb.api:bundle:1.0.2
[WARNING] 'dependencies.dependency.systemPath' for javax.usb:javax.usb.api:jar should not point at files within the project directory, ${basedir}/src/lib/javax.usb.api-1.0.2.jar will be unresolvable by dependent projects @ line 31, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.eclipse.kura:javax.usb.common:bundle:1.0.2
[WARNING] 'dependencies.dependency.systemPath' for javax.usb:javax.usb.common:jar should not point at files within the project directory, ${basedir}/src/lib/javax.usb.common-1.0.2.jar will be unresolvable by dependent projects @ line 32, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.eclipse.kura:p2-repo-common:pom:1.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 171, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.eclipse.kura:p2-repo-equinox_3.8.1:pom:1.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 95, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
Are these warnings normal?
Best Regards,
- Jeff
|
|
|
Re: Issues building Kura from source in Eclipse [message #1690155 is a reply to message #1685632] |
Wed, 25 March 2015 13:48 |
Jishnu Nair Messages: 7 Registered: March 2015 |
Junior Member |
|
|
Hallo Jeff,
The "Non-Resolvable" parent pom error is due to the wrong version number in the pom.xml file.
Change the version tag in org.eclipse.kura.qa/pom.xm and org.eclipse.kura.test.helloworld/pom.xml
<parent>
<groupId>org.eclipse.kura</groupId>
<artifactId>kura</artifactId>
<version>1.2.0-SNAPSHOT</version>
<relativePath>../manifest_pom.xml</relativePath>
</parent>
Regards,
Jishnu
|
|
|
Powered by
FUDForum. Page generated in 0.03837 seconds