Rate This Document
Findability
Accuracy
Completeness
Readability

Installing WildFly 17.0.0 by Compiling Source Code

  1. Download the WildFly source code.
    cd /root
    git config --global http.sslVerify false
    git clone https://github.com/wildfly/wildfly.git

    If the error message "fatal: unable to access 'https://github.com/wildfly/wildfly.git/': Empty reply from server" is displayed when you download the source code, run the following command to download the source code:

    git clone git://github.com/wildfly/wildfly.git
  2. Switch to WildFly 17.0.0.
    1
    2
    cd wildfly
    git checkout 17.0.0.Final
    

  3. Perform the compilation.

    Use your local Maven to build WildFly. For details about the build and execution process, see https://github.com/wildfly/wildfly.

    1
    mvn install
    

    The compilation result is as follows:

    If BUILD SUCCESS is displayed, the compilation is successful.

    After the compilation, the corresponding .jar packages are generated. Run the following command to collect the .jar packages. The wildfly-jar directory contains all the .jar packages generated during the compilation.

    cd /root
    mkdir wildfly-jar
    cd /root/wildfly
    find . -name "*.jar" -exec cp -rf {} /root/wildfly-jar/ \;
    cd /root
    tar -cvjf wildfly-jar.tar.gz wildfly-jar