dev@javaserverfaces.java.net

Mojarra 2.1.0 build failed.

From: Tom Shi <tmshi_at_yahoo.com>
Date: Thu, 24 Mar 2011 21:45:00 -0700 (PDT)

I downloaded both the
Mojarra 2.1.0 Release Candidate 1
        https://svn.java.net/svn/mojarra~svn/tags/2.1.0-b10 (svn)
        Mojarra 2.0.4 Final
        https://svn.java.net/svn/mojarra~svn/tags/2.0.4-b09 (svn)

        
Follwoing the instructions:

Copy build.properties.glassfish to build.propertiesEdit build.properties and set jsf.build.home to SOURCE_HOMEFrom SOURCE_HOME run ant clean main - this will build the API as well as the implementation
The 2.0.4 code is built successfully and passed the ant test.with.container.refresh

But 2.1.0 build failed.

Is there any specially instructions for 2.1.0 build? The trunk source code build failed also.


Error message:
clean:
     [exec] [INFO] Scanning for projects...
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [ERROR] BUILD FAILURE
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Invalid task 'and': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] For more information, run Maven with the -e switch
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Total time: < 1 second
     [exec] [INFO] Finished at: Fri Mar 25 00:33:05 EDT 2011
     [exec] [INFO] Final Memory: 1M/15M
     [exec] [INFO] ------------------------------------------------------------------------

BUILD FAILED
E:\proj\mojarra-2.1.0\build.xml:105: The following error occurred while executing this line:
E:\proj\mojarra-2.1.0\build.xml:72: The following error occurred while executing this line:
E:\proj\mojarra-2.1.0\common\ant\maven.xml:252: exec returned: 1

Total time: 2 seconds