2016-11-05 16 views
1

私のアーチLinuxボックスにApache FTP Serverをビルドしようとしています。Apache FTPサーバー:Java 8(SSL)でMVNビルドに失敗しました

OS:Arch Linux 64-Bit(最新版)。 カーネル:4.8.6-1。 Java:Oracle 1.8.0_112。 Maven:3.3.9。

Open-SSLとTLSの両方がインストールされています。

ビルドディレクトリに「MVN install」を実行すると、次のエラーが発生します。私は問題がJava 8のSSL v3.0を無効にするTLSのためにあると考えていますか?もしそうなら、古いバージョンのjavaでコンパイルするのは悪い考えです。このライブラリを使用しないでください、またはこれを伝える良い方法がありますか?

Results : 

Tests in error: 
    testStoreWithProtPAndReturnToProtCInPassiveMode(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testCommandChannel(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testReissueAuth(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testIsSecure(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPInPassiveMode(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPInActiveMode(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPAndReturnToProtCInActiveMode(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testListEmptyDir(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testReceiveEmptyFile(org.apache.ftpserver.ssl.MinaExplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testThatDataChannelIsSecure(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithoutProtPInActiveMode(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPInPassiveMode(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPAndReturnToProtCInPassiveMode(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testCommandChannel(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testReissueAuth(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testIsSecure(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPInActiveMode(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPAndReturnToProtCInActiveMode(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testListEmptyDir(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testReceiveEmptyFile(org.apache.ftpserver.ssl.MinaImplicitDataChannelTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPAndReturnToProtCInPassiveMode(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testCommandChannel(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testReissueAuth(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testIsSecure(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPInPassiveMode(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPInActiveMode(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testStoreWithProtPAndReturnToProtCInActiveMode(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testListEmptyDir(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 
    testReceiveEmptyFile(org.apache.ftpserver.ssl.MinaImplicitSSLTest): No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 

Tests run: 655, Failures: 0, Errors: 29, Skipped: 0 

[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] Apache FtpServer Parent ............................ SUCCESS [ 0.452 s] 
[INFO] Apache Ftplet API .................................. SUCCESS [ 1.085 s] 
[INFO] Apache FtpServer Core .............................. FAILURE [ 21.201 s] 
[INFO] FtpServer Spring web project example ............... SKIPPED 
[INFO] FtpServer OSGi Ftplet service example .............. SKIPPED 
[INFO] FtpServer OSGi Spring-DM example ................... SKIPPED 
[INFO] Apache FtpServer Examples .......................... SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 23.136 s 
[INFO] Finished at: 2016-11-05T13:36:47-04:00 
[INFO] Final Memory: 21M/491M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.8.1:test (default-test) on project ftpserver-core: There are test failures. 
[ERROR] 
[ERROR] Please refer to /home/USER/build/ftpserver/core/target/surefire-reports for the individual test results. 
[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 :ftpserver-core 

答えて

0

私は非常に基本的なステップが欠落していました。エラー

[INFO] Apache FtpServer Core .............................. FAILURE 

は、Apacheのコアを含んでいる、私はダウンロードしてinstalledthe latest source Mina Apache filedependencies.が欠けによるものでした。インストールは今問題なく完了しました。簡単なソリューションのためのHorray!

関連する問題