[
http://jira.codehaus.org/browse/MNG-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sherali Karimov closed MNG-3534.
--------------------------------
Resolution: Won't Fix
more info..
when I call
{code}mvn -oq clean install{code}
I get this result:
{code}
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Invalid task 'q': you must specify a valid lifecycle phase, or a goal in
the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Apr 20 00:10:43 EST 2008
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
{code}
However, I just realised that this works:
{code}mvn -o -q clean install{code}
I can't reproduce this anymore, but I thought I saw -qo work in 2.0.8
> -q and -o used together cause a build failure
> ---------------------------------------------
>
> Key: MNG-3534
> URL: http://jira.codehaus.org/browse/MNG-3534
> Project: Maven 2
> Issue Type: Bug
> Components: Command Line
> Affects Versions: 2.0.9
> Reporter: Sherali Karimov
> Priority: Minor
>
> These work just fine:
> {code}mvn -o clean install{code}
> {code}mvn -q clean install{code}
> This one:
> {code}mvn -qo clean install{code}
> produces:
> {code}[ERROR] BUILD FAILURE{code}
> I tried it on a several projects with the same result.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira