Return-Path: X-Original-To: apmail-maven-commits-archive@www.apache.org Delivered-To: apmail-maven-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0F1AC1F7 for ; Tue, 8 May 2012 11:34:13 +0000 (UTC) Received: (qmail 66788 invoked by uid 500); 8 May 2012 11:34:12 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 66122 invoked by uid 500); 8 May 2012 11:34:11 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 66014 invoked by uid 99); 8 May 2012 11:34:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 11:34:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 11:34:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id F346F2388A36 for ; Tue, 8 May 2012 11:33:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r816523 [3/8] - in /websites/production/maventest/content/plugins/maven-release-plugin-latest: ./ apidocs/ apidocs/org/apache/maven/plugins/release/ apidocs/org/apache/maven/plugins/release/class-use/ cobertura/ css/ examples/ images/ testa... Date: Tue, 08 May 2012 11:33:32 -0000 To: commits@maven.apache.org From: hboutemy@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120508113338.F346F2388A36@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/cobertura/org.apache.maven.plugins.release.HelpMojo.html ============================================================================== --- websites/production/maventest/content/plugins/maven-release-plugin-latest/cobertura/org.apache.maven.plugins.release.HelpMojo.html (original) +++ websites/production/maventest/content/plugins/maven-release-plugin-latest/cobertura/org.apache.maven.plugins.release.HelpMojo.html Tue May 8 11:33:29 2012 @@ -12,7 +12,7 @@
 
- +
Classes in this File Line Coverage Branch Coverage Complexity
HelpMojo
0%
0/427
0%
0/90
5.667
HelpMojo
0%
0/436
0%
0/94
6
 
@@ -38,980 +38,1029 @@  10  
 /**
 11   -
  * Display help information on maven-release-plugin. Call <pre>  mvn release:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</pre> to display parameter details.
+
  * Display help information on maven-release-plugin.<br/> Call <pre>  mvn release:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</pre> to display parameter details.
 12  
  *
 13   -
  * @version generated on Mon Oct 27 19:18:03 CET 2008
+
  * @version generated on Mon Mar 23 23:42:31 CET 2009
 14   -
  * @goal help
+
  * @author org.apache.maven.tools.plugin.generator.PluginHelpGenerator (version 2.4.3)
 15   -
  * @requiresProject false
+
  * @goal help
 16   +
  * @requiresProject false
+  17  
  */
-  17  0
 public class HelpMojo
-  18   -
     extends AbstractMojo
