Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.1, 1.2
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
The idea is to add a simple parameter that is checked and skipped the generation.
This is useful when the plugin is used in large project and when it is not required to generate the documents/manuals under certain circumstance, such as testing, or if the latex runtime is not available in some environment by default.
+ /**
+ * Indicates whether or not the latex generation should be skipped.
+ *
+ * @parameter expression="$
" default-value="false"
+ */
+ private boolean skipGeneration;
public void execute()
throws MojoExecutionException, MojoFailureException
{
+ if ( skipGeneration )
+
Actually my workaround is to trigger the generation in an unknown maven phase.