#1003403 maven: Warning running mvn about which beeing deprecated

Package:
maven
Source:
maven
Submitter:
Alberto Fernández Martínez
Date:
2023-06-18 18:15:02 UTC
Severity:
normal
#1003403#5
Date:
2022-01-09 16:28:04 UTC
From:
To:
Dear Maintainer,

When running mvn command, a warning message shows:

/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.

#1003403#10
Date:
2023-06-18 17:48:38 UTC
From:
To:
I must admit I wasn't able to reproduce this even when testing with
older maven versions.

However, it looks like the most obvious usage of which was replaced
upstream in 3.8.4, see for
https://salsa.debian.org/java-team/maven/-/commit/e0a4b1763cfa9e730faa9526082ee793410fe1d1

So unless someone can still trigger this warning it might be fixed.