yaks icon indicating copy to clipboard operation
yaks copied to clipboard

Loading glue code fails (Unsupported transport protocol s3)

Open c14s opened this issue 2 years ago • 5 comments

After having updated to yaks 0.14.2 (yaks-0.14.2-linux-64bit.tar.gz), I'm getting the following exception (this was working fine in version 0.12.2).

Glue code has been uploaded successfully; and double-checked that it is available in minio repo.

[ERROR] Failed to execute goal on project yaks-runtime-maven:
Could not resolve dependencies for project org.citrusframework.yaks:yaks-runtime-maven:jar:0.14.2:
Failed to collect dependencies at ...:jar:...:
Failed to read artifact descriptor for ...:jar:...:
Could not transfer artifact ...:pom:... from/to s3 (s3://yaks): 
Cannot access s3://yaks with type default using the available connector factories:
BasicRepositoryConnectorFactory: Cannot access s3://yaks using the registered transporter factories:
WagonTransporterFactory: Unsupported transport protocol s3: java.util.NoSuchElementException

[ERROR]   role: org.apache.maven.wagon.Wagon 
[ERROR]   roleHint: s3

c14s avatar Mar 03 '23 15:03 c14s

We did an update on the base image from openjdk to eclipse:temurin and updated the Maven version used in the image. I think this could be the root cause why this is failing.

christophd avatar Mar 14 '23 08:03 christophd

Any update on this? We're still facing this issue in the latest release v0.15.1

c14s avatar Jul 25 '23 08:07 c14s

You are using a custom jar artifact with custom step definitions that should be loaded via minio s3, right?

christophd avatar Dec 06 '23 08:12 christophd

Yes, that's true. We have a custom jar file with custom step definitions.

yaks upload . is executed successfully; but when starting the tests with yaks run abc.feature the processing fails.

btw: looks like the exception details have changed a little bit with yaks 0.17.1

[ERROR] Failed to execute goal on project yaks-runtime-maven:
Could not resolve dependencies for project org.citrusframework.yaks:yaks-runtime-maven:jar:0.17.1:
Failed to collect dependencies at ...:...:jar:...:
Failed to read artifact descriptor for ...:...:jar:...:
The following artifacts could not be resolved: ...:...:pom:... (absent):
Could not transfer artifact ...:...:pom:... from/to s3 (s3://yaks):
Cannot access s3://yaks with type default using the available connector factories: BasicRepositoryConnectorFactory:
Cannot access s3://yaks using the registered transporter factories: HttpTransporterFactory, FileTransporterFactory, WagonTransporterFactory

c14s avatar Dec 08 '23 12:12 c14s

Any update on this? We're still facing this issue in the latest release v0.20.0

c14s avatar Sep 05 '24 13:09 c14s