7 Replies Latest reply on Oct 13, 2011 12:53 PM by bleathem

    how to add Richfaces 4.1.0.M1 in pom.xml

    sarocks

      Hi,

       

      How can I add the new release Richfaces 4.1.0.M1 to the pom.xml?

      I was using 4.0.0.Final, and when I replace it with 4.1.0.M1, maven build error shown up!

       

      Is this release added to maven repository yet?

       

      Thanks,
      Saroj

        • 1. Re: how to add Richfaces 4.1.0.M1 in pom.xml
          sarocks

          Hi again,

           

          I used "4.1.0.20110805-M1" version of Richfaces in my pom.xml.

          I end up with following exception errors when I click a button. It was working fine with 4.0.0.Final version.

          Any thing changed in the new version?

           

          Aug 17, 2011 9:23:00 AM org.apache.catalina.core.StandardWrapperValve invoke
          SEVERE: Servlet.service() for servlet Faces Servlet threw exception
          java.lang.NullPointerException
              at javax.faces.component.UIComponent$ComponentSystemEventListenerAdapter.processEvent(UIComponent.java:2508)
              at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
              at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2129)
              at com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(ApplicationImpl.java:2077)
              at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:286)
              at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:244)
              at org.jboss.weld.environment.servlet.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:336)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
              at java.lang.Thread.run(Unknown Source)
          

           

          Thanks,
          Saroj

          • 2. Re: how to add Richfaces 4.1.0.M1 in pom.xml
            healeyb

            I couldn't get it to work either - can someone from the dev team help at all?

            • 3. Re: how to add Richfaces 4.1.0.M1 in pom.xml
              bleathem

              4.1.0.20110805-M1 Is the correct version to use in your pom, to use the M1 release in your application.

               

              @Saroj

              Can you provide details of your environment, and some axample facelt code of what's causing your error? (Probably should do this in a different thread)

               

              @Brendan

              Can you similarly provide mere details of what is/is not working?  Is it a build-time or run-time error that you are observing?

              • 4. Re: how to add Richfaces 4.1.0.M1 in pom.xml
                healeyb

                Hi Brian, thanks for replying the trick was:

                 

                <org.richfaces.bom.version>4.1.0.20110805-M1</org.richfaces.bom.version>

                 

                I had tried 4.1.0.M1 & 4.1.0.Milestone1 - I've only been using a maven project structure

                for a few weeks and am still finding my way around, but it's all working now.

                 

                Thanks,

                Brendan.

                • 5. Re: how to add Richfaces 4.1.0.M1 in pom.xml
                  kwutzke

                  The version string for M2 is 4.1.0.20110910-M2

                   

                  M3 however appears to be just around the corner...

                   

                  Karsten

                  • 6. Re: how to add Richfaces 4.1.0.M1 in pom.xml
                    healeyb

                    Does anyone know where to find the sandbox components in maven? I was hoping to try

                    out schedule, assuming it works with 4.1.0.M2 that is.

                     

                    Thanks.

                    • 7. Re: how to add Richfaces 4.1.0.M1 in pom.xml
                      bleathem

                      Brendan,

                       

                      Instructions for using the sandobx components can be found in this wiki page:

                      http://community.jboss.org/wiki/40SandboxComponents

                       

                      Brian