This section describes Apache Maven support for Payara Micro.
Payara Micro is available in Maven Central, allowing you to include it as a dependency in your project’s POM. This allows you to easily add the required Payara Micro classes and methods to your application to use Payara Micro programmatically.
To do this, use the following GAV coordinates:
<dependency> <groupId>fish.payara.extras</groupId> <artifactId>payara-micro</artifactId> <version>6.2023.9</version> </dependency>
The Public API dependency must be also added to the project’s POM when developing applications that use proprietary features (
There is a maven plugin built specifically for use with Payara Micro. It has goals to
bundle the application into an Uber JAR,
stop Payara Micro. This plugin is fully documented in the Ecosystem section.
There is a Payara Platform tools plugin built for the Apache NetBeans IDE, specifically designed for Payara Micro to create and manage application actions (e.g., run, reload, and debug).
This plugin is fully documented in the Payara Micro Apache NetBeans IDE integration.