quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.82k stars 2.69k forks source link

Fix Quarkus S2I #3046

Closed cescoffier closed 3 years ago

cescoffier commented 5 years ago

There are 2 issues with our S2Is:

With the Java builder:

oc new-app registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift~https://github.com/quarkusio/quarkus-quickstarts.git --context-dir=getting-started --name=quarkus-quickstart
...
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:0.18.0:build (default) on project getting-started: Failed to resolve application model org.acme:getting-started::j
ar:1.0-SNAPSHOT dependencies: Failed to inject extension deployment dependencies for org.acme:getting-started:jar:1.0-SNAPSHOT: org.eclipse.aether.transfer.TransferResource.<ini
t>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/io/File;Lorg/eclipse/aether/RequestTrace;)V -> [Help 1] 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.quarkus:quarkus-maven-plugin:0.18.0:build (default) on project getting-started: Failed to resol
ve application model org.acme:getting-started::jar:1.0-SNAPSHOT dependencies

The native S2I has also an issue on OCP 4.x when there is a permission issue on the built executable.

cescoffier commented 5 years ago

The permission issue has been fixed. The other issue is due to an outdated Maven version. Investigation in progress.

gsmet commented 5 years ago

@cescoffier is it still a valid one?

rsvoboda commented 4 years ago

@cescoffier can it be closed ?

cescoffier commented 4 years ago

We need to retry with the latest S2I:

spolti commented 3 years ago

Hey @cescoffier is this issue still happening? if so, please let me know, I think I can help with it.

cescoffier commented 3 years ago

Oups, long time outdated!