Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Unable to update kura build's minor version(Need to know the ways to update minor version of whole build.)
Unable to update kura build's minor version [message #1804779] Mon, 01 April 2019 07:33 Go to next message
Vihangi Patel is currently offline Vihangi PatelFriend
Messages: 7
Registered: October 2017
Junior Member
Hi All,

I want to know, how can I update a minor version of kura's build?

One way is, by doing a manual updating parent version in all child bundles.

A second way is, by adding one property to manifest_pom.xml and pom_pom.xml files.

I have done the second way and getting an error while building kura packages.

Information related to my test :

Testing on Kura 2.0.0

In manifest_pom.xml and pom_pom.xml :

<version>${firmware-version}</version>

<properties>
<firmware-version>2.0.0</firmware-version>
</properties>

In child bundles :

<parent>
<artifactId>kura</artifactId>
<groupId>org.eclipse.kura</groupId>
<version>${firmware-version}</version>
<relativePath>../pom_pom.xml</relativePath>
</parent>

I have attached file for error logs.

Kindly help me to resolve it.

Thanks & Regards,
Vihangi

Re: Unable to update kura build's minor version [message #1804789 is a reply to message #1804779] Mon, 01 April 2019 09:44 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
you have to update the version in all pom files. Then you have two files called kura.target-platform.build.properties and kura.build.properties to update in order to have the proper bundles included in your distribution.

Best regards,
Matteo
Re: Unable to update kura build's minor version [message #1804790 is a reply to message #1804789] Mon, 01 April 2019 10:27 Go to previous messageGo to next message
Vihangi Patel is currently offline Vihangi PatelFriend
Messages: 7
Registered: October 2017
Junior Member
Hi Matteo,

I agree with your solution but that is the manual one. All I want is, dynamic version updating. Means, with only one or two files changes, I can update the whole kura package version.

Maven is providing this kind of solution by using property tag. And I also do the same thing with Kura build, but getting a build error.

So, How can I solve those errors to build kura package?

Thanks & Regards
Vihangi
Re: Unable to update kura build's minor version [message #1804984 is a reply to message #1804790] Thu, 04 April 2019 09:01 Go to previous message
Vihangi Patel is currently offline Vihangi PatelFriend
Messages: 7
Registered: October 2017
Junior Member
Hi All,

I am getting below error. Help me to resolve it.

Error Logs :

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kura 2.0.0 ......................................... SUCCESS [ 7.417 s]
[INFO] org.eclipse.kura.web2 .............................. FAILURE [01:41 min]
[INFO] distrib ............................................ SKIPPED
[INFO] tools 0.1.0-SNAPSHOT ............................... SKIPPED
[INFO] Eclipse Kura Archetypes 0.1.0-SNAPSHOT ............. SKIPPED
[INFO] Eclipse Kura App Quickstart Archetype 0.1.0-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:04 min
[INFO] Finished at: 2019-04-04T07:48:16Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project org.eclipse.kura.web2: Could not resolve dependencies for project org.eclipse.kura:org.eclipse.kura.web2:war:2.0.0: Failed to collect dependencies at org.eclipse.kura:org.eclipse.kura.api:jar:1.0.8: Failed to read artifact descriptor for org.eclipse.kura:org.eclipse.kura.api:jar:1.0.8: Could not find artifact org.eclipse.kura:kura:pom:${firmware-version} 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.web2

Thanks & Regards
Vihangi
Previous Topic:Properly build .deb package
Next Topic:Kura Driver
Goto Forum:
  


Current Time: Sat Nov 02 12:02:41 GMT 2024

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

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

Back to the top