From b737f839a2c569b00d433bd50c798b56e74eb948 Mon Sep 17 00:00:00 2001 From: leonrohne27 Date: Wed, 20 Nov 2024 13:00:02 +0100 Subject: [PATCH] #689: Added url and removed try-catch-block (#698) --- .../com/devonfw/tools/ide/repo/ToolRepositoryMock.java | 9 ++------- .../urls/android-studio/android-studio/2024.1.1.1/urls | 2 +- .../ide-projects/build/_ide/urls/gradle/gradle/8.7/urls | 1 + .../build/_ide/urls/java/java/17.0.10_7/urls | 1 + .../ide-projects/build/_ide/urls/mvn/mvn/3.9.6/urls | 1 + .../ide-projects/build/_ide/urls/node/node/v18.19.1/urls | 1 + .../ide-projects/build/_ide/urls/npm/npm/9.9.2/urls | 1 + .../dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls | 1 + .../dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls.txt | 1 - .../eclipse/_ide/urls/eclipse/eclipse/2024-09/urls | 2 +- .../eclipse/_ide/urls/java/java/17.0.10_7/urls | 2 +- .../graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls | 1 + .../graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls.txt | 1 - .../intellij/_ide/urls/intellij/intellij/2023.3.3/urls | 2 +- .../_ide/urls/intellij/intellij/2023.3.3/urls.txt | 1 - .../intellij/_ide/urls/java/java/17.0.10_7/urls | 2 +- .../intellij/_ide/urls/java/java/17.0.10_7/urls.txt | 1 - .../jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls | 1 + .../jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls.txt | 1 - .../jasypt/_ide/urls/java/java/17.0.10_7/urls | 1 + .../jasypt/_ide/urls/java/java/17.0.10_7/urls.txt | 1 - .../ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls | 1 + .../jmc/_ide/urls/java/java/17.0.10_7/urls.txt | 1 - .../ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls | 1 + .../ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls.txt | 1 - .../ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls | 1 + .../mvn/_ide/urls/java/java/17.0.10_7/urls.txt | 1 - .../ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls | 1 + .../ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls.txt | 1 - .../ide-projects/npm/_ide/urls/node/node/v18.19.1/urls | 1 + .../npm/_ide/urls/node/node/v18.19.1/urls.txt | 1 - .../ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls | 1 + .../ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls.txt | 1 - .../tomcat/_ide/urls/java/java/17.0.10_7/urls | 2 +- .../ide-projects/tomcat/_ide/urls/java/java/21_35/urls | 2 +- .../tomcat/_ide/urls/java/java/8u402b06/urls | 2 +- .../tomcat/_ide/urls/tomcat/tomcat/10.1.14/urls | 2 +- .../update/_ide/urls/java/java/17.0.6/readme | 1 - .../ide-projects/update/_ide/urls/java/java/17.0.6/urls | 1 + .../ide-projects/update/_ide/urls/mvn/mvn/3.2.1/readme | 1 - .../ide-projects/update/_ide/urls/mvn/mvn/3.2.1/urls | 1 + .../vscode/_ide/urls/vscode/vscode/1.92.1/urls | 1 + .../vscode/_ide/urls/vscode/vscode/1.92.1/urls.txt | 1 - 43 files changed, 29 insertions(+), 31 deletions(-) create mode 100644 cli/src/test/resources/ide-projects/build/_ide/urls/gradle/gradle/8.7/urls create mode 100644 cli/src/test/resources/ide-projects/build/_ide/urls/java/java/17.0.10_7/urls create mode 100644 cli/src/test/resources/ide-projects/build/_ide/urls/mvn/mvn/3.9.6/urls create mode 100644 cli/src/test/resources/ide-projects/build/_ide/urls/node/node/v18.19.1/urls create mode 100644 cli/src/test/resources/ide-projects/build/_ide/urls/npm/npm/9.9.2/urls create mode 100644 cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls delete mode 100644 cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls.txt create mode 100644 cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls delete mode 100644 cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls.txt delete mode 100644 cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls.txt delete mode 100644 cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls.txt create mode 100644 cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls delete mode 100644 cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls.txt create mode 100644 cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls delete mode 100644 cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls.txt create mode 100644 cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls delete mode 100644 cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls.txt create mode 100644 cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls delete mode 100644 cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls.txt create mode 100644 cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls delete mode 100644 cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls.txt create mode 100644 cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls delete mode 100644 cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls.txt create mode 100644 cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls delete mode 100644 cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls.txt create mode 100644 cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls delete mode 100644 cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls.txt delete mode 100644 cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/readme create mode 100644 cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/urls delete mode 100644 cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/readme create mode 100644 cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/urls create mode 100644 cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls delete mode 100644 cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls.txt diff --git a/cli/src/test/java/com/devonfw/tools/ide/repo/ToolRepositoryMock.java b/cli/src/test/java/com/devonfw/tools/ide/repo/ToolRepositoryMock.java index c4fc48723..76eafa44f 100644 --- a/cli/src/test/java/com/devonfw/tools/ide/repo/ToolRepositoryMock.java +++ b/cli/src/test/java/com/devonfw/tools/ide/repo/ToolRepositoryMock.java @@ -6,7 +6,6 @@ import java.util.Iterator; import java.util.stream.Stream; -import com.devonfw.tools.ide.cli.CliException; import com.devonfw.tools.ide.context.IdeContext; import com.devonfw.tools.ide.version.GenericVersionRange; import com.devonfw.tools.ide.version.VersionIdentifier; @@ -33,12 +32,8 @@ public ToolRepositoryMock(IdeContext context, Path repositoryFolder) { @Override public VersionIdentifier resolveVersion(String tool, String edition, GenericVersionRange version) { - try { - return super.resolveVersion(tool, edition, version); - } catch (CliException e) { - this.context.error(e, "Invalid test project using version {} that cannot be resolved in urls folder", version); - return version.getMax(); - } + return super.resolveVersion(tool, edition, version); + } @Override diff --git a/cli/src/test/resources/ide-projects/android-studio/_ide/urls/android-studio/android-studio/2024.1.1.1/urls b/cli/src/test/resources/ide-projects/android-studio/_ide/urls/android-studio/android-studio/2024.1.1.1/urls index b21ed4505..4fa12750e 100644 --- a/cli/src/test/resources/ide-projects/android-studio/_ide/urls/android-studio/android-studio/2024.1.1.1/urls +++ b/cli/src/test/resources/ide-projects/android-studio/_ide/urls/android-studio/android-studio/2024.1.1.1/urls @@ -1 +1 @@ -https://adoptium.net/download/dummytest +${testbaseurl}/download/android-studio/android-studio/2024.1.1.1/android-studio-2024.1.1.1.tgz diff --git a/cli/src/test/resources/ide-projects/build/_ide/urls/gradle/gradle/8.7/urls b/cli/src/test/resources/ide-projects/build/_ide/urls/gradle/gradle/8.7/urls new file mode 100644 index 000000000..f8cc436ca --- /dev/null +++ b/cli/src/test/resources/ide-projects/build/_ide/urls/gradle/gradle/8.7/urls @@ -0,0 +1 @@ +${testbaseurl}/download/gradle/gradle/8.7/gradle-8.7.tgz diff --git a/cli/src/test/resources/ide-projects/build/_ide/urls/java/java/17.0.10_7/urls b/cli/src/test/resources/ide-projects/build/_ide/urls/java/java/17.0.10_7/urls new file mode 100644 index 000000000..62e6853f2 --- /dev/null +++ b/cli/src/test/resources/ide-projects/build/_ide/urls/java/java/17.0.10_7/urls @@ -0,0 +1 @@ +${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz diff --git a/cli/src/test/resources/ide-projects/build/_ide/urls/mvn/mvn/3.9.6/urls b/cli/src/test/resources/ide-projects/build/_ide/urls/mvn/mvn/3.9.6/urls new file mode 100644 index 000000000..69685961c --- /dev/null +++ b/cli/src/test/resources/ide-projects/build/_ide/urls/mvn/mvn/3.9.6/urls @@ -0,0 +1 @@ +${testbaseurl}/download/mvn/mvn/3.9.6/mvn-3.9.6.tgz diff --git a/cli/src/test/resources/ide-projects/build/_ide/urls/node/node/v18.19.1/urls b/cli/src/test/resources/ide-projects/build/_ide/urls/node/node/v18.19.1/urls new file mode 100644 index 000000000..a07d5a120 --- /dev/null +++ b/cli/src/test/resources/ide-projects/build/_ide/urls/node/node/v18.19.1/urls @@ -0,0 +1 @@ +${testbaseurl}/download/node/node/v18.19.1/node-v18.19.1.tgz diff --git a/cli/src/test/resources/ide-projects/build/_ide/urls/npm/npm/9.9.2/urls b/cli/src/test/resources/ide-projects/build/_ide/urls/npm/npm/9.9.2/urls new file mode 100644 index 000000000..290f63d98 --- /dev/null +++ b/cli/src/test/resources/ide-projects/build/_ide/urls/npm/npm/9.9.2/urls @@ -0,0 +1 @@ +${testbaseurl}/download/npm/npm/9.9.2/npm-9.9.2.tgz diff --git a/cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls b/cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls new file mode 100644 index 000000000..d6cd5bd90 --- /dev/null +++ b/cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls @@ -0,0 +1 @@ +${testbaseurl}/download/dotnet/dotnet/6.0.419/dotnet-6.0.419.tgz diff --git a/cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls.txt b/cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls.txt deleted file mode 100644 index b21ed4505..000000000 --- a/cli/src/test/resources/ide-projects/dotnet/_ide/urls/dotnet/dotnet/6.0.419/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest diff --git a/cli/src/test/resources/ide-projects/eclipse/_ide/urls/eclipse/eclipse/2024-09/urls b/cli/src/test/resources/ide-projects/eclipse/_ide/urls/eclipse/eclipse/2024-09/urls index b8e83255e..4f642e252 100644 --- a/cli/src/test/resources/ide-projects/eclipse/_ide/urls/eclipse/eclipse/2024-09/urls +++ b/cli/src/test/resources/ide-projects/eclipse/_ide/urls/eclipse/eclipse/2024-09/urls @@ -1 +1 @@ -https://downloads.eclipse.org/dummytest +${testbaseurl}/download/eclipse/eclipse/2024-09/eclipse-2024-09.tgz diff --git a/cli/src/test/resources/ide-projects/eclipse/_ide/urls/java/java/17.0.10_7/urls b/cli/src/test/resources/ide-projects/eclipse/_ide/urls/java/java/17.0.10_7/urls index b21ed4505..62e6853f2 100644 --- a/cli/src/test/resources/ide-projects/eclipse/_ide/urls/java/java/17.0.10_7/urls +++ b/cli/src/test/resources/ide-projects/eclipse/_ide/urls/java/java/17.0.10_7/urls @@ -1 +1 @@ -https://adoptium.net/download/dummytest +${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz diff --git a/cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls b/cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls new file mode 100644 index 000000000..3021ebe68 --- /dev/null +++ b/cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls @@ -0,0 +1 @@ +${testbaseurl}/download/graalvm/graalvm/22.3.3/graalvm-22.3.3.tgz diff --git a/cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls.txt b/cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls.txt deleted file mode 100644 index b21ed4505..000000000 --- a/cli/src/test/resources/ide-projects/graalvm/_ide/urls/graalvm/graalvm/22.3.3/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest diff --git a/cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls b/cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls index f071ff618..92fd05749 100644 --- a/cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls +++ b/cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls @@ -1 +1 @@ -https://download.jetbrains.com/idea/ideaC-2023.3.3.win.zip +${testbaseurl}/download/intellij/intellij/2023.3.3/intellij-2023.3.3.tgz diff --git a/cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls.txt b/cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/intellij/_ide/urls/intellij/intellij/2023.3.3/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file diff --git a/cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls b/cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls index b21ed4505..62e6853f2 100644 --- a/cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls +++ b/cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls @@ -1 +1 @@ -https://adoptium.net/download/dummytest +${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz diff --git a/cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls.txt b/cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls.txt deleted file mode 100644 index b21ed4505..000000000 --- a/cli/src/test/resources/ide-projects/intellij/_ide/urls/java/java/17.0.10_7/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest diff --git a/cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls b/cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls new file mode 100644 index 000000000..46c1facc9 --- /dev/null +++ b/cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls @@ -0,0 +1 @@ +${testbaseurl}/download/jasypt/jasypt/1.9.3/jasypt-1.9.3.tgz diff --git a/cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls.txt b/cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/jasypt/_ide/urls/jasypt/jasypt/1.9.3/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file diff --git a/cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls b/cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls new file mode 100644 index 000000000..62e6853f2 --- /dev/null +++ b/cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls @@ -0,0 +1 @@ +${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz diff --git a/cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls.txt b/cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/jasypt/_ide/urls/java/java/17.0.10_7/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file diff --git a/cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls b/cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls new file mode 100644 index 000000000..62e6853f2 --- /dev/null +++ b/cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls @@ -0,0 +1 @@ +${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz diff --git a/cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls.txt b/cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/jmc/_ide/urls/java/java/17.0.10_7/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file diff --git a/cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls b/cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls new file mode 100644 index 000000000..0a2b76dbb --- /dev/null +++ b/cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls @@ -0,0 +1 @@ +${testbaseurl}/download/jmc/jmc/8.3.0/jmc-8.3.0.tgz diff --git a/cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls.txt b/cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/jmc/_ide/urls/jmc/jmc/8.3.0/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file diff --git a/cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls b/cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls new file mode 100644 index 000000000..62e6853f2 --- /dev/null +++ b/cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls @@ -0,0 +1 @@ +${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz diff --git a/cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls.txt b/cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls.txt deleted file mode 100644 index b21ed4505..000000000 --- a/cli/src/test/resources/ide-projects/mvn/_ide/urls/java/java/17.0.10_7/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest diff --git a/cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls b/cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls new file mode 100644 index 000000000..269c9f181 --- /dev/null +++ b/cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls @@ -0,0 +1 @@ +${testbaseurl}/download/mvn/mvn/3.9.7/mvn-3.9.7.tgz diff --git a/cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls.txt b/cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls.txt deleted file mode 100644 index b21ed4505..000000000 --- a/cli/src/test/resources/ide-projects/mvn/_ide/urls/mvn/mvn/3.9.7/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest diff --git a/cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls b/cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls new file mode 100644 index 000000000..a07d5a120 --- /dev/null +++ b/cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls @@ -0,0 +1 @@ +${testbaseurl}/download/node/node/v18.19.1/node-v18.19.1.tgz diff --git a/cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls.txt b/cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/npm/_ide/urls/node/node/v18.19.1/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file diff --git a/cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls b/cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls new file mode 100644 index 000000000..290f63d98 --- /dev/null +++ b/cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls @@ -0,0 +1 @@ +${testbaseurl}/download/npm/npm/9.9.2/npm-9.9.2.tgz diff --git a/cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls.txt b/cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/npm/_ide/urls/npm/npm/9.9.2/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file diff --git a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/17.0.10_7/urls b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/17.0.10_7/urls index b21ed4505..62e6853f2 100644 --- a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/17.0.10_7/urls +++ b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/17.0.10_7/urls @@ -1 +1 @@ -https://adoptium.net/download/dummytest +${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz diff --git a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/21_35/urls b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/21_35/urls index b21ed4505..9442a0c27 100644 --- a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/21_35/urls +++ b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/21_35/urls @@ -1 +1 @@ -https://adoptium.net/download/dummytest +${testbaseurl}/download/java/java/21_35/java-21_35.tgz diff --git a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/8u402b06/urls b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/8u402b06/urls index b21ed4505..9c2228c1b 100644 --- a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/8u402b06/urls +++ b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/java/java/8u402b06/urls @@ -1 +1 @@ -https://adoptium.net/download/dummytest +${testbaseurl}/download/java/java/8u402b06/java-8u402b06.tgz diff --git a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/tomcat/tomcat/10.1.14/urls b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/tomcat/tomcat/10.1.14/urls index da54a1856..e19eaed05 100644 --- a/cli/src/test/resources/ide-projects/tomcat/_ide/urls/tomcat/tomcat/10.1.14/urls +++ b/cli/src/test/resources/ide-projects/tomcat/_ide/urls/tomcat/tomcat/10.1.14/urls @@ -1 +1 @@ -https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.14/bin/apache-tomcat-10.1.14.zip +${testbaseurl}/download/tomcat/tomcat/10.1.14/tomcat-10.1.14.tgz diff --git a/cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/readme b/cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/readme deleted file mode 100644 index c2aeb9e0c..000000000 --- a/cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/readme +++ /dev/null @@ -1 +0,0 @@ -needed for resolving version diff --git a/cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/urls b/cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/urls new file mode 100644 index 000000000..f500d7d6f --- /dev/null +++ b/cli/src/test/resources/ide-projects/update/_ide/urls/java/java/17.0.6/urls @@ -0,0 +1 @@ +${testbaseurl}/download/java/java/17.0.6/java-17.0.6.tgz diff --git a/cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/readme b/cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/readme deleted file mode 100644 index c2aeb9e0c..000000000 --- a/cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/readme +++ /dev/null @@ -1 +0,0 @@ -needed for resolving version diff --git a/cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/urls b/cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/urls new file mode 100644 index 000000000..adc5b0bba --- /dev/null +++ b/cli/src/test/resources/ide-projects/update/_ide/urls/mvn/mvn/3.2.1/urls @@ -0,0 +1 @@ +${testbaseurl}/download/mvn/mvn/3.2.1/mvn-3.2.1.tgz diff --git a/cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls b/cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls new file mode 100644 index 000000000..9ee6179ae --- /dev/null +++ b/cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls @@ -0,0 +1 @@ +${testbaseurl}/download/vscode/vscode/1.92.1/vscode-1.92.1.tgz diff --git a/cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls.txt b/cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls.txt deleted file mode 100644 index 1f54f11a9..000000000 --- a/cli/src/test/resources/ide-projects/vscode/_ide/urls/vscode/vscode/1.92.1/urls.txt +++ /dev/null @@ -1 +0,0 @@ -https://adoptium.net/download/dummytest \ No newline at end of file