Deploy Jakarta EE & MicroProfile Apps Faster with the Payara Cloud Maven Plugin

Jakarta EE

As a Java developer, you’ve probably experienced the challenges of deploying Jakarta EE or MicroProfile applications to the cloud. Setting up infrastructure, configuring servers and dealing with the gamut of cloud environments can be a major deviation from your core development tasks, ultimately influencing your productivity. However, there are tools that you can leverage to simplify and streamline cloud deployments. One is Payara Cloud Maven plugin – let’s look at what it offers and how to use it in this blog post.

Payara Cloud Maven Plugin

Payara Cloud Maven plugin integrates with Payara Cloud, our fully managed Payara-as-a-Service platform, to simplify your deployment workflow. The plugin has a number of goals that automate the continuous deployment of your Jakarta EE and MicroProfile applications to Payara Cloud.

{{cta(‘8d7bedd4-483c-414b-8b1e-47539832ae92’)}}

Why Use the Payara Cloud Maven Plugin?

  • Simplify Deployments: With a few simple commands, you can deploy your Java applications directly to Payara Cloud without having to manually manage infrastructure or cloud configurations.
  • Better Integration: The plugin integrates directly into your existing Maven build process, making it easy to incorporate into your development workflow.
  • Developer-Friendly: Whether you’re deploying to production or testing in a development environment, the plugin offers goals for common tasks.
  • Improved Productivity: Automate your deployment process, saving you valuable time and effort.

Goals

The Payara Cloud Maven Plugin offers the following goals:

  • login: Securely authenticate with your Payara Cloud account.
  • start: Start an application that’s already been deployed but is currently stopped.
  • stop: Stop a running application deployed on Payara Cloud.
  • deploy: Deploy your application to Payara Cloud.
  • undeploy: Remove a previously deployed application from Payara Cloud.
  • dev: Enter “live deploy” mode to automatically redeploy your application to Payara Cloud whenever you save changes in your IDE.

How to Get Started

Add the plugin dependency to your project’s pom.xml:


<plugin>

    <groupId>fish.payara.maven.plugins</groupId>

    <artifactId>payara-cloud-maven-plugin</artifactId>

    <version>LATEST_VERSION</version>

</plugin>

 (Replace LATEST_VERSION with the actual version for example 1.0-Alpha2)

Alternatively, you can scaffold a new Jakarta EE and MicroProfile project using our starter scaffolding tool here

Configure Payara Cloud Credentials

Securely store your Payara Cloud credentials in Maven settings or provide them through command-line options. You can also use the login goal to login.

Use the Goals

Execute Maven commands with the appropriate plugin goals:

mvn payara-cloud:deploy  # Deploy your application

mvn payara-cloud:dev     # Start live-reload development mode

The Future of Cloud-Native Java

The Payara Cloud Maven Plugin simplifies cloud-native development for Jakarta EE and MicroProfile projects. It integrates with your Maven build process, making cloud deployments and daily development easier so you can concentrate on creating innovative applications.

Get started with this new plugin by signing up for your FREE 15-day trial of Payara Cloud now.

Branding Tagline_Hubspot Banner-2

 

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 8 minutes
Jakarta EE

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 

Jakarta EE applications can take anywhere from several seconds to over a minute to start, depending on their size […]

Stacked copies of the Payara developer guide “Zero Trust Architecture with Jakarta EE and MicroProfile” on an orange background, showing the dark blue cover design with the Payara logo and a laptop illustration featuring a shield and padlock icon. 4 minutes
Jakarta EE

Implementing Zero Trust Security with Jakarta EE: A Practical Guide

Zero Trust security has moved from buzzword to necessity. The principle is simple: never trust, always verify. But implementing […]

Blue background with coral and fish. Left text: 'MONTHLY CATCH'. Right: laptop screen with tech tabs and Payara Community logo. 4 minutes
Community

The Payara Monthly Catch – December 2025

As we kick off the new year, this January edition of The Monthly Catch looks back at everything that […]