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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 1.3.0, 2.0.0-M2
    • Component/s: build / infrastructure
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: