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

openshift-maven-plugin failed For input string: ${HTTP_PORT:8080} #943

Open
eye0fra opened this issue Sep 28, 2021 · 0 comments
Open

openshift-maven-plugin failed For input string: ${HTTP_PORT:8080} #943

eye0fra opened this issue Sep 28, 2021 · 0 comments

Comments

@eye0fra
Copy link
Contributor

eye0fra commented Sep 28, 2021

Description

JKube OpenShift Maven Plugin fails on quarkus application when using optional environment format in the quarkus.http.port=${HTTP_PORT:8080}

ERROR] Failed to execute goal org.eclipse.jkube:openshift-maven-plugin:1.4.0:build (default-cli) on project registration-service: Execution default-cli of goal org.eclipse.jkube:openshift-maven-plugin:1.4.0:build failed: For input string: "${HTTP_PORT:8080}" -> [Help 1]" 

Info

  • Eclipse JKube version : 1.4.0
  • Maven version (mvn -v) :
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/mmascia/.sdkman/candidates/maven/current
Java version: 11.0.11, vendor: GraalVM Community, runtime: /Users/mmascia/.sdkman/candidates/java/21.1.0.r11-grl
Default locale: en_CH, platform encoding: UTF-8
OS name: "mac os x", version: "11.5", arch: "x86_64", family: "mac"
  • Kubernetes / Red Hat OpenShift setup and version : OpenShift 4.8

  • If it's a bug, how to reproduce :

  1. Set the quarkus.http.port=${HTTP_PORT:8080}
  2. Launch mvn oc:build
  • Sample Reproducer Project : N/A
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