github / maven-plugins

Official GitHub Maven Plugins
MIT License
584 stars 198 forks source link

No authentication credentials configured when using privateKey #58

Open berryma4 opened 10 years ago

berryma4 commented 10 years ago

Doesn't seem to support privateKey:

    <server>
        <id>github</id>
        <username>git</username>
        <privateKey>~/.ssh/id_rsa</privateKey>
    </server>

I get the error: No authentication credentials configured Using version 0.8.

lucastheisen commented 9 years ago

From how i read it, this plugin uses the rest api rather than git scm. That means its not using ssh at all, so private key wont do anything. Either way, this would be a fantastic feature as most maven projects that would want to use this plugin are already configured for the git scm plugin... Any word on whether or not they intend to implement this feature?

mugglmenzel commented 8 years ago

Using a registered deploy key of a repo would surely be an incredible feature. I absolutely would love it!!!