on *nix machines, the passphrases could be saved with the keychain at ease.
on windows machines, the key could be added to ssh-agent. then while the ssh-agent is running, it will save the hassle to keep asking for passphrases during git operations.
here are the steps:
in git bash, add below to have the key added to ssh-agent on bash start:
the default `gradlew bootRun` command is not always working out. The latest error message I got is
as an alternative, the plain build works, even though with a caveat:
caveat: the built out package has been put under libs folder, instead of what the bootScripts is expecting (lib). So point to the right path will work.
PS C:\Users\...> .\build\bootScripts\cli.bat
Error: Unable to access jarfile C:\Users\...\build\bootScripts\..\lib\cli-0.0.1-SNAPSHOT.jar
PS C:\Users\...\build> java -jar .\libs\cli-0.0.1-SNAPSHOT.jar
2020-08-23 10:08:55.583 INFO 53436 --- [ main] : Starting Application on ....
2020-08-23 10:08:56.493 INFO 53436 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2020-08-23 10:08:56.580 INFO 53436 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 72ms. Found 3 JPA repository interfaces.
2020-08-23 10:08:57.191 INFO 53436 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-23 10:08:57.823 INFO 53436 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2020-08-23 10:08:57.864 INFO 53436 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]