* Update README with new maven version to use (#262)

* * Update README with new maven version to use
* Credentials provider is not supported in the new revision. Removed the reference

* * Add maven version badge instead of hardcoding the version

* * Add maven version so that it is easy to integrate into POM

* * Add maven version so that it is easy to integrate into POM

Co-authored-by: AsafMah <asafmahlev@microsoft.com>
This commit is contained in:
ag-ramachandran 2022-08-08 20:02:50 +05:30 коммит произвёл GitHub
Родитель f9c0ce774a
Коммит 817fc382fe
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -18,14 +18,16 @@ This library contains 3 different modules:
## Maven ## Maven
This method is the easiest to follow, just add the following dependency to your pom.xml: This method is the easiest to follow, just add the following dependency to your pom.xml (with the right version tag from maven central):
```xml ```xml
<dependency> <dependency>
<groupId>com.microsoft.azure.kusto</groupId> <groupId>com.microsoft.azure.kusto</groupId>
<artifactId>kusto-ingest</artifactId> <artifactId>kusto-ingest</artifactId>
<version>2.1.2</version> <version>[see badge below]</version>
</dependency> </dependency>
``` ```
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.microsoft.azure.kusto/kusto-ingest/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/com.microsoft.azure.kusto/kusto-ingest)
## Clone ## Clone
Download the source code, compile and install locally. Download the source code, compile and install locally.
@ -58,7 +60,6 @@ Alternatively, you can define a proxy programmatically when creating a client, u
```java ```java
HttpClientProperties httpClientProperties = HttpClientProperties.builder() HttpClientProperties httpClientProperties = HttpClientProperties.builder()
.proxy(new HttpHost("1.2.3.4", 8989)) .proxy(new HttpHost("1.2.3.4", 8989))
.credentialsProvider(credentialsProvider)
.build(); .build();
Client = ClientFactory.createClient(<engine_connection_string>, httpClientProperties); Client = ClientFactory.createClient(<engine_connection_string>, httpClientProperties);