-
Notifications
You must be signed in to change notification settings - Fork 899
Description
Description
The current Apache Maven support in NetBeans is tightly bound to Maven 3.x.y.
Maven 4 introduces a number of improvements, one of which is a proper API in a separate package/module.
Moving from maven 3.9.x to maven 4 is not trivial, because of the API changes.
The Apache Maven project strives to be backward compatible, in particular with to respect to the supported Maven Model versions.
We that the introduction of a proper Maven API simplifies integration into NetBeans as Maven client application.
The new integration should :
- Support execution of Maven goals projects based on model versions > 4.0.0
- Support editor hints of a Maven 4 pom.xml file based on model version supported by Maven 4.
- Listening for and understanding of Maven goal execution events.
- Support Maven 4 features introduced with Maven model version >= 4.1.0
This issue will be used to log advancement in this endeavour.
Several suggestions have been made to move NetBeans forward in this direction.
One is to use the mvnw wrapper as execution vehicle for the time.
This can be based on Mavens ExecutorTool and ToolboxTool.
These Maven API interfaces may be usable be used to adapt NetBeans MavenCommandLineExecutor.
Use case/motivation
To move NetBeans forward.
Related issues
Issue #8632
Are you willing to submit a pull request?
Yes, when I have something worth pulling.