# Manage Kura Maven dependencies

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 [BOM pom.xml file](https://github.com/rhiot/rhiot/blob/master/bom/pom.xml)

```
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 [BOM pom.xml file](https://github.com/rhiot/rhiot/blob/master/bom/pom.xml)

```
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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rhiot.gitbook.io/rhiotdocumentation/index-7/manage_kura_maven_dependencies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
