Hi, as I tried to build SSHD (from git), I got this error :
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Mina SSHD .................................. SUCCESS [1.820s] [INFO] Apache Mina SSHD :: Core .......................... FAILURE [4.552s] [INFO] Apache Mina SSHD :: PAM ........................... SKIPPED [INFO] Apache Mina SSHD :: SFTP .......................... SKIPPED [INFO] Apache Mina SSHD :: Assembly ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.805s [INFO] Finished at: Mon Jan 28 19:03:35 CET 2013 [INFO] Final Memory: 20M/218M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project sshd-core: Compilation failure: Compilation failure: [ERROR] /Users/elecharny/mina/sshd-git/sshd-core/src/main/java/org/apache/sshd/common/forward/DefaultTcpIpForwarder.java:[47,7] error: class DefaultTcpipForwarder is public, should be declared in a file named DefaultTcpipForwarder.java [ERROR] [ERROR] /Users/elecharny/mina/sshd-git/sshd-core/src/main/java/org/apache/sshd/common/TcpIpForwarder.java:[22,7] error: class TcpipForwarder is public, should be declared in a file named TcpipForwarder.java [ERROR] [ERROR] /Users/elecharny/mina/sshd-git/sshd-core/src/main/java/org/apache/sshd/common/forward/TcpIpServerChannel.java:[49,7] error: class TcpipServerChannel is public, should be declared in a file named TcpipServerChannel.java [ERROR] [ERROR] /Users/elecharny/mina/sshd-git/sshd-core/src/main/java/org/apache/sshd/common/forward/TcpIpClientChannel.java:[40,7] error: class TcpipClientChannel is public, should be declared in a file named TcpipClientChannel.java [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :sshd-core I'm quite sure that the problem is about a case sensitive file being used in a case insensitive env (like on a mac). For instance, the TcpIpForwarder interface is named TcpipForwarder, and it's not seen as the class name is not the same as the class file. I can fix that, but the question is to know if the 'i' in ip should be upper cased or not : TcpIp or Tcpip ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com