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

Uncategorized

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.

Related Posts

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

The Payara Monthly Catch -September 2025

Welcome aboard the September issue of The Monthly Catch! With summer holidays wrapping up, the Java world is back […]

4 minutes
Uncategorized

Leading the Way: Payara Platform Community 7 Beta Now Fully Jakarta EE 11 Certified

We’re excited to announce that Payara Platform Community 7 Beta application server is now fully certified as Jakarta EE 11 […]

JBoss ELS Decoded 5 minutes
Migration

JBoss ELS Decoded: What Extended Lifecycle Support Really Means for Your Java Applications​

If your Java EE 8 applications run on Red Hat JBoss Enterprise Application Platform (EAP) 7, you can’t afford […]