From: Jeff J. <jef...@us...> - 2006-08-09 03:53:17
|
jeffjensen 06/08/08 20:53:15 Modified: xdocs installing.xml Log: Fix ibiblio URLs thanks to Dennis Lundberg. Revision Changes Path 1.9 +10 -10 maven-plugins/xdocs/installing.xml Index: installing.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/xdocs/installing.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- installing.xml 25 Apr 2006 18:40:56 -0000 1.8 +++ installing.xml 9 Aug 2006 03:53:15 -0000 1.9 @@ -7,37 +7,37 @@ <body> <section name="Installation of Plugins"> <p> - Plugins available from this site need installing into the local Maven repository set-up before use. + Plugins available from this site need installing into the local Maven repository set-up before use. There are 2 ways to do this. </p> <subsection name="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>. - You need to copy your plugin into that directory. If you then type <I>maven -g</I> you will get a list - of all plugins and goals that Maven can find (note that you may need to remove your ".maven/cache" directory + 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>. + You need to copy your plugin into that directory. If you then type <I>maven -g</I> you will get a list + of all plugins and goals that Maven can find (note that you may need to remove your ".maven/cache" directory first, because Maven caches plugin information). </p> </subsection> <subsection name="Automatic Install"> <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 + 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 (can be set in project.properties for example). </p> <p> - Typically it will look like <code>maven.repo.remote=http://www.ibiblio.org,http://maven-plugins.sourceforge.net/repository</code> + Typically it will look like <code>maven.repo.remote=http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/repository</code> </p> <p> You can then download and install plugins as follows <source>maven -DartifactId=ARTIFACTID -DgroupId=GROUPID -Dversion=VERSION plugin:download</source> - replacing ARTIFACTID, GROUPID, VERSION by the details from the plugin that you want to download. This + replacing ARTIFACTID, GROUPID, VERSION by the details from the plugin that you want to download. This will then download the plugin and install it in your local set-up. 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,http://maven-plugins.sourceforge.net/repository</source> + <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> </section> |