You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2005/04/07 21:56:42 UTC
[jira] Closed: (MNG-267) m2 -version leads to ugly exception
[ http://jira.codehaus.org/browse/MNG-267?page=history ]
Emmanuel Venisse closed MNG-267:
--------------------------------
Fix Version: 1.0-alpha-1
Resolution: Fixed
It isn't m2 -version but m2 --version (or m2 -v) for obtain the version
> m2 -version leads to ugly exception
> -----------------------------------
>
> Key: MNG-267
> URL: http://jira.codehaus.org/browse/MNG-267
> Project: m2
> Type: Bug
> Components: maven-core
> Environment: http://people.apache.org/~brett/maven2/maven-2.0-build-2-bin.zip
> Note: The JIRA versions for m2 are not correct. There's no 2.0-SNAPSHOT version...
> Reporter: Vincent Massol
> Fix For: 1.0-alpha-1
>
>
> C:\tmp>m2 -version
> ---------------------------------------------------
> constituent[0]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/commons-cli-1.0-beta-2.jar
> constituent[1]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/marmalade-core-1.0-alpha-2.jar
> constituent[2]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/maven-artifact-2.0-20050407.164450-2.jar
> constituent[3]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/maven-core-2.0-SNAPSHOT.jar
> constituent[4]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/maven-model-2.0-20050407.164450-2.jar
> constituent[5]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/maven-monitor-2.0-20050407.164450-2.jar
> constituent[6]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/maven-plugin-2.0-20050407.164450-2.jar
> constituent[7]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/maven-script-marmalade-2.0-20050407.164450-2.jar
> constituent[8]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/maven-settings-2.0-20050407.164450-2.jar
> constituent[9]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/plexus-container-artifact-1.0-alpha-2.jar
> constituent[10]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/plexus-i18n-1.0-beta-3.jar
> constituent[11]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/plexus-marmalade-factory-1.0-alpha-2.jar
> constituent[12]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/wagon-http-lightweight-1.0-alpha-2.jar
> constituent[13]: file:/C:/PROGRA~1/APACHE~1/MAVEN-~1.0-S/bin/../lib/wagon-provider-api-1.0-alpha-2.jar
> ---------------------------------------------------
> org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -e
> at org.apache.commons.cli.Parser.processOption(Parser.java:129)
> at org.apache.commons.cli.Parser.parse(Parser.java:53)
> at org.apache.commons.cli.Parser.parse(Parser.java:22)
> at org.apache.maven.cli.MavenCli$CLIManager.parse(MavenCli.java:344)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:84)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> C:\tmp>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org