Garret Wilson created MPH-192:
---------------------------------
Summary: need <skip> option for evaluate goal
Key: MPH-192
URL: https://issues.apache.org/jira/browse/MPH-192
Project: Maven Help Plugin
Issue Type: New Feature
Components: evaluate
Affects Versions: 3.3.0
Reporter: Garret Wilson
It is typical and even expected for Maven plugins to have a {{<skip>}} option,
so that we can provide (via properties, profiles, etc.) a way to skip the
plugin execution. See for example the [Antrun Plugin {{<skip>}}
option|https://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html#skip]
and the [Maven Assembly Plugin {{<skipAssembly>}}
option|https://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#skipAssembly].
(I could provide a long list of similar plugins.)
Please provide a Maven configuration option to skip execution for the
{{evaluate}} goal.
This is particularly important because the Maven Help Plugin provides the only
means to generate output to a file which is recognized across many development
environments. (For example, Antrun {{<echo>}} can generate a file, but it is
not supported by Eclipse.)
It is important to be able to able to configure in the POM to evaluate an
expression and output to a file _only_ under certain conditions. Currently the
lack of this functionality is blocking my use of the Maven Help Plugin
{{evaluate}} goal and I am forced to look for other options, or limp along with
Antrun not working in Eclipse.
Thank you.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)