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

Improve logic of getting java version #2223

Open
chenrujun opened this issue Feb 16, 2023 · 0 comments
Open

Improve logic of getting java version #2223

chenrujun opened this issue Feb 16, 2023 · 0 comments

Comments

@chenrujun
Copy link

chenrujun commented Feb 16, 2023

Plugin name and version

Plugin name: com.microsoft.azure:azure-spring-apps-maven-plugin
Version: 1.14.0
Goal: config

Plugin configuration in your pom.xml

Nothing

Expected behavior

  1. Detect the Java version specified in pom.xml
  2. Let use input Java version manually without -DadvancedOptions.
    Just like existing logic of handle app name

image

I need something like:

Input Java version (17):

Where 17 is detected by pom. Here is an example of Java version in pom.xml:

<properties>
  <java.version>17</java.version>
</properties>

Actual behavior

  1. Java version can only be configured with -DadvancedOptions
  2. The java version is always 11 it can not be detected by pom.xml Here is the screenshot:

image

Steps to reproduce the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant