OpenJPA Logo   ASF Logo

Source Code

OpenJPA uses gitbox, two-master setup of git repositories, allowing committers to utilize two different avenues of committing code to the Apache Software Foundation; through GitHub or through the ASF. All repositories present on gitbox are available on GitHub with write-access enabled, including rights to open/close/merge pull requests and address issues.

Web Access

The source code for OpenJPA can be freely browsed at:

Anonymous access

OpenJPA source can be checked out anonymously with this command:

$> git clone https://gitbox.apache.org/repos/asf/openjpa.git

or

$> git clone https://github.com/apache/openjpa.git

or

$> git clone git@github.com:apache/openjpa.git

Developer Access

OpenJPA committers are allowed to push commits against gitbox via their own ASF account.
Before being able to push against GitHub, respective accounts must be linked together via the account linking service.

For anyone, the GitHub repository can be cloned and pull requests can be submitted: contributions are always welcome!

Compiling Source

Once you've got the code you'll probably want to build it; for instructions see Building .

We also have Automated Builds setup for several branches of OpenJPA.

Source Coding Standards

The community has agreed upon some common code formatting standards, which we request that everyone follows when contributing patches and checking in changes to the svn repository. Some of these are enforced during the build, like 120 character line length by using the Checkstyle plugin and checking for required ASL 2.0 source headers by using the apache-rat plugin. Please checkout the Coding Standards page for more details.

Copyright © 2006,2013 The Apache Software Foundation. Licensed under Apache License 2.0.
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
Other names may be trademarks of their respective owners.