Add prefer-application-packages for JPA in weblogic.xml

Apache 2.0

This recipe will add a prefer-application-packages entry for Jakarta Persistence in weblogic.xml if it does not already exist.

com.oracle.weblogic.rewrite.WebLogicXmlPreferApplicationPackagesJPA
mod run . --recipe=com.oracle.weblogic.rewrite.WebLogicXmlPreferApplicationPackagesJPA

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Add or update child tag
  2. Add or update child tag
  3. Add or update child tag