Skip to content

Building Open Liberty

Tom Evans edited this page Jan 31, 2018 · 14 revisions

DRAFT! NOT READY



Building Open Liberty

If you wish to build Open Liberty with Eclipse then follow these instructions: Building Open Liberty with Eclipse


  1. Clone the repository to your system.

    git clone git@github.com:OpenLiberty/open-liberty.git

For more detailed instructions on setting up your clone, see here.

  1. Add the IBM Open Liberty maven repository to your mavan settings Add http://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/wasliberty-open-liberty/ as a server in $HOME/.m2/settings.xml.

  2. Run a gradle build.

    cd open-liberty/dev

    ./gradlew cnf:initialize

    ./gradlew assemble

  3. Run the unit or FAT tests.

    ./gradlew test for unit tests

    ./gradlew build.example_fat:buildandrun to run a FAT project

    NOTE: ./gradlew build runs assemble and test targets

  4. Perform a local release

    ./gradlew releaseNeeded

    NOTE: This task releases all projects to the local releaseRepo. The final openliberty zip can be found in

    open-liberty\dev\cnf\release\dev\openliberty\<version>\openliberty-xxx.zip