that sounds like a bug in the maven job type. if you can reproduce it with something you share can you file an issue in issues.jenkins-ci.org along with the source, Jenkins plugin versions jdk and maven versions.
you can get very similar results to the maven job type in pipeline using the pipeline-maven-plugin (with maven step), but it sounds like you may be invested in the maven job type. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3b206fb6-1ac6-4a83-a02e-4ee9bbb424d8%40googlegroups.com.