我要评分
获取效率
正确性
完整性
易理解

Downloading libressl-2.5.5

Symptom

libressl-2.5.5 fails to be downloaded during compilation.

Key Process and Cause Analysis

None

Conclusion and Solution

  1. Save the downloaded apr-1.6.3.tar.gz package to the specified directory.
    1
    cp apr-1.6.3.tar.gz netty-tcnative-netty-tcnative-parent-2.0.7.Final/libressl-static/target
    
  2. Modify the libressl-static/pom.xml file.
    1. Open the file.
      1
      vi libressl-static/pom.xml
      
    2. Press i to enter the insert mode and comment out the content of downloading libressl-2.5.5 in the file.
      1
      src="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${libresslArchive}" dest="${project.build.directory}/${libresslArchive}" verbose="on
      
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  3. Download the libressl-2.5.5.tar.gz package to the specified directory.
    1
    2
    wget http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.5.5.tar.gz
    mv libressl-2.5.5.tar.gz netty-tcnative-netty-tcnative-parent-2.0.7.Final/libressl-static/target
    
  4. Compile and package the file to the local Maven repository.
    1
    mvn install