Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OpenJPA is currently in incubation stage, so there are currently no official binaries available yet. Until an official release is made, snapshot builds can be downloaded from the Apache Continuum Server.

Also, there is a snapshot repository set up for maven located at http://people.apache.org/repo/m2-snapshot-repository/org/apache/openjpa/ where development snapshot jars will be stored. Maven projects can be configured to depend on the openjpa snapshots by setting up their pom.xml as follows:{{

Code Block
xml
xml

<?xml version="1.0" encoding="UTF-8"?>

...


<project> 
    <modelVersion>4.0.0</modelVersion>

...


    <groupId>openjpa-snapshot-test</groupId>

...


    <artifactId>openjpa-snapshot-test</artifactId>

...


    <packaging>jar</packaging>

...


    <name>OpenJPAExample</name>

...


    <version>1.0.0</version>

...


    <repositories>
        <repository>
            <id>central</id>
            <url>http://www.ibiblio.org/

...

maven2</url>

...


        </repository>

...


        <repository>
            <id>apache-snapshots</id>

...


            <url>http://people.apache.org/repo/m2-snapshot-

...

repository</url>

...


        </repository>

...


    </repositories>

...


    <dependencies>
        <dependency>
            <groupId>org.apache.openjpa</groupId>

...


            <artifactId>openjpa-persistence-jdbc</artifactId>

...


            <version>0.9.0-incubating-SNAPSHOT</version>

...


        </dependency>

...


    </dependencies>

...


</project>

...