You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/includes/setup-sdk/java.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,22 +16,20 @@ This guide shows how to install the Vision SDK for Java.
16
16
17
17
## Install the Vision SDK for Java
18
18
19
-
The Vision SDK for Java is available as a Maven package. For more information, see <ahref="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 <ahref="https://mvnrepository.com/artifact/com.azure/azure-ai-vision-imageanalysis"target="_blank">azure-ai-vision-imageanalysis</a> in the Maven repository.
20
20
21
21
22
22
# [Maven](#tab/maven)
23
23
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:
27
25
28
26
1. Install [Apache Maven](https://maven.apache.org/download.cgi). On Linux, install from the distribution repositories if available.
29
27
30
28
1. Open a command prompt and run `mvn -v` to confirm successful installation.
31
29
32
30
1. Open a command prompt where you want to place the new project, and create a new pom.xml file.
33
31
34
-
1. Copy the following XML content into pom.xml
32
+
1. Copy the following XML content into your pom.xml file:
35
33
36
34
```xml
37
35
<projectxmlns="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
77
75
mvn clean dependency:copy-dependencies
78
76
```
79
77
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`
80
79
81
80
# [Gradle](#tab/gradle)
82
81
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:
0 commit comments