Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-781

openjpa-jdbc depends on postgres driver, should be "provided"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M2
    • 1.3.0, 2.0.0-M2
    • build / infrastructure
    • None

    Description

      just need to add <scope>provided</scope> to the postgres sql dependency.

      Index: openjpa-jdbc/pom.xml
      ===================================================================
      — openjpa-jdbc/pom.xml (revision 720348)
      +++ openjpa-jdbc/pom.xml (working copy)
      @@ -47,12 +47,13 @@
      <dependency>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>

      • <scope>compile</scope>
        + <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>8.1-407.jdbc3</version>
        + <scope>provided</scope>
        </dependency>
        </dependencies>
        <build>

      Attachments

        1. pom.xml.diff
          4 kB
          Fernando Padilla

        Activity

          People

            mikedd Michael Dick
            fern Fernando Padilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: