This section describes Apache Maven support for Payara Micro.
Payara Micro Community has been uploaded to Maven Central, allowing you to include it as a dependency in your POM.
This allows you to easily add the required Payara Micro classes and methods to your application to use Payara Micro Community programmatically.
In your project’s POM, include the following dependency:
<dependency> <groupId>fish.payara.extras</groupId> <artifactId>payara-micro</artifactId> <version>5.2022.2</version> </dependency>
Since Payara Micro 18.104.22.168
Starting from this release, you need to add a dependency to
the Public API
when developing applications that use proprietary features (
@NamedCache for example)
There is a maven plugin built specifically for use with Payara Micro. It has
bundle the application into an Uber JAR,
Micro. This plugin is fully
documented in the Ecosystem section.
There is a NetBeans IDE plugin - payara.micro module built specifically for Payara Micro to create and manage the application actions (e.g run, reload & debug). This plugin is fully documented in the Ecosystem - Payara Plugin section.