Reactive Endpoints with Quarkus on OpenShift
  • README
  • Setup the IBM Cloud Environment
    • Overview
    • Access the Cluster
    • Access IBM Cloud Shell
  • Setup the sample application
    • Exercise 1 - Deploy the example application via one script
    • YouTube - How to setup the sample application (optional)
  • Build a new version of the Microservice
    • Exercise 1 - Develop reactive Endpoints
    • Exercise 2 - Invoke Endpoints reactively
    • Exercise 3 - Deploy Service to OpenShift
    • Exercise 4 (optional) - Use distributed Logging
  • YouTube Videos related to the Exercises
    • Exercise 1 - Develop reactive Endpoints (optional)
    • Exercise 2 - Invoke Endpoints reactively (optional)
    • Exercise 3 - Deploy Service to OpenShift (optional)
    • Exercise 4 - Use distributed Logging (optional)
  • Additional Resources
    • Blog posts related to reactive
    • Workshop: Reactive Messaging with Quarkus on OpenShift
    • Cloud-Native-Starter project
    • Cloud-Native-Starter project reactive
  • Known Issues
    • Quarkus needs Apache Maven 3.6.2+
Powered by GitBook
On this page
  • (2021/02/16) Quarkus needs Apache Maven 3.6.2+, which is not included in IBM Cloud Shell
  • Setup Maven in the IBM Cloud Shell
  • Setup a local environment

Was this helpful?

  1. Known Issues

Quarkus needs Apache Maven 3.6.2+

PreviousExercise 4 (optional) - Use distributed Logging

Last updated 4 years ago

Was this helpful?

(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.

  • Information in Quarkus

  • 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.

cd ~/cloud-native-starter/reactive

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

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

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

tar -xvf apache-maven-3.6.3-bin.tar.gz

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

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

Step 5: Verify the used Maven version

This should return a message that shows you are using mvn version like 3.6.3

 mvn --version

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:

  • git

  • curl

  • oc

  • mvn

  • Java 9 or higher

or check out this Docker image which contains the actual tools.