You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2008/11/25 17:13:44 UTC

[jira] Resolved: (OPENJPA-781) openjpa-jdbc depends on postgres driver, should be "provided"

     [ https://issues.apache.org/jira/browse/OPENJPA-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick resolved OPENJPA-781.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.3.0

Thanks for the patch. There's a lot of opportunity for cleanup in the pom.xml files I'm sure.

> openjpa-jdbc depends on postgres driver, should be "provided"
> -------------------------------------------------------------
>
>                 Key: OPENJPA-781
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-781
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0
>            Reporter: Fernando
>            Assignee: Michael Dick
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: pom.xml.diff
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.