Rhiot Documentation
  • Introduction
  • Gateway
    • Camel Kura router
    • Monitoring
    • Customising
    • Camel components
      • Camel Bluetooth component
      • Camel GPS BU353 component
      • Camel GPSD component
      • Camel TinkerForge component
      • Camel Pi4j component
      • Camel Framebuffer component
      • Camel Webcam component
    • Eclipse Kura support
      • Camel components for Eclipse Kura
        • Camel Kura Wifi component
        • Camel Kura Cloud component
    • Mini gateway
      • Installing
      • GPS
  • Backend
    • Camel Components
      • Camel OpenIMAJ component
      • Camel PubNub component
  • Tooling
  • Performances
  • Steroids
  • Quickstarts
    • Kura Camel quickstart
    • AMQP Cloudlet quickstarts
    • MQTT Cloudlet quickstart
  • Articles, presentations & videos
  • Building
    • Manage Kura Maven dependencies
  • Releases notes
Powered by GitBook
On this page
  • To sync Kura module version
  • To sync Kura module dependencies

Was this helpful?

  1. Building

Manage Kura Maven dependencies

PreviousBuildingNextReleases notes

Last updated 3 years ago

Was this helpful?

Kura Platform comes with lot of module and artifact. Rhiot project has to synchronize correct module and artifact version into BOM file.

To sync Kura module version

Execute Bash script below and copy result and replace it into the

for i in `cat  distrib/config/kura.build.properties ` ; do

artifcatId=$(echo $i | cut -f 1 -d = )
versionId=$(echo $i | cut -f 2 -d = )

  echo "<$artifcatId>$versionId</$artifcatId>"

done

To sync Kura module dependencies

Execute Bash script below and copy result and replace it into the

for i in `cat  distrib/config/kura.build.properties ` ; do

artifcatId=$(echo $i | cut -f 1 -d = | sed -e 's#.version##' )
versionId=$(echo $i | cut -f 2 -d = )

 echo "<dependency><groupId>org.eclipse.kura</groupId><artifactId>$artifcatId</artifactId><version>\${$artifcatId.version}</version>  </dependency>"

done
BOM pom.xml file
BOM pom.xml file