Skip to content

Add NetBeans IDE integration for Payara Server Maven Plugin - #9541

Draft
jGauravGupta wants to merge 1 commit into
apache:masterfrom
jGauravGupta:Payara-Server-Maven-Plugin
Draft

Add NetBeans IDE integration for Payara Server Maven Plugin#9541
jGauravGupta wants to merge 1 commit into
apache:masterfrom
jGauravGupta:Payara-Server-Maven-Plugin

Conversation

@jGauravGupta

@jGauravGupta jGauravGupta commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR introduces a new NetBeans module (enterprise/payara.server.maven) that provides IDE integration for projects using the Payara Server Maven Plugin
(https://github.com/payara/ecosystem-maven).

What the module does:

  • Project recognition — detects WAR projects that declare fish.payara.maven.plugins:payara-server-maven-plugin in their pom.xml and registers them as Payara Server Maven projects
  • Run/Debug actions — maps the standard NetBeans IDE actions (Run, Debug, and their single-file variants) to the payara-server:dev goal with the appropriate -D flags, eliminating the need to manually invoke Maven goals
  • Project icon — displays a distinct Payara Server icon in the Projects window; the icon changes dynamically to reflect build, debug, profile, reload, and restart states.
  • Project Properties panel — adds a "Payara Server" category to the project customizer with fields for server version, path, domain name, context root configuration, and feature toggles (exploded deployment, hot deploy, auto deploy, live reload, keep state, log trimming). AI Agent configuration (provider, model, API key, provider location) is also included.

How to test

You can test this module using either of the following approaches:

  1. Generate a new Payara Server project from https://start.payara.fish/.
  2. Or, add the Payara Server Maven Plugin to any existing Maven WAR project:
<plugin>
    <groupId>fish.payara.maven.plugins</groupId>
    <artifactId>payara-server-maven-plugin</artifactId>
    <version>1.3.0</version>
</plugin>

After opening the project in NetBeans, verify that:

  • The project is recognized as a Payara Server Maven project.
  • The Payara Server project icon is displayed and updates correctly during build, reload and debug operations.
  • Run, and Debug actions invoke the payara-server:dev goal with the appropriate options.
  • The Payara Server project properties panel is available and its settings can be configured.

@jGauravGupta jGauravGupta added this to the NB32 milestone Aug 5, 2026
@jGauravGupta jGauravGupta added the Java EE/Jakarta EE [ci] enable enterprise job label Aug 5, 2026
@jGauravGupta
jGauravGupta force-pushed the Payara-Server-Maven-Plugin branch from e93839d to 202cb4c Compare August 5, 2026 11:27
@jGauravGupta
jGauravGupta force-pushed the Payara-Server-Maven-Plugin branch from 202cb4c to 107d9e4 Compare August 5, 2026 12:18
@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests enterprise [ci] enable enterprise job ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Aug 5, 2026
@jGauravGupta
jGauravGupta marked this pull request as draft August 5, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) enterprise [ci] enable enterprise job Java EE/Jakarta EE [ci] enable enterprise job Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants