When you use the MvnBuild native step in a pipeline, it performs the below actions in the background. For more information on MvnBuild Pipeline steps, see MvnBuild.
MvnBuildCommands
jfrog rt config # configures JFrog CLI with the integration listed in the yaml jfrog rt mvn-config # if configFileName and configFileLocation are not set in yaml jfrog rt mvn $mvnCommand # the main maven build command add_run_variables # saves some information in run state for future steps to reference jfrog rt build-collect-env # collects build environment, preparing for build publish jfrog rt build-publish # only if autoPublishBuildInfo is true write_output # updates the buildinfo resource, if present jfrog rt build-scan # if forceXrayScan is true add_run_files # adds BuildInfo to run state