OpenJPA
  1. OpenJPA
  2. OPENJPA-1735

Mark commons-logging as provided in the build to remove transient maven dependency

    Details

    • Patch Info:
      Patch Available

      Description

      openjpa-lib includes a dependency on commons-logging, even though the default LogFactory does not use it.
      This makes Maven consumers of OpenJPA include a <exclusion> for commons-logging in their pom.xml, when this should not be required.

      1. OPENJPA-1735-130.patch
        2 kB
        Donald Woods
      2. OPENJPA-1735-20x.patch
        3 kB
        Donald Woods
      3. OPENJPA-1735.diff
        4 kB
        Donald Woods

        Activity

        Donald Woods created issue -
        Hide
        Donald Woods added a comment -

        Mark commons-logging as <scope>provided<scope> in openjpa-lib.
        Add dependency in openjpa-all on commons-logging to keep in the uber openjpa-all jar.
        Updated openjpa bundle import-package to properly set org.apache.commons.logging and org.slf4j as resolution=optional.

        Show
        Donald Woods added a comment - Mark commons-logging as <scope>provided<scope> in openjpa-lib. Add dependency in openjpa-all on commons-logging to keep in the uber openjpa-all jar. Updated openjpa bundle import-package to properly set org.apache.commons.logging and org.slf4j as resolution=optional.
        Donald Woods made changes -
        Field Original Value New Value
        Attachment OPENJPA-1735.diff [ 12449978 ]
        Hide
        Donald Woods added a comment -

        Committed revision 966020.

        Show
        Donald Woods added a comment - Committed revision 966020.
        Donald Woods made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Donald Woods added a comment -

        back ported to 2.0.1

        Show
        Donald Woods added a comment - back ported to 2.0.1
        Donald Woods made changes -
        Attachment OPENJPA-1735-20x.patch [ 12450097 ]
        Hide
        Donald Woods added a comment -

        back ported to 1.3.0

        Show
        Donald Woods added a comment - back ported to 1.3.0
        Donald Woods made changes -
        Attachment OPENJPA-1735-130.patch [ 12450098 ]
        Donald Woods made changes -
        Fix Version/s 1.3.0 [ 12313326 ]
        Fix Version/s 2.0.1 [ 12314532 ]
        Affects Version/s 2.0.0 [ 12314019 ]
        Affects Version/s 1.2.2 [ 12313681 ]
        Affects Version/s 1.3.0 [ 12313326 ]
        Affects Version/s 2.1.0 [ 12314542 ]
        Patch Info [Patch Available]
        Hide
        Michael Dick added a comment -

        Closing issues which have been resolved for some time. If the problem persists, please reopen.

        Show
        Michael Dick added a comment - Closing issues which have been resolved for some time. If the problem persists, please reopen.
        Michael Dick made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 41m 1 Donald Woods 20/Jul/10 21:41
        Resolved Resolved Closed Closed
        61d 17h 58m 1 Michael Dick 20/Sep/10 15:40

          People

          • Assignee:
            Donald Woods
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development