[MPH-133] Drop deprecated alias 'full'
diff --git a/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java b/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
index 9932470..13f3312 100644
--- a/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
+++ b/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
@@ -190,9 +190,9 @@
/**
* This flag specifies that a detailed (verbose) list of goal (Mojo) information should be given.
*
- * @since 2.1, was <code>full</code> in 2.0.x
+ * @since 2.1
*/
- @org.apache.maven.plugins.annotations.Parameter( property = "detail", defaultValue = "false", alias = "full" )
+ @org.apache.maven.plugins.annotations.Parameter( property = "detail", defaultValue = "false" )
private boolean detail;
/**
@@ -231,8 +231,6 @@
public void execute()
throws MojoExecutionException, MojoFailureException
{
- validateParameters();
-
StringBuilder descriptionBuffer = new StringBuilder();
boolean describePlugin = true;
@@ -269,25 +267,6 @@
// ----------------------------------------------------------------------
/**
- * Validate parameters
- */
- private void validateParameters()
- {
- // support legacy parameter "full"
-
- if ( !detail && session.getUserProperties().get( "full" ) != null )
- {
- String full = session.getUserProperties().getProperty( "full" );
- detail = Boolean.parseBoolean( full );
- }
-
- if ( detail || minimal )
- {
- medium = false;
- }
- }
-
- /**
* Method to write the Mojo description into the output file
*
* @param descriptionBuffer contains the description to be written to the file
diff --git a/src/site/apt/examples/describe-configuration.apt b/src/site/apt/examples/describe-configuration.apt
index 92cb6e1..918a880 100644
--- a/src/site/apt/examples/describe-configuration.apt
+++ b/src/site/apt/examples/describe-configuration.apt
@@ -147,9 +147,9 @@
...
+-----+
-* The <<<minimal>>>, <<<medium>>> and <<<full>>> Parameters
+* The <<<minimal>>>, <<<medium>>> and <<<detail>>> Parameters
- If you want to display less or more detailed information, you can use the <<<minimal>>>, <<<medium>>> or <<<full>>>
+ If you want to display less or more detailed information, you can use the <<<minimal>>>, or <<<detail>>>
parameters.
The <<<minimal>>> parameter adds a minimal list of information:
@@ -242,11 +242,11 @@
...
+-----+
- The <<<full>>> parameter also displays information about the goal's implementation, their parameters and component
+ The <<<detail>>> parameter also displays information about the goal's implementation, their parameters and component
requirements, among others.
+-----+
-# mvn help:describe -Dplugin=help -Dfull=true
+# mvn help:describe -Dplugin=help -Ddetail=true
+-----+
<<Note>>: The <<<medium>>> parameter was added in version 2.0.2 and the <<<minimal>>> parameter was added in version