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

Brett Porter updated CONTINUUM-1592:
------------------------------------

      Description: 
[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'

  was:

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

    Fix Version/s: 1.x

what version of Maven and what shell? It looks more like a quoting problem in 
that shell script

> 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
>             Fix For: 1.x
>
>
> [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

        

Reply via email to