From: Jeff J. <jef...@us...> - 2007-01-28 16:37:43
|
jeffjensen 07/01/28 08:37:41 Modified: tasks/xdocs index.xml xdocs installing.xml Log: Move plugin install info from tasks plugin to general install page. Revision Changes Path 1.7 +2 -11 maven-plugins/tasks/xdocs/index.xml Index: index.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/tasks/xdocs/index.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- index.xml 10 Aug 2006 03:32:49 -0000 1.6 +++ index.xml 28 Jan 2007 16:37:40 -0000 1.7 @@ -17,17 +17,8 @@ <section name="Instructions"> <ol> <li> - Install the plugin. - Preferred manner is with a dependency in the project.xml file - (use the desired plugin version, of course): -<source><![CDATA[ -<dependency> - <groupId>maven-plugins</groupId> - <artifactId>maven-tasks-plugin</artifactId> - <version>1.3.0</version> - <type>plugin</type> -</dependency> -]]></source> + Install the plugin per the + <a href="/installing.html">general installation instructions</a>. </li> <li> Add the tasks plugin to the report section in the project.xml file: 1.11 +16 -0 maven-plugins/xdocs/installing.xml Index: installing.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/xdocs/installing.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- installing.xml 22 Jan 2007 01:30:12 -0000 1.10 +++ installing.xml 28 Jan 2007 16:37:40 -0000 1.11 @@ -22,6 +22,7 @@ </subsection> <subsection name="Automatic Install"> + <h4>Make Your Project Aware of the SourceForge Repository</h4> <p> You can set up your Maven installation to "know about" the Maven-Plugins project. To do this you need to <b>add</b> <code>http://maven-plugins.sourceforge.net/repository</code> to your <B>maven.repo.remote</B> property @@ -30,6 +31,7 @@ <p> Typically it will look like <code>maven.repo.remote=http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/repository</code> </p> + <h4>Manual Download</h4> <p> You can then download and install plugins as follows <source>maven -DartifactId=ARTIFACTID -DgroupId=GROUPID -Dversion=VERSION plugin:download</source> @@ -38,6 +40,20 @@ For example to download the findbugs plugin, use: </p> <source>maven -DartifactId=maven-findbugs-plugin -DgroupId=maven-plugins -Dversion=1.0-SNAPSHOT plugin:download -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/repository</source> + <h4>Automatic Download</h4> + <p> + Instead, you can add a dependency in the project.xml file + so that anyone building your product will have the plugin + automatically downloaded and installed. +<source><![CDATA[ +<dependency> + <groupId>maven-plugins</groupId> + <artifactId>maven-(PLUGIN_NAME)-plugin</artifactId> + <version>(PLUGIN_VERSION)</version> + <type>plugin</type> +</dependency> +]]></source> + </p> </subsection> <subsection name="Snapshots"> <p> |