Skip to content

Commit 1408604

Browse files
committed
Update Java setup
1 parent d9c8cd5 commit 1408604

File tree

1 file changed

+5
-8
lines changed
  • articles/ai-services/computer-vision/includes/setup-sdk

1 file changed

+5
-8
lines changed

articles/ai-services/computer-vision/includes/setup-sdk/java.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,20 @@ This guide shows how to install the Vision SDK for Java.
1616

1717
## Install the Vision SDK for Java
1818

19-
The Vision SDK for Java is available as a Maven package. For more information, see <a href="https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis" target="_blank">Azure.AI.Vision.ImageAnalysis</a>.
19+
The Azure AI Vision SDK for Java is available as a Maven package. For more information, see the package <a href="https://mvnrepository.com/artifact/com.azure/azure-ai-vision-imageanalysis" target="_blank">azure-ai-vision-imageanalysis</a> in the Maven repository.
2020

2121

2222
# [Maven](#tab/maven)
2323

24-
## Apache Maven
25-
26-
Follow these steps to install the Azure AI Vision SDK for Java using Apache Maven:
24+
Follow these steps to install the Vision SDK for Java using Apache Maven:
2725

2826
1. Install [Apache Maven](https://maven.apache.org/download.cgi). On Linux, install from the distribution repositories if available.
2927

3028
1. Open a command prompt and run `mvn -v` to confirm successful installation.
3129

3230
1. Open a command prompt where you want to place the new project, and create a new pom.xml file.
3331

34-
1. Copy the following XML content into pom.xml
32+
1. Copy the following XML content into your pom.xml file:
3533

3634
```xml
3735
<project xmlns="http://maven.apache.org/POM/4.0.0"
@@ -77,13 +75,12 @@ Follow these steps to install the Azure AI Vision SDK for Java using Apache Mave
7775
mvn clean dependency:copy-dependencies
7876
```
7977

78+
2. Verify that the local folder path `target\dependency` was created, and it contains `.jar` files including three file named `azure-ai-vision-*.jar`
8079

8180
# [Gradle](#tab/gradle)
8281

83-
Gradle configurations require an explicit reference to the .jar dependency extension:
82+
Gradle configurations require an explicit reference to the .jar dependency extension. Add the following line in your `build.gradle` file:
8483
```gradle
85-
// build.gradle
86-
8784
dependencies {
8885
implementation group: 'com.azure', name: ' azure-ai-vision-imageanalysis', version: "0.15.1-beta.1", ext: "jar"
8986
}

0 commit comments

Comments
 (0)