Closed harbulot closed 1 week ago
We're also seeing this issue when running the command jfrog rt mvn clean install
after installing jfrog via curl -fLs https://getcli.jfrog.io/ | sh
. Our underlying JVM and maven versions are based on maven:3.9.0-eclipse-temurin-17-focal
.
We also see the same issue with running the command using the jf mvn clean install. Is there any workaround suggested if we have to have maven 3.9 version in place?
Hi @harbulot, @deltamualpha @suyashsingh-dlg Thanks for reporting this issue. JFrog Cli 2.35.0 has been released and includes a fix for this issue. Any feedback will be appreciated.
Will there be a fix for the v1 branch as well?
@deltamualpha - A fix for v1 branch isn't planned for now. We strongly recommend using the latest version of JFrog CLI.
A little off-topic for this issue, then, but we didn't even realize there was a major version update available, since getcli.jfrog.io appears to still be installing v1 with no hints that there's even a v2 available. A notice on stderr would be helpful.
The command jf mvn -e clean source:jar javadoc:jar package
worked for me on the Spring Petclinic maven project https://github.com/spring-projects/spring-petclinic using using JFrog CLI version 2.66.0
This issue can probably be closed.
Describe the bug
When using
jf
with Maven 3.9.0, using thesource:jar
javadoc:jar
makes the build fail with an exception:This is more or less the same problem as what's reported in JENKINS-70654 (which seems to be linked to the Jenkins Artifactory plugin), but this also happens when using
jf
directly on the command line.Current behavior
The command is as follows (I've added
-e
to get the stack trace from Maven):Reproduction steps
M2_HOME
) to use Maven 3.9.0jf mvn source:jar
Expected behavior
This works fine:
jf
(mvn
directly)jf
and Maven 3.8.7 (instead of 3.9.0)jf
, Maven 3.9.0 and withoutsource:jar javadoc:jar
(either goals makes it fail)JFrog CLI version
2.34.6
Operating system type and version
Linux
JFrog Artifactory version
No response
JFrog Xray version
No response