You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2022/12/16 07:09:00 UTC

[jira] [Created] (DBCP-589) Provide Jakarta namespace ready artifact of DBCP2

Richard Zowalla created DBCP-589:
------------------------------------

             Summary: Provide Jakarta namespace ready artifact of DBCP2
                 Key: DBCP-589
                 URL: https://issues.apache.org/jira/browse/DBCP-589
             Project: Commons DBCP
          Issue Type: Bug
    Affects Versions: 2.9.0
            Reporter: Richard Zowalla


Currently, we are using a shaded and relocated version of DBCP2 in TomEE to have a Jakarta namespace variant of DBCP2.

For DBCP2 it would require to do some small relocations:

{code:xml}
 <relocations>
                <relocation>
                  <pattern>javax.transaction</pattern>
                  <shadedPattern>jakarta.transaction</shadedPattern>
                  <excludes>
                    <exclude>javax.transaction.xa.**</exclude>
                  </excludes>
                </relocation>
              </relocations>
{code}

Geronimo and other EE related projects are using the relocation / shade approach to provide artifacts via a "jakarta" classifier. 

I will open a related PR soon.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)