This document lists changes made to the Maven Project API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.maven/1 > 1.20
org.netbeans.modules.maven.execute.ActionToGoalUtils
org.netbeans.modules.maven.api.Constants
org.netbeans.modules.maven.api.NbMavenProject
org.netbeans.modules.maven.api.execute.RunConfig
org.netbeans.modules.maven.api.execute.RunUtils
The GUI recognizes user modifications to actions and refuses to configure a modified "run" action with vm and app arguments. It is now possible for a plugin to register an alternative goal, which is recognized as "exec"-like one and does not disable the GUI.
For an example, see MavenActionProvider.
NbMavenProject
; made by: sdedic
RunUtils
; made by: sdedic
NbMavenProject
; made by: sdedic
ActionToGoalUtils
; made by: sdedic
Actions can be disabled by the MavenActionsProvider for a configuration.
Register services for a specific maven plugin used in the project. See PluginLookup.
Introducing branding APIs specify default frequency for downloading Maven index.
Project lookup consists of base services, plus services for the project's packaging type. This change allows for generic post-processing after packaging-specific service. See MavenPackagingLookup for more details.
RunConfig
; made by: sdedic
RunConfig now serves the originating action's context Lookup from RunConfig.getActionContext() so that the caller can pass extended one-time configuration for the action.
ExternaProcessParameterss
instructions now append to or replace VM argsuments or
user program arguments. See MavenCommandLineExecutor
for more details.
Introducing branding APIs to configure default value for reusing tabs and also for compile on save behavior in Maven projects.
Constants
; made by: monacotoni
New property to allow to attach debugger while goal execution is in progress:
ACTION_PROPERTY_JPDAATTACH_TRIGGER
. Read more about
usage of this property in
the nbactions.xml file.
Constants
; made by: jtulach; issues:
#229192
New properties to allow one to attach debugger after
a goal is executed:
ACTION_PROPERTY_JPDAATTACH
,
ACTION_PROPERTY_JPDAATTACH_ADDRESS
,
ACTION_PROPERTY_JPDAATTACH_PORT
. Read more about
usage of these properties in
the nbactions.xml file.
Format of nbactions.xml
file has been
extended to support
profiles section.