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.2022.1.alpha4</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 NetBeans IDE plugin 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.