Re: mvn install:help and mvn help:describe for install plugin are at odds ...

2011-10-18 Thread hendrul
Repository metadata says the lastest version is 2.3.1, why maven resolves
this plugin prefix (install) version to 2.2. I dont want to use the plugin
registry mecanism, I want to know why maven is behaving like this???



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-install-help-and-mvn-help-describe-for-install-plugin-are-at-odds-tp127502p4914864.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn install:help and mvn help:describe for install plugin are at odds ...

2010-03-24 Thread Wayne Fay
> [INFO] org.apache.maven.plugins:maven-install-plugin:2.3
...
> org.apache.maven.plugins:maven-install-plugin:2.2

Perhaps it was added in 2.3? I don't know this for sure, but assume
you can check the source code or docs and figure it out.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



mvn install:help and mvn help:describe for install plugin are at odds ...

2010-03-24 Thread Kedar Mhaswade

Is this a bug?

mvn help:describe goal suggests that standard maven install plugin has three
goals: install:help, install:install and install:install-file. On doing mvn
install:help however, maven says there is no such goal!

Here is the entire interaction:
vp2c01a-dhcp147:example kedar$ mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.3" arch: "x86_64" Family: "mac"
vp2c01a-dhcp147:example kedar$ mvn help:describe
-Dplugin=org.apache.maven.plugins:maven-install-plugin
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO]

[INFO] Building example
[INFO]task-segment: [help:describe] (aggregator-style)
[INFO]

[INFO] [help:describe {execution: default-cli}]
[INFO] org.apache.maven.plugins:maven-install-plugin:2.3

Name: Maven Install Plugin
Description: Copies the project artifacts to the user's local repository.
Group Id: org.apache.maven.plugins
Artifact Id: maven-install-plugin
Version: 2.3
Goal Prefix: install

This plugin has 3 goals:

install:help
  Description: Display help information on maven-install-plugin.
Call
 mvn install:help -Ddetail=true -Dgoal=
to display parameter details.
  Deprecated. No reason given

install:install
  Description: Installs the project's main artifact in the local repository.
  Deprecated. No reason given

install:install-file
  Description: Installs a file in the local repository.
  Deprecated. No reason given

For more information, run 'mvn help:describe [...] -Ddetail'

[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Mar 24 16:52:58 PDT 2010
[INFO] Final Memory: 10M/79M
[INFO]

vp2c01a-dhcp147:example kedar$ mvn install:help
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: install:help in
org.apache.maven.plugins:maven-install-plugin:2.2
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Wed Mar 24 16:53:07 PDT 2010
[INFO] Final Memory: 3M/79M
[INFO]



Thank you!

-Kedar
-- 
View this message in context: 
http://n2.nabble.com/mvn-install-help-and-mvn-help-describe-for-install-plugin-are-at-odds-tp4794693p4794693.html
Sent from the maven users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org