-
Notifications
You must be signed in to change notification settings - Fork 240
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
jfrog cli raises error when building quarkus 3.2.x application #2070
Comments
Same problem for me, it is blocking our CI pipeline (Xray analysis) |
Workaround: Add the missing class/dependency (org.sonatype.aether:aether-api:1.13.1) to the ${MAVEN_HOME}/lib/ directory. |
JFrog Support is unable to reproduce this, can someone run a debug build and provide some additional data here: Reproduce the issue after adding the below maven debug loggers(please remove them after sharing the information) in the logback.xml file present under "$JFROG_HOME/artifactory/var/etc/artifactory/" and share the latest Artifactory Support Bundle along with the timestamp.
|
Adding this logging config creates the file artifactory-maven.log, but nothing is logged. |
When ist ETA for the bug fix? It is a big issue! |
@joergsesterhenn
We are using
|
@aboukhal then best report it to jfrog via support to raise urgency. |
3 months later, still no fix. |
JFrog support shared that this bug is in RnD's backlog and will be fixed on Q4. |
I also raised a jfrog support ticket and I had the same answer : I have already reached out to the relevant teams to get an ETA after internal discussions, the RnD team decided to add the issue to the Q4 plan. |
@joergsesterhenn @mcanzerini @dNhax @itjoker-klaus @Mert-Z @gregoryboue |
@joergsesterhenn @mcanzerini @dNhax @itjoker-klaus @Mert-Z @gregoryboue Feel free to upgrade - we'd appreciate your feedback on that. |
Describe the bug
when building quarkus 3.2.x application with the newest version of jfrog cli v2 and maven >= 3.8.6 an error is shown and the application will not compile:
ERROR org.apache.maven.cli.MavenCli - Failed to execute goal io.quarkus:quarkus-maven-plugin:3.2.0.Final:generate-code-tests (default) on project adonis-sync-service: Execution default of goal io.quarkus:quarkus-maven-plugin:3.2.0.Final:generate-code-tests failed: A required class was missing while executing io.quarkus:quarkus-maven-plugin:3.2.0.Final:generate-code-tests: org/sonatype/aether/repository/RemoteRepository
It appears build-info-extractor-maven3-2.40.0-uber.jar (and later versions) lacks the required class to run the plugin
Earlier versions of quarkus apps do not have that problem. However since apps with this version of quarkus are built correctly without jfrog cli there appears to be an issue in jfrog cli.
Current behavior
when building quarkus 3.2.x application with the newest version of jfrog cli v2 and maven >= 3.8.6 an error is shown and the application will not compile:
ERROR org.apache.maven.cli.MavenCli - Failed to execute goal io.quarkus:quarkus-maven-plugin:3.2.0.Final:generate-code-tests (default) on project adonis-sync-service: Execution default of goal io.quarkus:quarkus-maven-plugin:3.2.0.Final:generate-code-tests failed: A required class was missing while executing io.quarkus:quarkus-maven-plugin:3.2.0.Final:generate-code-tests: org/sonatype/aether/repository/RemoteRepository
It appears build-info-extractor-maven3-2.40.0-uber.jar (and later versions) lacks the required class to run the plugin
Reproduction steps
Install newest jf and maven
checkout the Quickstarts repo from
https://github.com/quarkusio/quarkus-quickstarts
change to the rest-client-reactive-quickstart and run
jf mvn clean install
see error above
fix it ;)
Expected behavior
project should build, just like it would without jfrog cli.
JFrog CLI version
2.42.1
Operating system type and version
Windows 10 / Linux
JFrog Artifactory version
7.41.13
JFrog Xray version
3.73.8
The text was updated successfully, but these errors were encountered: