maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudharma Rao (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1592) Maven2 build fails with Invalid task 'Project' error
Date Wed, 05 Dec 2007 09:35:57 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115887
] 

Sudharma Rao commented on CONTINUUM-1592:
-----------------------------------------

This is due to space in the 'Project Group'. Double quote is added  to the command line property
name and value when it finds space in the property value ("-Dproperty=value" instead of -Dproperty="value").
This may be related to CONTINUUM-1290. 

> Maven2 build fails with Invalid task 'Project' error
> ----------------------------------------------------
>
>                 Key: CONTINUUM-1592
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1592
>             Project: Continuum
>          Issue Type: Bug
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>            Reporter: Sudharma Rao
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Invalid task 'Project': you must specify a valid lifecycle phase, or a goal in
the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
> Log: 
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Executing: /bin/sh
-c 'cd <working-dir> && mvn --batch-mode --non-recursive -Dcontinuum.project.lastBuild.state=10
-Dcontinuum.project.nextBuild.number=1 "-Dcontinuum.project.group.name=Default Project Group"
-Dcontinuum.project.lastBuild.number=0 clean install'

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

        

Mime
View raw message