Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to fix gitpod - JAVA_HOME as well as the maven command #253

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
8 changes: 6 additions & 2 deletions appium/appium-web/appium-web-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
<selenium.version>4.25.0</selenium.version>
</properties>

<!-- You will find Junit and Appium configration in the project level pom.xml -->
<dependencies>

<!-- Apache Commons Logging -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
Expand All @@ -34,6 +32,12 @@
<version>3.26.3</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>

<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
Expand Down
Loading