From 2d5589b91460e7cd2383929c09372e1eb544b520 Mon Sep 17 00:00:00 2001 From: Marcus Merrell Date: Fri, 8 Nov 2024 22:46:55 +0000 Subject: [PATCH] Trying to fix gitpod - JAVA_HOME as well as the maven command Fixing path to parent pom file Adding junit dependency to appium-web pom file--it looks like something changed about the parent pom and it wasn't updated Configuring JDK 17 properly and getting rid of some VSCode warnings --- .gitpod.yml | 19 ++++++++++++------- appium/appium-web/appium-web-examples/pom.xml | 8 ++++++-- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 422d260a..a9ca796a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,10 +1,15 @@ # List the start up tasks. Learn more: https://www.gitpod.io/docs/configure/workspaces/tasks image: maven:3.6.3-jdk-11 tasks: - - name: Script Task - init: | - mvn dependency:resolve - mvn test-compile - cd gitpod - command: $MVN_COMMAND - + - name: Install JDK 17 + init: | + curl -s "https://get.sdkman.io" | bash + source "$HOME/.sdkman/bin/sdkman-init.sh" + sdk install java 17.0.8-tem + - name: Script Task + init: | + mvn dependency:resolve + mvn test-compile + cd gitpod + command: | + $MVN_COMMAND \ No newline at end of file diff --git a/appium/appium-web/appium-web-examples/pom.xml b/appium/appium-web/appium-web-examples/pom.xml index 91e6bc27..f02a67dd 100644 --- a/appium/appium-web/appium-web-examples/pom.xml +++ b/appium/appium-web/appium-web-examples/pom.xml @@ -18,10 +18,8 @@ 4.25.0 - - commons-logging commons-logging @@ -34,6 +32,12 @@ 3.26.3 + + junit + junit + 4.13.2 + + io.appium java-client