You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bruno Borges (JIRA)" <ji...@apache.org> on 2019/06/13 20:14:00 UTC
[jira] [Created] (MPLUGIN-352) Add support for :config goal for all
plugins
Bruno Borges created MPLUGIN-352:
------------------------------------
Summary: Add support for :config goal for all plugins
Key: MPLUGIN-352
URL: https://issues.apache.org/jira/browse/MPLUGIN-352
Project: Maven Plugin Tools
Issue Type: New Feature
Components: API, maven-plugin-annotations, Metadata Model, Plugin Plugin
Affects Versions: 3.6.0
Reporter: Bruno Borges
Maven Plugins often require a <configuration> element that must be provided by the user, either manually edited or usually copy/pasted. Some plugins are well known by IDEs and this element can be auto-completed fairly well. But in general, the <configuration> element has no XML Schema support, and developers have to rely on documentation, sometimes complex, in how to set up the different elements and values.
The Azure Web App Maven plugin introduced in version 1.6.0 a :config goal that provides users with an interactive mode in the command line that guides users through the many different options and deployment models. Then generates the <configuration> element and updates the pom.xml file on behalf of the user.
https://github.com/microsoft/azure-maven-plugins/blob/master/azure-webapp-maven-plugin/src/main/java/com/microsoft/azure/maven/webapp/ConfigMojo.java
Currently, there is no standard way for plugins to define a configuration goal.
This feature can provide the foundation for this goal, where plugins simply have to define the structure and data schema, and the :config goal can be abstracted well enough for 80-90% of all plugins.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)