jfrog-cli icon indicating copy to clipboard operation
jfrog-cli copied to clipboard

Using mvn cmd with jfrog cli doesn’t redirect mvn stdout contents.

Open pruthvirb opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Running the below command, version variable is empty. As an example this is not working as expected: #version=$(jf mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout) #echo “version=${version}”

Describe the solution you'd like to see The jfrog cli should redirect mvn stdout contents.

Describe alternatives you've considered Use maven client to overcome the issue

Additional context Working with maven client maven-example % version=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout) maven-example % echo $version
3.7-SNAPSHOT

With Jfrog cli as wrapper maven-example % version=$(jf mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout) 16:07:00 [:large_blue_circle:Info] Running Mvn... 16:07:00 [:large_blue_circle:Info] Running mvn command:.................. 3.7-SNAPSHOT%
maven-example % maven-example % echo $version
{ "status": "failure", "totals": { "success": 0, "failure": 1 } }

pruthvirb avatar Aug 08 '23 17:08 pruthvirb

More like a bug than a feature request...

lauravuo avatar Feb 03 '25 13:02 lauravuo

This issue has been marked as stale due to 6 months of inactivity. As part of our effort to address every issue properly, please feel free to remove the stale label or keep this issue active by leaving a comment. Otherwise, it will be closed in 7 days

github-actions[bot] avatar Sep 23 '25 07:09 github-actions[bot]

This issue was closed due to 7 days of inactivity after being marked as stale. Feel free to reopen it if it remains relevant.

github-actions[bot] avatar Oct 04 '25 00:10 github-actions[bot]