You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2009/02/20 09:58:49 UTC

svn commit: r746184 - in /maven/site/trunk/src/site/apt: guides/mini/guide-configuring-maven.apt release-notes-preview.apt.vm

Author: brett
Date: Fri Feb 20 08:58:49 2009
New Revision: 746184

URL: http://svn.apache.org/viewvc?rev=746184&view=rev
Log:
[MNG-3379] document the number of threads configuration

Modified:
    maven/site/trunk/src/site/apt/guides/mini/guide-configuring-maven.apt
    maven/site/trunk/src/site/apt/release-notes-preview.apt.vm

Modified: maven/site/trunk/src/site/apt/guides/mini/guide-configuring-maven.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/mini/guide-configuring-maven.apt?rev=746184&r1=746183&r2=746184&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/mini/guide-configuring-maven.apt (original)
+++ maven/site/trunk/src/site/apt/guides/mini/guide-configuring-maven.apt Fri Feb 20 08:58:49 2009
@@ -51,6 +51,21 @@
 
   For more information, see the {{{guide-proxies.html} Guide to using a Proxy}}.
 
+* Configuring Parallel Artifact Resolution
+
+  By default, Maven 2.1.0+ will download up to 5 artifacts (from different groups) at once. To change the size of the thread pool, start Maven using
+  <<<-Dmaven.artifact.threads>>>. For example, to only download single artifacts at a time:
+
+----
+mvn -Dmaven.artifact.threads=1 clean install
+----
+
+  You may wish to set this option permanently, in which case you can use the <<<MAVEN_OPTS>>> environment variable. For example:
+
+----
+export MAVEN_OPTS=-Dmaven.artifact.threads=3
+----
+
 * Security and Deployment Settings
 
   Repositories to deploy to are defined in a project in the <<<\<distributionManagement\>>>> section.

Modified: maven/site/trunk/src/site/apt/release-notes-preview.apt.vm
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/release-notes-preview.apt.vm?rev=746184&r1=746183&r2=746184&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/release-notes-preview.apt.vm (original)
+++ maven/site/trunk/src/site/apt/release-notes-preview.apt.vm Fri Feb 20 08:58:49 2009
@@ -46,7 +46,7 @@
 
     * the maven-user mailing list: {{http://maven.apache.org/mail-lists.html}}
 
-* 2.1.0-M2 Release Notes
+* 2.1.0 Release Notes
 
   The full list of changes can be found in our {{{http://jira.codehaus.org/secure/ReleaseNote.jspa?version=14587&styleName=Html&projectId=10500&Create=Create}issue management system}}, and is reproduced below.
 
@@ -60,7 +60,9 @@
 
     * MNG-2576 - Additional switches to the command line for alternate reactor behavior: <<<--resume-from>>>, <<<--also-make>>>, and <<<--also-make-dependents>>>.
 
-** Complete list of issues fixed in 2.1.0-M2
+    * MNG-3379 - Parallel resolution of dependencies now occurs, with the default number of concurrent of threads set to 5. A configuration option <<<-Dmaven.artifact.threads>>> can be used to change the number of threads.
+
+** Complete list of issues fixed in 2.1.0
 
 *** Bug