Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide will show you how to configure additional Maven repositories to improve the Kiuwan searching capabilities. 

Contents

Table of Contents

Local configuration of Kiuwan Insights repositories

Configure additional repositories by editing the ${KLA_INST_DIR}/conf/insight.properties file

Local Maven Repository

In case your installation contains a local Maven repository, you can configure KLA to search for components' information also in your local repository.

To do it, configure the location through the property: maven.local.directory 

Code Block
languagejs
#Directory where the local maven repository is.
#Example: maven.local.directory=C:/Users/user/.m2/repository
maven.local.directory=


Additional Public Maven Repositories

By default, Kiuwan searches for components' information in Maven central. We will be adding some other public repositories, but you can also add repositories you know are using.

To add additional public Maven repositories, add those repos to property: maven.public.repositories

Code Block
languagejs
#Url of public repositories (different to maven repository) for example, https://repository.jboss.org/nexus/content/repositories/public
#separated by comma.
maven.public.repositories=


Additional Private Maven Repositories

If you are accessing private Maven repos, add them using the below properties 

Code Block
languagejs
#Remote repositories data.
#If you need add other remote repositories you can add new properties 
#with next number at the end of word repository (repository2, repository3,...)
maven.private.repository1.url=
maven.private.repository1.user=
maven.private.repository1.password=
maven.private.repository1.privateKeyFile=
maven.private.repository1.passphrase=
maven.private.repository1.useProxy=