"Fossies" - the Fresh Open Source Software Archive

Member "httpcomponents-client-5.0.1/BUILDING.txt" (15 Jan 2018, 1135 Bytes) of package /linux/www/httpcomponents-client-5.0.1-src.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "BUILDING.txt" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 4.5.11_vs_5.0.

    1 Building HttpComponents Client 
    2 ============================
    3 
    4 (1) Requisites
    5 --------------
    6 JDK 1.7+ is required in order to compile and run HttpClient.
    7 
    8 HttpClient utilizes Maven as a distribution management and packaging tool.
    9 Version 3.3 or later is required.
   10 
   11 Maven installation and configuration instructions can be found here:
   12 
   13 http://maven.apache.org/run-maven/index.html
   14 
   15 (2) Executing test cases
   16 
   17 Execute the following command in order to compile and test the components
   18 
   19 mvn test
   20 
   21 (3) Building packages 
   22 
   23 Execute the following command in order to build the JAR packages and install 
   24 them to the local repository:
   25 
   26 mvn install
   27 
   28 The JAR packages can be found in the target folders of their respective modules
   29 
   30 httpclient5/target/httpclient5-<VERSION>.jar
   31 httpclient5-cache/target/httpclient5-cache-<VERSION>.jar
   32 httpclient5-fluent/target/httpclient5-fluent-<VERSION>.jar
   33 httpclient5-win/target/httpclient5-win-<VERSION>.jar
   34 httpclient5-osgi/target/org.apache.httpcomponents.httpclient_<VERSION>.jar
   35 
   36 where <VERSION> is the release version
   37 
   38 (4) Validating packages
   39 
   40 Check for proper license headers with:
   41 
   42 mvn apache-rat:check
   43