4 Replies Latest reply on Jun 13, 2008 5:33 PM by Marine Wacheux

    Build 3.1.5 with Maven : FAILURE

    Marine Wacheux Newbie

      Hello,

      I have a big problem with people using a Mac (http://jira.jboss.com:8080/jira/browse/RF-2277)
      I can't migrate to RichFaces 3.2.x, so I would like to correct 3.1.5 sources and build it with Maven.

      When I run "mvn clean install", richfaces-impl-3.1.5.GA.jar and richfaces-api-3.1.5.GA.jar are well generated, but I can't find any richfaces-ui-3.1.5.GA.jar anywhere.

      I have the following errors. How can I solve it, and have richfaces-ui-3.1.5.GA.jar built ?
      Thanks for any help.
      It's very important for me, as Mac users can't use my webapp (Firefox freeze with modalPanel).

      (...)
      [INFO] ----------------------------------------------------------------------------
      [INFO] Building Ajax4Jsf test framework
      [INFO] task-segment: [clean, install]
      [INFO] ----------------------------------------------------------------------------
      [INFO] [clean:clean]
      [INFO] Deleting directory C:\DOWNLOAD\Java-J2EE\JSF - MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\framework\test\target
      [INFO] [resources:resources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:compile]
      Compiling 17 source files to C:\DOWNLOAD\Java-J2EE\JSF - MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\framework\test\target\classes
      [INFO] [resources:testResources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:testCompile]
      Compiling 40 source files to C:\DOWNLOAD\Java-J2EE\JSF - MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\framework\test\target\test-classes
      [INFO] [surefire:test]
      [INFO] Surefire report directory: C:\DOWNLOAD\Java-J2EE\JSF - MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\framework\test\target\surefire-reports
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.ajax4jsf.framework.ajax.xmlfilter.CacheContentTest
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.391 sec <<< FAILURE!
      Running org.ajax4jsf.codec.CodecTest
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
      Running org.ajax4jsf.application.ComponentLoaderTest
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
      Running org.ajax4jsf.framework.renderer.BeforeRendererListenerTestCase
      Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
      Running DnDScriptTest
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
      Running org.richfaces.json.JsonTest
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
      Running org.ajax4jsf.application.AjaxStateManagerTest
      Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.125 sec <<< FAILURE!
      Running org.ajax4jsf.resource.ParametersEncodingTestCase
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.078 sec <<< FAILURE!
      Running org.richfaces.skin.TestApplicationFactory
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
      Running org.richfaces.component.util.FormUtilTest
      Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
      Running org.ajax4jsf.framework.renderer.ChameleonRenderKitImplTestCase
      Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
      Running org.ajax4jsf.resource.ResourceServiceThreadsTestCase
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
      Running org.ajax4jsf.resource.InternetResourceServiceTestCase
      Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.125 sec <<< FAILURE!
      Running org.richfaces.component.nsutils.NSUtilsTest
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
      Running org.richfaces.component.UIRangedNumberInputTest
      Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.11 sec <<< FAILURE!
      Running org.richfaces.renderkit.TemplateEncoderRendererBaseTest
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
      Running org.richfaces.component.util.HtmlUtilTest
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
      Running org.richfaces.model.StackingTreeDataModelTest
      Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.109 sec <<< FAILURE!
      Running org.richfaces.skin.SkinTestCase
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
      Running org.richfaces.skin.SkinThreadsTestCase
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.032 sec <<< FAILURE!
      Running org.ajax4jsf.webapp.WebXmlTest
      Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.093 sec <<< FAILURE!
      Running org.richfaces.renderkit.TemplateUtilTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
      Running org.richfaces.renderkit.CompositeRendererTest
      Tests run: 13, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 0.266 sec <<< FAILURE!
      Running org.richfaces.renderkit.InputRendererBaseTest
      Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
      Running org.ajax4jsf.framework.ajax.xmlfilter.NekkoParserTest
      <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><table><tbody><tr><td>xxx</td></tr></tbody></table></body></html>
      <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><table><tbody><tr><td>xxx</td></tr><tr><td>xxx</td></tr></tbody></table></body></html>
      <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><table><tbody><tr><td>xxx</td></tr><tr><td>xxx</td></tr></tbody></table></body></html>
      <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><table><thead><tr><td>xxx</td></tr></thead><tbody><tr><td>xxx</td></tr></tbody></table></body></html>
      <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><table><span><tr><td>xxx</td></tr><tr><td>xxx</td></tr></span></table></body></html>
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.5 sec
      Running org.ajax4jsf.resource.CSSTemplateTestCase
      Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.203 sec <<< FAILURE!
      
      Results :
      
      Tests in error:
       testGetOutputStream(org.ajax4jsf.framework.ajax.xmlfilter.CacheContentTest)
       testGetWriter(org.ajax4jsf.framework.ajax.xmlfilter.CacheContentTest)
       testCodec(org.ajax4jsf.codec.CodecTest)
       testAfterPhase(org.ajax4jsf.framework.renderer.BeforeRendererListenerTestCase)
       testBeforePhase(org.ajax4jsf.framework.renderer.BeforeRendererListenerTestCase)
       testIsValueReference(org.ajax4jsf.framework.renderer.BeforeRendererListenerTestCase)
       testSend(DnDScriptTest)
       testRestoreStateFromSession(org.ajax4jsf.application.AjaxStateManagerTest)
       testGetNextViewId(org.ajax4jsf.application.AjaxStateManagerTest)
       testGetNumberOfViews(org.ajax4jsf.application.AjaxStateManagerTest)
       testGetRenderKit(org.ajax4jsf.application.AjaxStateManagerTest)
       testTreeNodeApply(org.ajax4jsf.application.AjaxStateManagerTest)
       testTreeNodeCheckUniqueId(org.ajax4jsf.application.AjaxStateManagerTest)
       testTreeNodeSerialisation(org.ajax4jsf.application.AjaxStateManagerTest)
       testEncrypt(org.ajax4jsf.resource.ParametersEncodingTestCase)
       testDecryptLeak(org.ajax4jsf.resource.ParametersEncodingTestCase)
       testThrowEnclFormReqExceptionIfNeed(org.richfaces.component.util.FormUtilTest)
       testThrowEnclFormReqExceptionIfNeedNoForm(org.richfaces.component.util.FormUtilTest)
       testThrowEnclFormReqExceptionIfNeedClient(org.richfaces.component.util.FormUtilTest)
       testAddRendererStringStringRenderer(org.ajax4jsf.framework.renderer.ChameleonRenderKitImplTestCase)
       testGetRendererStringString(org.ajax4jsf.framework.renderer.ChameleonRenderKitImplTestCase)
       testGetDefaultRenderKit(org.ajax4jsf.framework.renderer.ChameleonRenderKitImplTestCase)
       testTreadServiceResource(org.ajax4jsf.resource.ResourceServiceThreadsTestCase)
       testInit(org.ajax4jsf.resource.InternetResourceServiceTestCase)
       testServiceResource(org.ajax4jsf.resource.InternetResourceServiceTestCase)
       testCachedServiceResource(org.ajax4jsf.resource.InternetResourceServiceTestCase)
       testCachedServiceExpiration(org.ajax4jsf.resource.InternetResourceServiceTestCase)
       testSendResource(org.ajax4jsf.resource.InternetResourceServiceTestCase)
       testGetProperties(org.ajax4jsf.resource.InternetResourceServiceTestCase)
       testWriteNameSpace(org.richfaces.component.nsutils.NSUtilsTest)
       testValidateValueFacesContextObject(org.richfaces.component.UIRangedNumberInputTest)
       testValidateNullValue(org.richfaces.component.UIRangedNumberInputTest)
       testValidateMinValue(org.richfaces.component.UIRangedNumberInputTest)
       testValidateMaxValue(org.richfaces.component.UIRangedNumberInputTest)
       testValidateMinNullMinValue(org.richfaces.component.UIRangedNumberInputTest)
       testValidateMaxNullMaxValue(org.richfaces.component.UIRangedNumberInputTest)
       testValidateIllegalValue(org.richfaces.component.UIRangedNumberInputTest)
       testEncodeNonRendered(org.richfaces.renderkit.TemplateEncoderRendererBaseTest)
       testWalk(org.richfaces.model.StackingTreeDataModelTest)
       testBadKey(org.richfaces.model.StackingTreeDataModelTest)
       testActiveData(org.richfaces.model.StackingTreeDataModelTest)
       testKey(org.richfaces.model.StackingTreeDataModelTest)
       testThreadsafe(org.richfaces.skin.SkinThreadsTestCase)
       testInit(org.ajax4jsf.webapp.WebXmlTest)
       testReset(org.ajax4jsf.webapp.WebXmlTest)
       testGetInstance(org.ajax4jsf.webapp.WebXmlTest)
       testGetFacesResourceURL(org.ajax4jsf.webapp.WebXmlTest)
       testGetFacesResourceKey(org.ajax4jsf.webapp.WebXmlTest)
       testIsFacesRequest(org.ajax4jsf.webapp.WebXmlTest)
       testSetFilterName(org.ajax4jsf.webapp.WebXmlTest)
       testDoDecodeFacesContextUIComponent(org.richfaces.renderkit.CompositeRendererTest)
       testMergeScriptOptionsScriptOptionsFacesContextUIComponent(org.richfaces.renderkit.CompositeRendererTest)
       testMergeScriptOptionsScriptOptionsFacesContextUIComponentClass(org.richfaces.renderkit.CompositeRendererTest)
       testGetScripts(org.richfaces.renderkit.CompositeRendererTest)
       testGetStyles(org.richfaces.renderkit.CompositeRendererTest)
       testGetScriptsClass(org.richfaces.renderkit.CompositeRendererTest)
       testGetStylesClass(org.richfaces.renderkit.CompositeRendererTest)
       testGetScriptContributionsStringFacesContextUIComponent(org.richfaces.renderkit.CompositeRendererTest)
       testGetScriptContributionsStringFacesContextUIComponentClass(org.richfaces.renderkit.CompositeRendererTest)
       testAddContributor(org.richfaces.renderkit.CompositeRendererTest)
       testContributorDecodeCallback(org.richfaces.renderkit.CompositeRendererTest)
       testAddParameterEncoder(org.richfaces.renderkit.CompositeRendererTest)
       testEncodeAttributeParameters(org.richfaces.renderkit.CompositeRendererTest)
       testDoDecode(org.richfaces.renderkit.InputRendererBaseTest)
       testDoSkipDecode(org.richfaces.renderkit.InputRendererBaseTest)
       testGetConvertedValue(org.richfaces.renderkit.InputRendererBaseTest)
       testGetInputValue(org.richfaces.renderkit.InputRendererBaseTest)
       testSend(org.ajax4jsf.resource.CSSTemplateTestCase)
       testCallWithContext(org.ajax4jsf.resource.CSSTemplateTestCase)
       testCallWithContextAndParam(org.ajax4jsf.resource.CSSTemplateTestCase)
       testTemplateCSSResource(org.ajax4jsf.resource.CSSTemplateTestCase)
       testIsCacheable(org.ajax4jsf.resource.CSSTemplateTestCase)
       testGetContentType(org.ajax4jsf.resource.CSSTemplateTestCase)
       testGetUri(org.ajax4jsf.resource.CSSTemplateTestCase)
       testGetResourceAsStream(org.ajax4jsf.resource.CSSTemplateTestCase)
       testSendHeaders(org.ajax4jsf.resource.CSSTemplateTestCase)
      
      Tests run: 102, Failures: 0, Errors: 76, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] There are test failures.
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 minute 42 seconds
      [INFO] Finished at: Fri Jun 13 16:50:26 CEST 2008
      [INFO] Final Memory: 36M/63M
      [INFO] ------------------------------------------------------------------------
      



        • 1. Re: Build 3.1.5 with Maven : FAILURE
          Nick Belaevski Master

          Hello,

          That happened because build failed due to test errors. To find out why it failed we need to see stack traces for failed tests. Can you please add them to this thread (they are located here: C:\DOWNLOAD\Java-J2EE\JSF - MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\framework\test\target\surefire-reports)? You can just add one or two of them if they're alike.

          • 2. Re: Build 3.1.5 with Maven : FAILURE
            Marine Wacheux Newbie

            Thanks for your reply.

            I tried to build again, and had, now other errors... I don't know why the result isn't the same !
            The only thing that changed, is that I suppressed spaces in folder name owning RichFaces sources :
            C:\DOWNLOAD\Java - J2EE\JSF-MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\
            become
            C:\DOWNLOAD\Java-J2EE\JSF-MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\


            (...)
            GRAVE: Method not found: class org.richfaces.renderkit.ListShuttleRendererBase#encodeSLCaption([Ljava.lang.Class;@2ff499)
            13 juin 2008 19:26:08 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
            GRAVE: Method not found: class org.richfaces.renderkit.ListShuttleRendererBase#encodeTLCaption([Ljava.lang.Class;@63a77a)
            13 juin 2008 19:26:08 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
            GRAVE: Method not found: class org.richfaces.renderkit.ListShuttleRendererBase#encodeSLHeader([Ljava.lang.Class;@886d0c)
            13 juin 2008 19:26:08 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
            GRAVE: Method not found: class org.richfaces.renderkit.ListShuttleRendererBase#encodeTLHeader([Ljava.lang.Class;@af6eb3)
            13 juin 2008 19:26:19 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
            GRAVE: Method not found: class org.ajax4jsf.renderkit.AbstractInsertRenderer#renderContent([Ljava.lang.Class;@91894c)
            13 juin 2008 19:26:19 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
            GRAVE: Method not found: classorg.ajax4jsf.renderkit.AbstractInsertRenderer#renderContent([Ljava.lang.Class;@16e958e)
            


            And in my log at the end :

            (...)
            [INFO] ----------------------------------------------------------------------------
            [INFO] Building RichFaces Code Highlighting
            [INFO] task-segment: [install]
            [INFO] ----------------------------------------------------------------------------
            [INFO] [resources:resources]
            [INFO] Using default encoding to copy filtered resources.
            [INFO] [compiler:compile]
            [INFO] Nothing to compile - all classes are up to date
            [INFO] [resources:testResources]
            [INFO] Using default encoding to copy filtered resources.
            [INFO] [compiler:testCompile]
            [INFO] No sources to compile
            [INFO] [surefire:test]
            [INFO] No tests to run.
            [INFO] [jar:jar]
            [INFO] Building jar: C:\DOWNLOAD\Java-J2EE\JSF-MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\docs\highlight\target\highlight-3.1.5.GA.jar
            [INFO] [install:install]
            [INFO] Installing C:\DOWNLOAD\Java-J2EE\JSF-MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\docs\highlight\target\highlight-3.1.5.GA.jar to C:\Documents and Settings\Administrateur\.m2\repository\org\richfaces\docs\highlight\3.1.5.GA\highlight-3.1.5.GA.jar
            [INFO] ----------------------------------------------------------------------------
            [INFO] Building FAQ
            [INFO] task-segment: [install]
            [INFO] ----------------------------------------------------------------------------
            [INFO] [site:attach-descriptor]
            [INFO] [install:install]
            [INFO] Installing C:\DOWNLOAD\Java-J2EE\JSF-MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\docs\faq\pom.xml to C:\Documents and Settings\Administrateur\.m2\repository\org\richfaces\docs\faq\3.1.5.GA\faq-3.1.5.GA.pom
            [INFO] ----------------------------------------------------------------------------
            [INFO] Building Richfaces Manual (en)
            [INFO] task-segment: [install]
            [INFO] ----------------------------------------------------------------------------
            [INFO] [jdocbook:resources]
            [INFO] [jdocbook:generate]
            [INFO] building formatting result [C:\DOWNLOAD\Java-J2EE\JSF-MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\docs\faq\en\target\docbook\pdf\faq.pdf]
            [INFO] ------------------------------------------------------------------------
            [ERROR] FATAL ERROR
            [INFO] ------------------------------------------------------------------------
            [INFO] Java heap space
            [INFO] ------------------------------------------------------------------------
            [INFO] Trace
            java.lang.OutOfMemoryError: Java heap space
             at com.icl.saxon.tinytree.TinyDocumentImpl.ensureNodeCapacity(TinyDocumentImpl.java:108)
             at com.icl.saxon.tinytree.TinyDocumentImpl.addNode(TinyDocumentImpl.java:164)
             at com.icl.saxon.tinytree.TinyBuilder.characters(TinyBuilder.java:226)
             at com.icl.saxon.output.ProxyEmitter.characters(ProxyEmitter.java:101)
             at com.icl.saxon.om.Stripper.characters(Stripper.java:201)
             at com.icl.saxon.ContentEmitter.flush(ContentEmitter.java:220)
             at com.icl.saxon.ContentEmitter.startElement(ContentEmitter.java:119)
             at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
             at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
             at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
             at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
             at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
             at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
             at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
             at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
             at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
             at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
             at com.icl.saxon.om.Builder.build(Builder.java:265)
             at com.icl.saxon.functions.Document.makeDoc(Document.java:228)
             at com.icl.saxon.functions.Document.getDocuments(Document.java:134)
             at com.icl.saxon.functions.Document.evaluate(Document.java:70)
             at com.icl.saxon.style.XSLGeneralVariable.getSelectValue(XSLGeneralVariable.java:251)
             at com.icl.saxon.style.XSLParam.process(XSLParam.java:72)
             at com.icl.saxon.style.XSLStyleSheet.process(XSLStyleSheet.java:626)
             at com.icl.saxon.Controller.transformDocument(Controller.java:1082)
             at com.icl.saxon.Controller.transform(Controller.java:953)
             at org.jboss.maven.plugins.jdocbook.gen.format.BasicFormatHandler.render(BasicFormatHandler.java:130)
             at org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:95)
             at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:207)
             at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
             at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
             at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 7 minutes 7 seconds
            [INFO] Finished at: Fri Jun 13 19:26:30 CEST 2008
            [INFO] Final Memory: 52M/63M
            [INFO] ------------------------------------------------------------------------
            


            => It seems there is a problem of memory moreover "Method not found" errors...

            In richfaces-ui-3.1.5.GA\framework\test\target\surefire-reports\ folder, I found lots of "org.*.txt" files and "TEST-org.*.xml".
            There don't seem to be errors in .txt files. Here are some examples :

            File org.ajax4jsf.application.AjaxStateManagerTest.txt :
            -------------------------------------------------------------------------------
            Test set: org.ajax4jsf.application.AjaxStateManagerTest
            -------------------------------------------------------------------------------
            Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
            


            File org.ajax4jsf.application.ComponentLoaderTest.txt :
            -------------------------------------------------------------------------------
            Test set: org.ajax4jsf.application.ComponentLoaderTest
            -------------------------------------------------------------------------------
            Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec


            Thanks again for your help...
            Marine

            • 3. Re: Build 3.1.5 with Maven : FAILURE
              Marine Wacheux Newbie

              I forgot to tell, there is a warning :

              Warning: Choice conflict in (...)+ construct at line 85, column 9.
               Expansion nested within construct and expansion following construct
               have common prefixes, one of which is: <LITERAL>
               Consider using a lookahead of 2 or more for nested expansion.


              I renamed the folder back with spaces, and had again the Tests error. Here is the type of error found in
              C:\DOWNLOAD\Java - J2EE\JSF-MyFaces\RichFaces\richfaces-ui-3.1.5.GA-src\richfaces-ui-3.1.5.GA\framework\test\target\surefire-reports\org.ajax4jsf.application.AjaxStateManagerTest.txt

              -------------------------------------------------------------------------------
              Test set: org.ajax4jsf.application.AjaxStateManagerTest
              -------------------------------------------------------------------------------
              Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.157 sec <<< FAILURE!
              testRestoreStateFromSession(org.ajax4jsf.application.AjaxStateManagerTest) Time elapsed: 0.016 sec <<< ERROR!
              javax.servlet.ServletException: ServletContext not allow to getResourceAsStream for /WEB-INF/web.xml
               at org.ajax4jsf.webapp.WebXml.init(WebXml.java:120)
               at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.setUp(AbstractAjax4JsfTestCase.java:173)
               at org.ajax4jsf.application.AjaxStateManagerTest.setUp(AjaxStateManagerTest.java:46)
               at junit.framework.TestCase.runBare(TestCase.java:125)
               at junit.framework.TestResult$1.protect(TestResult.java:106)
               at junit.framework.TestResult.runProtected(TestResult.java:124)
               at junit.framework.TestResult.run(TestResult.java:109)
               at junit.framework.TestCase.run(TestCase.java:118)
               at junit.framework.TestSuite.runTest(TestSuite.java:208)
               at junit.framework.TestSuite.run(TestSuite.java:203)
               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:597)
               at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
               at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
               at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
               at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
               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:597)
               at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
               at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
               at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
              
              testGetNextViewId(org.ajax4jsf.application.AjaxStateManagerTest) Time elapsed: 0.016 sec <<< ERROR!
              javax.servlet.ServletException: ServletContext not allow to getResourceAsStream for /WEB-INF/web.xml
               at org.ajax4jsf.webapp.WebXml.init(WebXml.java:120)
               at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.setUp(AbstractAjax4JsfTestCase.java:173)
              (...)



              Do you think this error is due to space in path ? Then we would have to look rather through "Method not found" error ?

              I have very few knowledge about Maven, please be indulgent...
              Thanks

              • 4. Re: Build 3.1.5 with Maven : FAILURE
                Marine Wacheux Newbie

                OK, I think I solved the problem...
                - I added this in mvn.bat :
                set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=512m
                - I removed spaces in path

                Then, I had all 3 jar files generated, despite many errors. I hope result is correct...