Quarkus needs Apache Maven 3.6.2+

(2021/02/16) Quarkus needs Apache Maven 3.6.2+, which is not included in IBM Cloud Shell

Thanks to Sbusiso Mkhombe and Karim Deif, because they pointed this out and documented the workaround for the Cloud Shell.
  • Problem in IBM Cloud Shell

Setup Maven in the IBM Cloud Shell

So, in your cloud-native-starter/reactive directory you need to perform the following tasks:

Step 1: Change to your reactive directory in your cloud-native-starter project.

1
cd ~/cloud-native-starter/reactive
Copied!

Step 2: Download the latest mvn as a compressed file.

1
wget https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
Copied!

Step 3: Uncompress the Apache Maven file and create adirectory in the same location called apache-maven-3.6.3

1
tar -xvf apache-maven-3.6.3-bin.tar.gz
Copied!

Step 4: Add the mvn binary located in apache-maven-3.6.3/bin to the $PATH variable

1
export PATH=~/cloud-native-starter/reactive/apache-maven-3.6.3/bin:$PATH
Copied!

Step 5: Verify the used Maven version

This should return a message that shows you are using mvn version like 3.6.3
1
mvn --version
Copied!
Continue with the execises as usual.

Setup a local environment

To run the development exercises can you also to setup following tools on your machine:
or check out this Docker image which contains the actual tools.