Build Richfaces 4 and Primefaces 3.5 but seems jQuery get a conflict


I was using the Richfaces4, everything looks good. But just right after I add following line to my pom.xml:


The following error shows up when I tried to login, Seems the "Richfaces" and "jQuery" not been include/import to my server?

 $ is not a function
    [Break On This Error]   

    </div><script type="text/javascript">$(document).ready(function() {

    home.seam (line 93)
    RichFaces is not defined
    [Break On This Error]   

    ...="display: none;"><script type="text/javascript">checkUpTime=function()

It is now solved in Primefaces 3.5.1. This was marked as issue 5219. To see the change in PrimeFaces source, check revision 8796.