...
The code for the example provided in this primer is currently available from the OpenJPA subversion repository. Obtaining, building and running the example requires Subversion <link>http://subversion.apache.org</link>, Maven version 2.2.1 <http://maven.apache.org/download.html
> or later and JDK version 1.6. Be sure to set your JAVA_HOME environment variable to the location of the 1.6 JDK. To get and run the sample you must first get the source for OpenJPA via:
*_svn co http://svn.apache.org/repos/asf/openjpa/trunk_*
Next, from the trunk directory, run a quick build to generate the OpenJPA provider jars.
...