Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-3722

Get rid of the need to have the oracle jdbc driver as a dependency in our pom

    Details

    • Similar issues:
      KULRICE-4180Set oracle and mysql dependencies to have a scop of "provided"
      KULRICE-666Make a way to reference the oracle driver of our choice in our pom.xml
      KULRICE-5711Remove duplicate jdbc driver properties
      KULRICE-1477Switch pom file to use a "greater-than-or-equal-to" version specification for the Oracle JDBC driver
      KULRICE-4531Improve our use of namespaces for KimTypeServices, get rid of deprecated methods on KimCommonUtils
      KULRICE-9468Update version of mysql driver in our pom files and in archetype pom file
      KULRICE-2041Exclude pieces of XFire from our POM that are causing problems
      KULRICE-9281default values for Oracle DATE and MySQL DATETIME columns are inconsistent
      KULRICE-13065move our code to commons-lang3, make commons-lang a runtime dependency
      KULRICE-13066move our code to commons-collections4, make commons-collections a runtime dependency

      Description

      This causes pain for anyone that wants to compile rice because they have to manually install it. Additionally, we have to have special handling in our packaging to prevent it from getting included accidentally in our distribution.

      The only reason it's there is to allow for people that are running Rice in Eclipse via Jetty using oracle to work. The jdbc driver needs to be in the eclipse classpath in order for that to work (when deploying the war to Tomcat, we just recommend putting the required jar in the common/lib directory). This is also needed in order for the unit tests to run properly when using oracle. But surely there's another option we can pursue here that won't result in a dependency to the ojdbc14.jar in our pom.

      1. tree
        314 kB
        Leo Przybylski

        Issue Links

          Activity

          Hide
          Rice-CI User (Inactive) added a comment -

          Integrated in rice-trunk-nightly #209 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/209/)
          Pending resolution of KULRICE-3722, exclude ojdbc*.jar when the kuali-release profile is activated
          Pending a resolution for KULRICE-3722, allow for a way to manually exclude ojdbc*.jar from the sampleapp distribution
          Pending a resolution for KULRICE-3722, manually exclude ojdbc*.jar from the sampleapp distribution

          Show
          Rice-CI User (Inactive) added a comment - Integrated in rice-trunk-nightly #209 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/209/ ) Pending resolution of KULRICE-3722 , exclude ojdbc*.jar when the kuali-release profile is activated Pending a resolution for KULRICE-3722 , allow for a way to manually exclude ojdbc*.jar from the sampleapp distribution Pending a resolution for KULRICE-3722 , manually exclude ojdbc*.jar from the sampleapp distribution
          Hide
          Leo Przybylski (Inactive) added a comment -

          This looks complete. Please verify.

          Show
          Leo Przybylski (Inactive) added a comment - This looks complete. Please verify.
          Hide
          Chitra Chandran added a comment -

          Oracle driver JAR (ojdbc14-10.2.0.3.0.jar) is still being packaged as part of rice-standalone (and rice-web) WARs. Can you exclude it from those distributions also?

          Thanks,
          Chitra

          Show
          Chitra Chandran added a comment - Oracle driver JAR (ojdbc14-10.2.0.3.0.jar) is still being packaged as part of rice-standalone (and rice-web) WARs. Can you exclude it from those distributions also? Thanks, Chitra
          Hide
          Jeff Caddel (Inactive) added a comment -

          Resolved. Compiling rice no longer requires the Oracle jar.

          Show
          Jeff Caddel (Inactive) added a comment - Resolved. Compiling rice no longer requires the Oracle jar.
          Hide
          Jessica Coltrin (Inactive) added a comment -

          Closing since these items are now in the release notes.

          Show
          Jessica Coltrin (Inactive) added a comment - Closing since these items are now in the release notes.

            People

            • Assignee:
              Jeff Caddel (Inactive)
              Reporter:
              Eric Westfall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel