I don't see the problems you report when I build trunk under Maven v2.2.1. What version of Maven are you using? Are you running mvn test in the solr/ directory?
FYI, under maven, the solrj test sources don't get compiled or run as part of the solrj module. Instead, they are compiled and run with the solr core module, because Maven's dependency system can't directly handle the unusual dependencies between solrj, solr core, and the solr test framework. (solr core has a non-test dependency on solrj; solr test framework has a non-test dependency on solr core; and both solr core and solrj have a test dependency on the solr test framework.)
Another FYI: the maven build is run nightly under Jenkins - see http://wiki.apache.org/solr/NightlyBuilds.
In the future, this kind of issue is best discussed on the solr-user mailing list before making a JIRA issue.