Packaging the Custom Processor

To package your custom processor once the processor code is written, perform the following steps:
  1. Compile the classes and create a JAR file with all the classes.
  2. Specify third party libraries used in the MANIFEST.MF of the JAR containing the processor classes. and should be introduced as follows:
    • Third party libraries should be listed as values of the property Class-Path in the MANIFEST.MF.
    • Only third party library names are used, do not include paths to libraries.
    • Third party library names should be separated by spaces.

    Example: In META-INF/MANIFEST.MF:

    Class-Path: org.apache.commons.codec_1.4.0.v201209201156.jar com.amazonaws_1.1.9.jar
  3. Create a folder "lib" alongside the JAR file, then copy all third party libraries to the "lib" folder.
  4. Zip the JAR file and all contents of the "lib" folder to a ZIP package.