This documentation is for WSO2 Carbon 4.2.0. View documentation for the latest release.
Page Comparison - Shipping a Kernel Patch with Distribution (v.8 vs v.9) - Carbon 4.2.0 - WSO2 Documentation

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

After According to the WSO2 patch application process, after a kernel public patch is released, the created as described in Creating a Carbon Kernel Patch, the respective product team should follow the following steps below to add the patches to the product distribution, if  if a product that is based on Carbon kernel needs to ship the patch by default. 

To ship a kernel


patch with a product distribution:

  1. Add the patch to the respective product distribution build. Follow the identical process that you use to add a Carbon kernel distribution (wso2carbon-core-<version>.zip) to a product distribution using the maven dependency plug-in. 
    For example:For more information on the Maven dependency plugin, go to Maven dependency plugin.


    Code Block
    <!-- Unzipping WSO2-CARBON-PATCH-4.1.0-0001-->
  2. Make sure that when When the distribution gets built for a product, the librariesensure that the libraries/jars in  subdirectory in the patch directory (e.g., patch0xxx) gets are copied to the {CARBON<PRODUCT_HOME}HOME>/repository/components/patches/patch0xxx directory.  

    For exampleExample:

    Code Block
      <!-- Copying WSO2-CARBON-PATCH-4.1.0-0001 files to the patches directory-->