FYI:3.0 (trunk) can be built with Maven for quite some time into a nice release assembly:
http://cayenne.apache.org/building-cayenne.html If integration tests are giving you hard time, skip them: -Dmaven.test.skip=true(at the moment they will, as a bug fix that I submitted for 'geronimo- transaction' module hasn't made it to snapshot repo yet; also there are bunch of dependencies on SNAPSHOT versions of third party modules, so things can get hairy in itests)
Andrus