Problem with using ssh
v1690117 opened this issue · 3 comments
v1690117 commented
Nice tool!
I have a problem with defining my git repository with ssh. Plugin fails if git remote is set via ssh:
[INFO] --- nullfree-maven-plugin:1.4.2:nullfree (default-cli) @ tasks-thing ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.699 s
[INFO] Finished at: 2020-02-17T21:50:14+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.nikialeksey:nullfree-maven-plugin:1.4.2:nullfree (default-cli) on project tasks-thing: Can not get the origin from git repo.: Can not form the origin url. no protocol: git@github.com:v1690117/tasks-thing.git -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
If I set remote using http everything is fine.
Thanks!
v1690117 commented
After small research I found that problem is in dependency com.nikialeksey:goo:0.0.1. So I think this issue could be closed.
nikialeksey commented
@v1690117 Thanks for using my library! Yes, ssh format does not supported now, I will add it soon
nikialeksey commented
Thanks for the issue! I've just released plugins for gradle and maven with version 1.4.3
, they will fix the problem.