Skip to content

Commit 585524c

Browse files
authored
Merge pull request #224184 from eric-urban/eur/java-sdk-maven
Now available on Maven
2 parents 7d493d6 + 1a01b34 commit 585524c

File tree

6 files changed

+2
-59
lines changed

6 files changed

+2
-59
lines changed

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/java.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ Before you can do anything, you need to [install the Speech SDK](~/articles/cogn
3939
</plugin>
4040
</plugins>
4141
</build>
42-
<repositories>
43-
<repository>
44-
<id>maven-cognitiveservices-speech</id>
45-
<name>Microsoft Cognitive Services Speech Maven Repository</name>
46-
<url>https://azureai.azureedge.net/maven/</url>
47-
</repository>
48-
</repositories>
4942
<dependencies>
5043
<dependency>
5144
<groupId>com.microsoft.cognitiveservices.speech</groupId>

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-android.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ms.author: eur
1616
This guide shows how to install the [Speech SDK](../../../speech-sdk.md) for Java on Android.
1717

1818
The Speech SDK for Android is packaged as an [Android Archive (AAR) file](https://developer.android.com/studio/projects/android-library), which includes the necessary libraries and required Android permissions.
19-
It's hosted in a Maven repository at `https://azureai.azureedge.net/maven/`.
2019

2120
### Install the Speech SDK by using Android Studio
2221

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-jre.md

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ ms.author: eur
1515

1616
This guide shows how to install the [Speech SDK](~/articles/cognitive-services/speech-service/speech-sdk.md) for Java on the Java Runtime.
1717

18-
> [!NOTE]
19-
> The Speech SDK for Java is not available in the Maven central repository. Whether you're using Gradle or a *pom.xml* dependency file, you need to add a custom repository that points to `https://azureai.azureedge.net/maven/`. (See below for the package name.)
20-
2118
### Supported operating systems
2219

2320
The Speech SDK for Java package is available for these operating systems:
@@ -53,13 +50,6 @@ Follow these steps to install the Speech SDK for Java using Apache Maven:
5350
</plugin>
5451
</plugins>
5552
</build>
56-
<repositories>
57-
<repository>
58-
<id>maven-cognitiveservices-speech</id>
59-
<name>Microsoft Cognitive Services Speech Maven Repository</name>
60-
<url>https://azureai.azureedge.net/maven/</url>
61-
</repository>
62-
</repositories>
6353
<dependencies>
6454
<dependency>
6555
<groupId>com.microsoft.cognitiveservices.speech</groupId>
@@ -110,19 +100,7 @@ Follow these steps to install the Speech SDK for Java using Apache Maven:
110100

111101
1. Open the *pom.xml* file and edit it:
112102

113-
* At the end of the file, before the closing tag `</project>`, create a `repositories` element with a reference to the Maven repository for the Speech SDK:
114-
115-
```xml
116-
<repositories>
117-
<repository>
118-
<id>maven-cognitiveservices-speech</id>
119-
<name>Microsoft Cognitive Services Speech Maven Repository</name>
120-
<url>https://csspeechstorage.blob.core.windows.net/maven/</url>
121-
</repository>
122-
</repositories>
123-
```
124-
125-
* Add a `dependencies` element, with Speech SDK version 1.24.2 as a dependency:
103+
* Add a `dependencies` element at the end of the file, before the closing tag `</project>`, with the Speech SDK as a dependency:
126104

127105
```xml
128106
<dependencies>
@@ -141,17 +119,11 @@ Follow these steps to install the Speech SDK for Java using Apache Maven:
141119

142120
### Gradle configurations
143121

144-
Gradle configurations require both a custom repository and an explicit reference to the .jar dependency extension:
122+
Gradle configurations require an explicit reference to the .jar dependency extension:
145123

146124
```gradle
147125
// build.gradle
148126

149-
repositories {
150-
maven {
151-
url "https://azureai.azureedge.net/maven/"
152-
}
153-
}
154-
155127
dependencies {
156128
implementation group: 'com.microsoft.cognitiveservices.speech', name: 'client-sdk', version: "1.24.2", ext: "jar"
157129
}

articles/cognitive-services/Speech-Service/includes/quickstarts/speech-to-text-basics/java.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
4242
</plugin>
4343
</plugins>
4444
</build>
45-
<repositories>
46-
<repository>
47-
<id>maven-cognitiveservices-speech</id>
48-
<name>Microsoft Cognitive Services Speech Maven Repository</name>
49-
<url>https://azureai.azureedge.net/maven/</url>
50-
</repository>
51-
</repositories>
5245
<dependencies>
5346
<dependency>
5447
<groupId>com.microsoft.cognitiveservices.speech</groupId>

articles/cognitive-services/Speech-Service/includes/quickstarts/speech-translation-basics/java.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
3939
</plugin>
4040
</plugins>
4141
</build>
42-
<repositories>
43-
<repository>
44-
<id>maven-cognitiveservices-speech</id>
45-
<name>Microsoft Cognitive Services Speech Maven Repository</name>
46-
<url>https://azureai.azureedge.net/maven/</url>
47-
</repository>
48-
</repositories>
4942
<dependencies>
5043
<dependency>
5144
<groupId>com.microsoft.cognitiveservices.speech</groupId>

articles/cognitive-services/Speech-Service/includes/quickstarts/text-to-speech-basics/java.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
4242
</plugin>
4343
</plugins>
4444
</build>
45-
<repositories>
46-
<repository>
47-
<id>maven-cognitiveservices-speech</id>
48-
<name>Microsoft Cognitive Services Speech Maven Repository</name>
49-
<url>https://azureai.azureedge.net/maven/</url>
50-
</repository>
51-
</repositories>
5245
<dependencies>
5346
<dependency>
5447
<groupId>com.microsoft.cognitiveservices.speech</groupId>

0 commit comments

Comments
 (0)