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.
- Added maven publishing support by default
- Fixed README to describe deploying the lib with CLI
- Updated for compatibility with XP7
- Initial release
Clone Library Starter
This version requires XP 7.0.0 or above.
Use Enonic CLI to set up your project.
Run the following command:
…and choose "Library Starter" from the list.
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).