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

...

Kiuwan Local Analyzer (KLA) allows you to configure additional maven repositories so you can  improve the Kiuwan searching capabilities.

...

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 reporepository, you can configure KLA to search for components' information also in your local repository.

To do it, just 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 search searches for components' information in Maven central. We will be adding some other public repositories, but you can also add repos repositories you know are using.

In case you need to To add additional public Maven repos, you can do it by adding 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

In case If you are accessing private Maven repos, you can add them using below 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=

...