|
From: Eric P. <de...@us...> - 2005-06-03 14:01:36
|
dep4b 05/06/03 07:01:30
Modified: xdocs installing.xml
Log:
Try and clarify downloading and installing a plugin.
Revision Changes Path
1.7 +12 -4 maven-plugins/xdocs/installing.xml
Index: installing.xml
===================================================================
RCS file: /cvsroot/maven-plugins/maven-plugins/xdocs/installing.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- installing.xml 17 Feb 2004 13:57:48 -0000 1.6
+++ installing.xml 3 Jun 2005 14:01:30 -0000 1.7
@@ -7,18 +7,25 @@
<body>
<section name="Installation of 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 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 Maven-Plugins, 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" directory first, because Maven caches information).
+ 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.sf.net/maven</code> to your <B>maven.repo.remote</B> parameter (can be set in build.properties for example).
+ 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.sf.net/maven</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.sf.net/maven</code>
@@ -26,7 +33,8 @@
<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 will then download the plugin and install it in your local set-up.
+ 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 findbug plugin, use:
</p>
<source>maven -DartifactId=maven-findbugs-plugin -DgroupId=maven-plugins -Dversion=1.0-SNAPSHOT plugin:download</source>
|