-
Notifications
You must be signed in to change notification settings - Fork 287
Incompatibility between CLI 2.14.0 and maven 3.5.3 #1483
Copy link
Copy link
Closed
jfrog/build-info
#633Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Since CLI 2.14.0 if i execute the following command for my maven build with maven 3.5.3 : jf mvn install I have the following error (complete stacktrace in attachment) :
main] �[1;34mINFO�[m org.apache.maven.cli.event.ExecutionEventLogger - Scanning for projects...
[main] �[1;34mINFO�[m org.jfrog.build.extractor.maven.BuildInfoRecorder - Initializing Artifactory Build-Info Recording
[main] �[1;31mERROR�[m org.jfrog.build.extractor.maven.BuildInfoRecorder - org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionStarted() listener has failed:
�[1;31mjava.lang.NoSuchMethodError�[m: �[1;31morg.apache.commons.lang3.StringUtils.firstNonBlank([Ljava/lang/CharSequence;)Ljava/lang/CharSequence;�[m
�[1mat�[m org.jfrog.build.extractor.maven.BuildInfoModelPropertyResolver.resolveCoreProperties (�[1mBuildInfoModelPropertyResolver.java:123�[m)
�[1mat�[m org.jfrog.build.extractor.maven.BuildInfoModelPropertyResolver.resolveProperties (�[1mBuildInfoModelPropertyResolver.java:36
To Reproduce
-> Launch the following commands in a maven project, with maven 3.5.3 on path and with a jfrog cli (2.14.0) configured to uses Artifactory platform (7.25.6) :
-> jf mvn-config ....
-> jf mvn install --build-name mybuild --build-number 1
Expected behavior
That my maven artifact are build and published to artifactory
Versions
- JFrog CLI version: 2.14.0
- JFrog CLI operating system: Linux (Docker: maven:3.5.3-openjdk-8 image)
- Artifactory Version: 7.25.6
Additional context
It seems that the mvn build info extractor is broken since 2.36.0 version with maven 3.5.3, it's ok with maven 3.6.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working