Re: mvn -Dplugin=install help:describe

2008-03-19 Thread Alexandre Touret
Hello,
I guess install is not a plugin but a phase, such ascompile or test
the related plugin is described as following :

dependency
groupIdplugins.org.apache.maven.plugins/groupId
artifactIdmaven-install-plugin/artifactId
version2.0-alpha-3/version
/dependency

Hope this helps ;-)
Regards,
Alexandre

2008/3/18, Agile Aspect [EMAIL PROTECTED]:

 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

Re: mvn -Dplugin=install help:describe

2008-03-19 Thread Alexandre Touret

Hello,
I guess install is not a plugin but a phase, such ascompile or test
the related plugin is described as following :

dependency
groupIdplugins.org.apache.maven.plugins/groupId
artifactIdmaven-install-plugin/artifactId
version2.0-alpha-3/version
/dependency

Maybe, you should try with the canonical name of the plugin

Hope this helps ;-)
Regards,
Alexandre




Agile Aspect 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

Re: mvn -Dplugin=install help:describe

2008-03-19 Thread Heinrich Nirschl
Maven does not know the short name of the install plugin because this
plugin is missing in the metadata file on central:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml

The workaround is to use the full plugin name:

mvn help:describe -Dplugin=org.apache.maven.plugins:maven-install-plugin


- Henry

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



Re: mvn -Dplugin=install help:describe

2008-03-19 Thread cody zhang
thanks! it's ok! :)

2008/3/20, Heinrich Nirschl [EMAIL PROTECTED]:
 Maven does not know the short name of the install plugin because this
  plugin is missing in the metadata file on central:

  http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml

  The workaround is to use the full plugin name:

  mvn help:describe -Dplugin=org.apache.maven.plugins:maven-install-plugin


  - Henry


  -
  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]



mvn -Dplugin=install help:describe

2008-03-18 Thread Agile Aspect

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

Re: mvn -Dplugin=install help:describe

2008-03-18 Thread Wayne Fay
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

Re: mvn -Dplugin=install help:describe

2008-03-18 Thread Agile Aspect

Great - thank you - I'll give it try!

Wayne Fay wrote:

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