Apache FTP Server: MVN Build Failed on Java 8 (SSL) -


i trying build apache ftp server on arch linux box.

os: arch linux 64-bit (up-to-date). kernel: 4.8.6-1. java: oracle 1.8.0_112. maven: 3.3.9.

both open-ssl , tls installed.

whenever run "mvn install" in build directory, following errors. believe problem due java 8 disabling ssl v3.0 in favor of tls? if so, seems bad idea compile older version of java. should library not used, or there better way handel this?

    results :  tests in error:    teststorewithprotpandreturntoprotcinpassivemode(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testcommandchannel(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testreissueauth(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testissecure(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpinpassivemode(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpinactivemode(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpandreturntoprotcinactivemode(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testlistemptydir(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testreceiveemptyfile(org.apache.ftpserver.ssl.minaexplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testthatdatachannelissecure(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithoutprotpinactivemode(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpinpassivemode(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpandreturntoprotcinpassivemode(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testcommandchannel(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testreissueauth(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testissecure(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpinactivemode(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpandreturntoprotcinactivemode(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testlistemptydir(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testreceiveemptyfile(org.apache.ftpserver.ssl.minaimplicitdatachanneltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpandreturntoprotcinpassivemode(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testcommandchannel(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testreissueauth(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testissecure(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpinpassivemode(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpinactivemode(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   teststorewithprotpandreturntoprotcinactivemode(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testlistemptydir(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites inappropriate)   testreceiveemptyfile(org.apache.ftpserver.ssl.minaimplicitssltest): no appropriate protocol (protocol disabled or cipher suites 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 execute goal org.apache.maven.plugins:maven-surefire-plugin:2.8.1:test (default-test) on project ftpserver-core: there test failures. [error]  [error] please refer /home/user/build/ftpserver/core/target/surefire-reports individual test results. [error] -> [help 1] [error]  [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error]  [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojofailureexception [error]  [error] after correcting problems, can resume build command [error]   mvn <goals> -rf :ftpserver-core 

it turns out missing basic step. error

[info] apache ftpserver core .............................. failure 

was due missing dependencies. downloaded , installedthe latest source mina apache file, includes apache core. install went through without problems. horray simple solutions!


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -