Enonic Market Enonic Market
Library Starter icon

Library Starter

Create XP software libs

A library allows packaging resources and code to be reused across different applications. This starter kit will set up the basics for creating library project for Enonic XP.


  1. 1.4.0

    • Upgraded to XP 7.6.0
    • Compatibility:
      • 7.6.0
  2. 1.3.0

    • Upgraded to XP 7.3.1
    • Compatibility:
      • 7.3.1
  3. 1.2.0

    • Added maven publishing support by default
    • Compatibility:
      • 7.0.0
  4. 1.1.1

    • Fixed README to describe deploying the lib with CLI
    • Compatibility:
      • 7.0.0
  5. 1.1.0

    • Updated for compatibility with XP7
    • Compatibility:
      • 7.0.0
  6. 1.0.0

    • Initial release
    • Compatibility:
      • 6.13.0

Clone Library Starter

This version requires XP 7.0.0 or above.

Use Enonic CLI to set up your project.

Run the following command:


Enonic CLI documentation

This version requires XP 6.15.0

To initialize a new project based on Library Starter, execute the command below. Remember to replace <com.company.myapp> with a unique name for your app, and </my/projects> with the location you want to store the project. <$XP_INSTALL> is the location of your XP installation.



The init-project tool initializes a new application project structure by retrieving a Git repository, removing all references to the Git repository, and adapting its build file properties (gradle.properties).

Complete init-project documentation