Github user nfalco79 commented on the issue:

    https://github.com/apache/maven-wagon/pull/29
  
    Follow my settings.xml
    {code:xml}
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                                  
https://maven.apache.org/xsd/settings-1.0.0.xsd";>
        <servers>
                <server>
                        <id>raspberry</id>
                        <username>pi</username>
                        <password>password</password>
                        <configuration>
                                
<strictHostKeyChecking>no</strictHostKeyChecking>
                                
<preferredAuthentications>publickey,password</preferredAuthentications>
                                <interactive>false</interactive>
                        </configuration>
                </server>
        </servers>
    </settings>
    {code}
    
    I had play with the repository you post.
    The reason because your wagon-mave-plugin does not works is because when 
you instantiate the wagon instance you do not consider the configuration 
element as the site-plugin does in 
[AbstractDeployMojo#configureWagon|http://svn.apache.org/viewvc/maven/plugins/tags/maven-site-plugin-3.6/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java?view=markup#l678]
 by the XmlPlexusConfiguration


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to