Currently json schema validator is using com.sun.mail which depends on Java Mail API 1.6.2 and has vulnerabilities , should use jakarta mail instead. #411
Json shcema validator is using internally AddressException and InternetAddress for mail field validation from javax.mail.internet package which has dependency on Java Mail API (https://mvnrepository.com/artifact/com.sun.mail/javax.mail/1.6.2) and this version has the vulnerabilities.
Json shcema validator is using internally AddressException and InternetAddress for mail field validation from javax.mail.internet package which has dependency on Java Mail API (https://mvnrepository.com/artifact/com.sun.mail/javax.mail/1.6.2) and this version has the vulnerabilities.
If you see this has been moved to a new artifact https://mvnrepository.com/artifact/com.sun.mail/jakarta.mail which has more latest version and does not have any vulnerabilities.
We should also use the same in this repo. This PR has been raised for the same changes.