Since the Apache Maven will use the svn client which is installed in our OS.
We should ensure that our svn client is worked properly.
1.Firstly we should ensure that we have a svn client installed.
2.We can use the following command for storing the accepted root certificate.
svn list https://your_host/path/to/repo
The system will prompt you to accept it temporary or permanent.
Please choose/type 'p' for permanent.
If the above command is not completed or there are some error, please follow this as an alternative.
Copy the root certificate and choose to store at one of the following folder
Global
Unix:
/etc/subversion/auth/svn.ssl.server
Windows:
%ALLUSERSPROFILE%\Application Data\Subversion\auth\svn.ssl.server
Per user
Unix:
~/.subversion/auth/svn.ssl.server
Windows:
%APPDATA%\Subversion\auth\svn.ssl.server
Regarding to the chosen root folder, /what/ever/subversion, We will see the file named "servers". Please open and put the following line.
ssl-authority-files =/what/ever/subversion/auth/svn.ssl.server/your_root.cer
3.We can verify the completion by using the same command as the following: -
svn list https://your_host/path/to/repo
The system will print the files inside your repository.
I hope this may help to achieve the requirement.
Regards,
Charlee Ch.