From: Jeff J. <jef...@us...> - 2007-07-07 23:02:32
|
jeffjensen 07/07/07 16:02:29 Modified: xdocs installing.xml Log: Attempt improvements and clarification. Revision Changes Path 1.12 +19 -12 maven-plugins/xdocs/installing.xml Index: installing.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/xdocs/installing.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- installing.xml 28 Jan 2007 16:37:40 -0000 1.11 +++ installing.xml 7 Jul 2007 23:02:28 -0000 1.12 @@ -5,13 +5,12 @@ </properties> <body> - <section name="Installation of Plugins"> + <section name="Installing Plugins"> <p> - Plugins available from this site need installing into the local Maven repository set-up before use. - There are 2 ways to do this. + Plugins need installing into the local Maven repository before use. </p> - <subsection name="Manual Install"> + <subsection name="Manual Download and Manual Install"> <p> After you have downloaded a plugin for Maven (from <a href="http://maven-plugins.sourceforge.net/repository/maven-plugins/">Maven-Plugins</a>, or from a different source), you should look in your Maven installation and you will find <B>$MAVEN_HOME/plugins/</B>. @@ -21,7 +20,7 @@ </p> </subsection> - <subsection name="Automatic Install"> + <subsection name="Manual Download and 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 @@ -40,9 +39,16 @@ 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> + </subsection> + <subsection name="Automatic Download and Automatic Install"> <h4>Automatic Download</h4> <p> - Instead, you can add a dependency in the project.xml file + Make your project aware of the SourceForge repository by + following the instructions above. + </p> + <p> + Instead of manually downloading, + 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[ @@ -55,12 +61,13 @@ ]]></source> </p> </subsection> - <subsection name="Snapshots"> - <p> - If you need to test a snapshot, use the following snapshot repository as above: - <code>http://maven-plugins.sourceforge.net/snapshot-repository</code> - </p> - </subsection> + </section> + <section name="Using Snapshots"> + <p> + If you need to use/test a snapshot version instead of a released version, + use the following snapshot repository in the above instructions: + <code>http://maven-plugins.sourceforge.net/snapshot-repository</code> + </p> </section> </body> |