Azure / CloudShell

Container Image for Azure Cloud Shell (https://azure.microsoft.com/en-us/features/cloud-shell/)
https://shell.azure.com
MIT License
259 stars 105 forks source link

[BUG] Broken - Azure cloud shell maven version - OpenJDK 17 conflict #180

Closed priyaananthasankar closed 2 years ago

priyaananthasankar commented 2 years ago

To Reproduce

Clone this repo onto cloud shell: https://github.com/spring-petclinic/spring-petclinic-microservices Run mvn clean compile

Commands you ran

mvn clean compile

Observed Behavior

Command fails to run

Include error output here

Expected behavior

The command should run

Is this specific to Cloud Shell?

Please verify if the same issue can be reproduced by running the same tool outside Cloud Shell - for example, by installing it on your own computer. If so, it is likely to be a bug in that tool or in the Azure service it communicates with, not in Cloud Shell. Please file the issue with the appropriate project.

Interface information

How are you accessing Cloud Shell - https://shell.azure.com, https://portal.azure.com, via Windows Terminal, or some other method? If a browser, which Operating System and browser are you using? (ex. Edge on Windows 10)

Additional context

Add any other context about the problem here.

AB#14442671

karianna commented 2 years ago

Basically Cloudshell needs to upgrade to Maven 3.8.5 and this will be resolved.

priyaananthasankar commented 2 years ago

Adding specific maven version to the shell, as the debian package mirror downloads the older version and is end of life.

priyaananthasankar commented 2 years ago

Fixed - will be available in next production release - approximate ETA 1-2 weeks from now.

priyaananthasankar commented 2 years ago

Workaround until this fix reaches prod: Step-1: curl -O https://dlcdn.apache.org/maven/maven-3/3.8.5/binaries/apache-maven-3.8.5-bin.tar.gz Step-2: tar xzvf apache-maven-3.8.5-bin.tar.gz Step-3: git clone https://github.com/spring-petclinic/spring-petclinic-microservices.git Step-4: cd spring-petclinic-microservices/ Step-5: /home/XXXX/apache-maven-3.8.5/bin/mvn clean compile

bayanlouzi commented 2 years ago

Hello , Any information about the fix ETA ?

priyaananthasankar commented 2 years ago

@bayanlouzi : Fixed and available in production. Check again.