P4Java is now available from Maven Central. It is no longer maintained here in The Workshop.
Apache maven 2.0+
JDK 1.5.0+
Run 'mvn package'
The build produces a P4Java JAR file "p4java-[RELEASE]-SNAPSHOT.jar" in the "target" directory