Plugins are automatically downloaded and installed on an as-needed
basis. You don't need to do anything manually to make it happen.

Just build up a pom and type "mvn install" and it will be downloaded and used.

Wayne

On 3/18/08, Agile Aspect <[EMAIL PROTECTED]> wrote:
> Hi - I just installed Maven 2.0.8 as per instructions.
>
> Running
>
>    mvn --version
>
> yields
>
>    Maven version: 2.0.8
>    Java version: 1.6.0_03
>    OS name: "linux" version: "2.6.17.13" arch: "i386" Family: "unix"
>
> The FAQ indicates that to check the installed plugins I need execute
>
>    mvn -Dplugin=install help:describe
>
> But when I run this command it fails with a build failure
>
>     Plugin could not be found.
>
> I also tried
>
>    mvn -U -Dplugin=install help:describe
>
> but the same result - can't find the plugin.
>
> The output is enclosed.
>
> There doesn't appear to be a FAQ entry indicating how to upgrade or
> install a plugin.
>
> Any help would be appreciated.
>
> ----------------------------------------
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'help'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for
> updates
>  from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-help-p
> lugin/2.0.2/maven-help-plugin-2.0.2.pom
> 3K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin
> s/10/maven-plugins-10.pom
> 7K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven
> -parent-7.pom
> 20K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> 4K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-help-p
> lugin/2.0.2/maven-help-plugin-2.0.2.jar
> 23K downloaded
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [help:describe] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/ma
> ven-project-2.0.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.
> pom
> 8K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0/ma
> ven-profile-2.0.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/mave
> n-model-2.0.pom
> 2K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.
> 4/plexus-utils-1.0.4.pom
> 6K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-
> /1.0.3/plexus-containers-1.0.3.pom
> 492b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0/m
>
> aven-settings-2.0.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0/maven
> -core-2.0.pom
> 5K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0
> -alpha-5/wagon-file-1.0-alpha-5.pom
> 5K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-paramet
> er-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lig
> htweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom
> 5K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-repo
> rting-api/2.0/maven-reporting-api-2.0.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-repo
> rting/2.0/maven-reporting-2.0.pom
> 504b downloaded
> Downloading:
> http://repo1.maven.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxi
> a-sink-api-1.0-alpha-4.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnost
> ics/2.0/maven-error-diagnostics-2.0.pom
> 812b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registr
> y/2.0/maven-plugin-registry-2.0.pom
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-c
> li-1.0.pom
> 2K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactiv
> ity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom
> 6K downloadedDownloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0/ma
> ven-monitor-2.0.pom
> 400b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-
> alpha-5/wagon-ssh-1.0-alpha-5.pom
> 6K downloaded
> Downloading:
> http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.23/jsch-0.1.23.po
> m
> 485b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/
> plexus-utils-1.1.jar
> 164K downloaded
> [INFO] [help:describe]
> [INFO] Searching repository for plugin with prefix: 'install'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Plugin could not be found. If you believe it is correct, check
> your plugi                               nGroups setting, and run with
> -U to update the remote configuration
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Tue Mar 18 13:16:06 PDT 2008
> [INFO] Final Memory: 2M/6M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> --
> Article. VI. Clause 3 of the constitution of the United States states:
>
> "The Senators and Representatives before mentioned, and the Members of
> the several State Legislatures, and all executive and judicial Officers,
> both of the United States and of the several States, shall be bound by
> Oath or Affirmation, to support this Constitution; but no religious Test
> shall ever be required as a Qualification to any Office or public Trust
> under the United States."
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to