This section describes Apache Maven support for Payara Micro.
Payara Micro Enterprise 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 Enterprise programmatically.
In your project’s POM, include the following dependency:
<dependency> <groupId>fish.payara.extras</groupId> <artifactId>payara-micro</artifactId> <version>5.28.1</version> </dependency>
Since Payara Micro 188.8.131.52
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.