[
https://jira.codehaus.org/browse/WAGON-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283156#comment-283156
]
Anthony Whitford commented on WAGON-355:
----------------------------------------
We seem to think that Java 7 changed some behavior in JCE to cause this
problem. There is a workaround to this problem: add
{{-Djava.security.auth.login.config=ignoreMe.conf}} to {{MAVEN_OPTS}}. Note
that {{ignoreMe.conf}} is a non-existent file.
> Expose PreferredAuthentications property of jsch in some way
> ------------------------------------------------------------
>
> Key: WAGON-355
> URL: https://jira.codehaus.org/browse/WAGON-355
> Project: Maven Wagon
> Issue Type: Improvement
> Components: wagon-ssh
> Affects Versions: 2.0
> Environment: Any. I happened to test with Maven 2.2.1 and jdk 1.7
> Reporter: Lester Ward
> Priority: Minor
>
> Deploy using scp. Under jdk 1.7, support for gssapi-with-mic works
> differently than it did under jdk 1.6, to the point where we do not want to
> use it. Ultimately, the deploy plugin uses the jsch library to deploy using
> scp. This library has an property called PreferredAuthentications which
> controls which authentications get used, in which order. The code in
> AbstractJschWagon hard-codes
> "gssapi-with-mic,publickey,password,keyboard-interactive" into this property.
> I'd like a way to somehow override that, preferably in my project's pom file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira