takezoe / gitbucket-maven-repository-plugin

A GitBucket plugin that provides Maven repository hosting on GitBucket
14 stars 5 forks source link

Broken by SSHD upgrade in GitBucket #9

Closed takezoe closed 6 years ago

takezoe commented 6 years ago

Caused by this upgrade: https://github.com/gitbucket/gitbucket/pull/2162

[info] Compiling 12 Scala sources to /gitbucket-plugin-farm/workspace/builds/gitbucket-maven-repository-plugin/target/scala-2.12/classes ...
[error] /gitbucket-plugin-farm/workspace/builds/gitbucket-maven-repository-plugin/src/main/scala/Plugin.scala:59:12: one more argument than can be applied to constructor ScpCommand: (x$1: String, x$2: org.apache.sshd.common.util.threads.CloseableExecutorService, x$3: Int, x$4: Int, x$5: org.apache.sshd.common.scp.ScpFileOpener, x$6: org.apache.sshd.common.scp.ScpTransferEventListener)org.apache.sshd.server.scp.ScpCommand
[error]         }, null)
[error]            ^
[error] /gitbucket-plugin-farm/workspace/builds/gitbucket-maven-repository-plugin/src/main/scala/io/github/gitbucket/mavenrepository/command/AbstractCommand.scala:5:8: object Command is not a member of package org.apache.sshd.server
[error] import org.apache.sshd.server.{Command, Environment, ExitCallback}
[error]        ^
[error] /gitbucket-plugin-farm/workspace/builds/gitbucket-maven-repository-plugin/src/main/scala/io/github/gitbucket/mavenrepository/command/AbstractCommand.scala:7:40: not found: type Command
[error] abstract class AbstractCommand extends Command {
[error]                                        ^
[error] /gitbucket-plugin-farm/workspace/builds/gitbucket-maven-repository-plugin/src/main/scala/Plugin.scala:61:9: type mismatch;
[error]  found   : io.github.gitbucket.mavenrepository.command.MkdirCommand
[error]  required: org.apache.sshd.server.command.Command
[error]         new MkdirCommand(new File(fullPath))
[error]         ^
[error] /gitbucket-plugin-farm/workspace/builds/gitbucket-maven-repository-plugin/src/main/scala/Plugin.scala:63:9: type mismatch;
[error]  found   : io.github.gitbucket.mavenrepository.command.LsCommand
[error]  required: org.apache.sshd.server.command.Command
[error]         new LsCommand(new File(fullPath))
[error]         ^
[error] 5 errors found
[error] (Compile / compileIncremental) Compilation failed