+  18  0
 public class HelpMojo
 19   -
 {
+
     extends AbstractMojo
 20   -
     /**
+
 {
 21   -
      * If <code>true</code>, display all settable properties for each goal.
+
     /**
 22   -
      * 
+
      * If <code>true</code>, display all settable properties for each goal.
 23   -
      * @parameter expression="${detail}" default-value="false"
+
      * 
 24   -
      */
+
      * @parameter expression="${detail}" default-value="false"
 25   -
     private boolean detail;
+
      */
 26   -
 
+
     private boolean detail;
 27   -
     /**
+
 
 28   -
      * The name of the goal for which to show help. If unspecified, all goals will be displayed.
+
     /**
 29   -
      * 
+
      * The name of the goal for which to show help. If unspecified, all goals will be displayed.
 30   -
      * @parameter expression="${goal}"
+
      * 
 31   -
      */
+
      * @parameter expression="${goal}"
 32   -
     private java.lang.String goal;
+
      */
 33   -
 
+
     private java.lang.String goal;
 34   -
     /**
+
 
 35   -
      * The maximum length of a display line.
+
     /**
 36   -
      * 
+
      * The maximum length of a display line, should be positive.
 37   -
      * @parameter expression="${lineLength}" default-value="80"
+
      * 
 38   -
      */
+
      * @parameter expression="${lineLength}" default-value="80"
 39   -
     private int lineLength;
+
      */
 40   -
 
+
     private int lineLength;
 41   -
     /**
+
 
 42   -
      * The number of spaces per indentation level.
+
     /**
 43   -
      * 
+
      * The number of spaces per indentation level, should be positive.
 44   -
      * @parameter expression="${indentSize}" default-value="2"
+
      * 
 45   -
      */
+
      * @parameter expression="${indentSize}" default-value="2"
 46   -
     private int indentSize;
+
      */
 47   -
 
+
     private int indentSize;
 48  
 
 49   -
     /** {@inheritDoc} */
+
 
 50   -
     public void execute()
+
     /** {@inheritDoc} */
 51   -
         throws MojoExecutionException
+
     public void execute()
 52   +
         throws MojoExecutionException
+  53  
     {
-  53  0
         StringBuffer sb = new StringBuffer();
-  54   +  54  0
         if ( lineLength <= 0 )
+  55   +
         {
+  56  0
             getLog().warn( "The parameter 'lineLength' should be positive, using '80' as default." );
+  57  0
             lineLength = 80;
+  58   +
         }
+  59  0
         if ( indentSize <= 0 )
+  60   +
         {
+  61  0
             getLog().warn( "The parameter 'indentSize' should be positive, using '2' as default." );
+  62  0
             indentSize = 2;
+  63   +
         }
+  64  
 
-  55  0
         append( sb, "org.apache.maven.plugins:maven-release-plugin:2.0-beta-8", 0 );
-  56  0
         append( sb, "", 0 );
-  57   -
 
-  58  0
         append( sb, "Maven Release Plugin 2.0-beta-8", 0 );
-  59  0
         append( sb, "This plugin is used to release a project with Maven, saving a lot of repetitive, manual work.", 1 );
-  60  0
         append( sb, "", 0 );
-  61   +  65  0
         StringBuffer sb = new StringBuffer();
+  66  
 
-  62  0
         if ( goal == null || goal.length() <= 0 )
-  63   +  67  0
         append( sb, "org.apache.maven.plugins:maven-release-plugin:2.0-beta-9", 0 );
+  68  0
         append( sb, "", 0 );
+  69   +
 
+  70  0
         append( sb, "Maven Release Plugin 2.0-beta-9", 0 );
+  71  0
         append( sb, "This plugin is used to release a project with Maven, saving a lot of repetitive, manual work.", 1 );
+  72  0
         append( sb, "", 0 );
+  73   +
 
+  74  0
         if ( goal == null || goal.length() <= 0 )
+  75  
         {
-  64  0
             append( sb, "This plugin has 7 goals:", 0 );
-  65  0
             append( sb, "", 0 );
-  66   +  76  0
             append( sb, "This plugin has 7 goals:", 0 );
+  77  0
             append( sb, "", 0 );
+  78  
         }
-  67   +  79  
 
-  68  0
         if ( goal == null || goal.length() <= 0 || "branch".equals( goal ) )
-  69   +  80  0
         if ( goal == null || goal.length() <= 0 || "branch".equals( goal ) )
+  81  
         {
-  70  0
             append( sb, "release:branch", 0 );
-  71  0
             append( sb, "Branch a project in SCM.", 1 );
-  72  0
             append( sb, "", 0 );
-  73  0
             if ( detail )
-  74   +  82  0
             append( sb, "release:branch", 0 );
+  83  0
             append( sb, "Branch a project in SCM.", 1 );
+  84  0
             append( sb, "", 0 );
+  85  0
             if ( detail )
+  86  
             {
-  75  0
                 append( sb, "Available parameters:", 1 );
-  76  0
                 append( sb, "", 0 );
-  77   -
 
-  78  0
                 append( sb, "addSchema (Default: true)", 2 );
-  79  0
                 append( sb, "Whether to add a schema to the POM if it was previously missing on release.", 3 );
-  80  0
                 append( sb, "", 0 );
-  81   -
 
-  82  0
                 append( sb, "arguments", 2 );
-  83  0
                 append( sb, "Additional arguments to pass to the Maven executions, separated by spaces.", 3 );
-  84  0
                 append( sb, "", 0 );
-  85   -
 
-  86  0
                 append( sb, "autoVersionSubmodules (Default: false)", 2 );
-  87  0
                 append( sb, "Whether to automatically assign submodules the parent version. If set to false, the user will be prompted for the version of each submodules.", 3 );
+  87  0
                 append( sb, "Available parameters:", 1 );
 88  0
                 append( sb, "", 0 );
 89  
 
-  90  0
                 append( sb, "branchName", 2 );
-  91  0
                 append( sb, "The branch name to use.", 3 );
+  90  0
                 append( sb, "addSchema (Default: true)", 2 );
+  91  0
                 append( sb, "Whether to add a schema to the POM if it was previously missing on release.", 3 );
 92  0
                 append( sb, "", 0 );
 93  
 
-  94  0
                 append( sb, "dryRun (Default: false)", 2 );
-  95  0
                 append( sb, "Dry run: don\'t checkin or tag anything in the scm repository, or modify the checkout. Running mvn -DdryRun=true release:prepare is useful in order to check that modifications to poms and scm operations (only listed on the console) are working as expected. Modified POMs are written alongside the originals without modifying them.", 3 );
+  94  0
                 append( sb, "arguments", 2 );
+  95  0
                 append( sb, "Additional arguments to pass to the Maven executions, separated by spaces.", 3 );
 96  0
                 append( sb, "", 0 );
 97  
 
-  98  0
                 append( sb, "javaHome (Default: ${java.home})", 2 );
-  99  0
                 append( sb, "The JAVA_HOME parameter to use for forked Maven invocations.", 3 );
+  98  0
                 append( sb, "autoVersionSubmodules (Default: false)", 2 );
+  99  0
                 append( sb, "Whether to automatically assign submodules the parent version. If set to false, the user will be prompted for the version of each submodules.", 3 );
 100  0
                 append( sb, "", 0 );
 101  
 
-  102  0
                 append( sb, "localRepoDirectory (Default: ${maven.repo.local})", 2 );
-  103  0
                 append( sb, "The command-line local repository directory in use for this build (if specified).", 3 );
+  102  0
                 append( sb, "branchName", 2 );
+  103  0
                 append( sb, "The branch name to use.", 3 );
 104  0
                 append( sb, "", 0 );
 105  
 
-  106  0
                 append( sb, "mavenExecutorId (Default: invoker)", 2 );
-  107  0
                 append( sb, "Role hint of the MavenExecutor implementation to use.", 3 );
+  106  0
                 append( sb, "dryRun (Default: false)", 2 );
+  107  0
                 append( sb, "Dry run: don\'t checkin or tag anything in the scm repository, or modify the checkout. Running mvn -DdryRun=true release:prepare is useful in order to check that modifications to poms and scm operations (only listed on the console) are working as expected. Modified POMs are written alongside the originals without modifying them.", 3 );
 108  0
                 append( sb, "", 0 );
 109  
 
-  110  0
                 append( sb, "mavenHome (Default: ${maven.home})", 2 );
-  111  0
                 append( sb, "The M2_HOME parameter to use for forked Maven invocations.", 3 );
+  110  0
                 append( sb, "javaHome (Default: ${java.home})", 2 );
+  111  0
                 append( sb, "The JAVA_HOME parameter to use for forked Maven invocations.", 3 );
 112  0
                 append( sb, "", 0 );
 113  
 
-  114  0
                 append( sb, "password", 2 );
-  115  0
                 append( sb, "The SCM password to use.", 3 );
+  114  0
                 append( sb, "localRepoDirectory (Default: ${maven.repo.local})", 2 );
+  115  0
                 append( sb, "The command-line local repository directory in use for this build (if specified).", 3 );
 116  0
                 append( sb, "", 0 );
 117  
 
-  118  0
                 append( sb, "pomFileName", 2 );
-  119  0
                 append( sb, "The file name of the POM to execute any goals against.", 3 );
+  118  0
                 append( sb, "mavenExecutorId (Default: invoker)", 2 );
+  119  0
                 append( sb, "Role hint of the MavenExecutor implementation to use.", 3 );
 120  0
                 append( sb, "", 0 );
 121  
 
-  122  0
                 append( sb, "providerImplementations", 2 );
-  123  0
                 append( sb, "List of provider implementations.", 3 );
+  122  0
                 append( sb, "mavenHome (Default: ${maven.home})", 2 );
+  123  0
                 append( sb, "The M2_HOME parameter to use for forked Maven invocations.", 3 );
 124  0
                 append( sb, "", 0 );
 125  
 
-  126  0
                 append( sb, "scmCommentPrefix (Default: [maven-release-plugin] )", 2 );
-  127  0
                 append( sb, "The message prefix to use for all SCM changes.", 3 );
+  126  0
                 append( sb, "password", 2 );
+  127  0
                 append( sb, "The SCM password to use.", 3 );
 128  0
                 append( sb, "", 0 );
 129  
 
-  130  0
                 append( sb, "tag", 2 );
-  131  0
                 append( sb, "The SCM tag to use.", 3 );
+  130  0
                 append( sb, "pomFileName", 2 );
+  131  0
                 append( sb, "The file name of the POM to execute any goals against.", 3 );
 132  0
                 append( sb, "", 0 );
 133  
 
-  134  0
                 append( sb, "tagBase", 2 );
-  135  0
                 append( sb, "The tag base directory in SVN, you must define it if you don\'t use the standard svn layout (trunk/tags/branches). For example, http://svn.apache.org/repos/asf/maven/plugins/tags. The URL is an SVN URL and does not include the SCM provider and protocol.", 3 );
+  134  0
                 append( sb, "providerImplementations", 2 );
+  135  0
                 append( sb, "List of provider implementations.", 3 );
 136  0
                 append( sb, "", 0 );
 137  
 
-  138  0
                 append( sb, "updateBranchVersions (Default: false)", 2 );
-  139  0
                 append( sb, "Whether to update versions in the branch.", 3 );
+  138  0
                 append( sb, "scmCommentPrefix (Default: [maven-release-plugin] )", 2 );
+  139  0
                 append( sb, "The message prefix to use for all SCM changes.", 3 );
 140  0
                 append( sb, "", 0 );
 141  
 
-  142  0
                 append( sb, "updateDependencies (Default: true)", 2 );
-  143  0
                 append( sb, "Whether to update dependencies version to the next development version.", 3 );
+  142  0
                 append( sb, "tag", 2 );
+  143  0
                 append( sb, "The SCM tag to use.", 3 );
 144  0
                 append( sb, "", 0 );
 145  
 
-  146  0
                 append( sb, "updateVersionsToSnapshot (Default: true)", 2 );
-  147  0
                 append( sb, "Whether to update versions to SNAPSHOT in the branch.", 3 );
+  146  0
                 append( sb, "tagBase", 2 );
+  147  0
                 append( sb, "The tag base directory in SVN, you must define it if you don\'t use the standard svn layout (trunk/tags/branches). For example, http://svn.apache.org/repos/asf/maven/plugins/tags. The URL is an SVN URL and does not include the SCM provider and protocol.", 3 );
 148  0
                 append( sb, "", 0 );
 149  
 
-  150  0
                 append( sb, "updateWorkingCopyVersions (Default: true)", 2 );
-  151  0
                 append( sb, "Whether to update versions in the working copy.", 3 );
+  150  0
                 append( sb, "updateBranchVersions (Default: false)", 2 );
+  151  0
                 append( sb, "Whether to update versions in the branch.", 3 );
 152  0
                 append( sb, "", 0 );
 153  
 
-  154  0
                 append( sb, "useEditMode (Default: false)", 2 );
-  155  0
                 append( sb, "Whether to use \'edit\' mode on the SCM, to lock the file for editing during SCM operations.", 3 );
+  154  0
                 append( sb, "updateDependencies (Default: true)", 2 );
+  155  0
                 append( sb, "Whether to update dependencies version to the next development version.", 3 );
 156  0
                 append( sb, "", 0 );
 157  
 
-  158  0
                 append( sb, "username", 2 );
-  159  0
                 append( sb, "The SCM username to use.", 3 );
+  158  0
                 append( sb, "updateVersionsToSnapshot (Default: true)", 2 );
+  159  0
                 append( sb, "Whether to update versions to SNAPSHOT in the branch.", 3 );
 160  0
                 append( sb, "", 0 );
 161   -
             }
-  162   -
         }
-  163  
 
-  164  0
         if ( goal == null || goal.length() <= 0 || "clean".equals( goal ) )
+  162  0
                 append( sb, "updateWorkingCopyVersions (Default: true)", 2 );
+  163  0
                 append( sb, "Whether to update versions in the working copy.", 3 );
+  164  0
                 append( sb, "", 0 );
 165   -
         {
-  166  0
             append( sb, "release:clean", 0 );
-  167  0
             append( sb, "Clean up after a release preparation.", 1 );
-  168  0
             append( sb, "", 0 );
-  169  0
             if ( detail )
-  170   -
             {
-  171  0
                 append( sb, "Available parameters:", 1 );
+
 
+  166  0
                 append( sb, "useEditMode (Default: false)", 2 );
+  167  0
                 append( sb, "Whether to use \'edit\' mode on the SCM, to lock the file for editing during SCM operations.", 3 );
+  168  0
                 append( sb, "", 0 );
+  169   +
 
+  170  0
                 append( sb, "username", 2 );
+  171  0
                 append( sb, "The SCM username to use.", 3 );
 172  0
                 append( sb, "", 0 );
 173   +
             }
+  174   +
         }
+  175  
 
-  174  0
                 append( sb, "arguments", 2 );
-  175  0
                 append( sb, "Additional arguments to pass to the Maven executions, separated by spaces.", 3 );
-  176  0
                 append( sb, "", 0 );
+  176  0
         if ( goal == null || goal.length() <= 0 || "clean".equals( goal ) )
 177   -
 
-  178  0
                 append( sb, "javaHome (Default: ${java.home})", 2 );
-  179  0
                 append( sb, "The JAVA_HOME parameter to use for forked Maven invocations.", 3 );
-  180  0
                 append( sb, "", 0 );
-  181   -
 
-  182  0
                 append( sb, "localRepoDirectory (Default: ${maven.repo.local})", 2 );
-  183  0
                 append( sb, "The command-line local repository directory in use for this build (if specified).", 3 );
+
         {
+  178  0
             append( sb, "release:clean", 0 );
+  179  0
             append( sb, "Clean up after a release preparation.", 1 );
+  180  0
             append( sb, "", 0 );
+  181  0
             if ( detail )
+  182   +
             {
+  183  0
                 append( sb, "Available parameters:", 1 );
 184  0
                 append( sb, "", 0 );
 185  
 
-  186  0
                 append( sb, "mavenExecutorId (Default: invoker)", 2 );
-  187  0
                 append( sb, "Role hint of the MavenExecutor implementation to use.", 3 );
+  186  0
                 append( sb, "arguments", 2 );
+  187  0
                 append( sb, "Additional arguments to pass to the Maven executions, separated by spaces.", 3 );
 188  0
                 append( sb, "", 0 );
 189  
 
-  190  0
                 append( sb, "mavenHome (Default: ${maven.home})", 2 );
-  191  0
                 append( sb, "The M2_HOME parameter to use for forked Maven invocations.", 3 );
+  190  0
                 append( sb, "javaHome (Default: ${java.home})", 2 );
+  191  0
                 append( sb, "The JAVA_HOME parameter to use for forked Maven invocations.", 3 );
 192  0
                 append( sb, "", 0 );
 193  
 
-  194  0
                 append( sb, "password", 2 );
-  195  0
                 append( sb, "The SCM password to use.", 3 );
+  194  0
                 append( sb, "localRepoDirectory (Default: ${maven.repo.local})", 2 );
+  195  0
                 append( sb, "The command-line local repository directory in use for this build (if specified).", 3 );
 196  0
                 append( sb, "", 0 );
 197  
 
-  198  0
                 append( sb, "pomFileName", 2 );
-  199  0
                 append( sb, "The file name of the POM to execute any goals against.", 3 );
+  198  0
                 append( sb, "mavenExecutorId (Default: invoker)", 2 );
+  199  0
                 append( sb, "Role hint of the MavenExecutor implementation to use.", 3 );
 200  0
                 append( sb, "", 0 );
 201  
 
-  202  0
                 append( sb, "providerImplementations", 2 );
-  203  0
                 append( sb, "List of provider implementations.", 3 );
+  202  0
                 append( sb, "mavenHome (Default: ${maven.home})", 2 );
+  203  0
                 append( sb, "The M2_HOME parameter to use for forked Maven invocations.", 3 );
 204  0
                 append( sb, "", 0 );
 205  
 
-  206  0
                 append( sb, "scmCommentPrefix (Default: [maven-release-plugin] )", 2 );
-  207  0
                 append( sb, "The message prefix to use for all SCM changes.", 3 );
+  206  0
                 append( sb, "password", 2 );
+  207  0
                 append( sb, "The SCM password to use.", 3 );
 208  0
                 append( sb, "", 0 );
 209  
 
-  210  0
                 append( sb, "tag", 2 );
-  211  0
                 append( sb, "The SCM tag to use.", 3 );
+  210  0
                 append( sb, "pomFileName", 2 );
+  211  0
                 append( sb, "The file name of the POM to execute any goals against.", 3 );
 212  0
                 append( sb, "", 0 );
 213  
 
-  214  0
                 append( sb, "tagBase", 2 );
-  215  0
                 append( sb, "The tag base directory in SVN, you must define it if you don\'t use the standard svn layout (trunk/tags/branches). For example, http://svn.apache.org/repos/asf/maven/plugins/tags. The URL is an SVN URL and does not include the SCM provider and protocol.", 3 );
+  214  0
                 append( sb, "providerImplementations", 2 );
+  215  0
                 append( sb, "List of provider implementations.", 3 );
 216  0
                 append( sb, "", 0 );
 217  
 
-  218  0
                 append( sb, "username", 2 );
-  219  0
                 append( sb, "The SCM username to use.", 3 );
+  218  0
                 append( sb, "scmCommentPrefix (Default: [maven-release-plugin] )", 2 );
+  219  0
                 append( sb, "The message prefix to use for all SCM changes.", 3 );
 220  0
                 append( sb, "", 0 );
 221   -
             }
-  222   -
         }
-  223  
 
-  224  0
         if ( goal == null || goal.length() <= 0 || "help".equals( goal ) )
+  222  0
                 append( sb, "tag", 2 );
+  223  0
                 append( sb, "The SCM tag to use.", 3 );
+  224  0
                 append( sb, "", 0 );
 225   -
         {
-  226  0
             append( sb, "release:help", 0 );
-  227  0
             append( sb, "Display help information on maven-release-plugin. Call\n\u00a0\u00a0mvn\u00a0release:help\u00a0-Ddetail=true\u00a0-Dgoal=<goal-name>\nto display parameter details.", 1 );
-  228  0
             append( sb, "", 0 );
-  229  0
             if ( detail )
-  230   -
             {
-  231  0
                 append( sb, "Available parameters:", 1 );
+
 
+  226  0
                 append( sb, "tagBase", 2 );
+  227  0
                 append( sb, "The tag base directory in SVN, you must define it if you don\'t use the standard svn layout (trunk/tags/branches). For example, http://svn.apache.org/repos/asf/maven/plugins/tags. The URL is an SVN URL and does not include the SCM provider and protocol.", 3 );
+  228  0
                 append( sb, "", 0 );
+  229   +
 
+  230  0
                 append( sb, "username", 2 );
+  231  0
                 append( sb, "The SCM username to use.", 3 );
 232  0
                 append( sb, "", 0 );
 233   +
             }
+  234   +
         }
+  235   [... 1068 lines stripped ...]