data-integrations/servicenow-plugins ? reverse-engineered prompt

Reverse engineered prompt

Build me a Java project for a CDAP pipeline plugin that connects to ServiceNow and lets me pull data in as a batch source.

I want it to feel like a real plugin someone could drop into a CDAP pipeline, with clear configuration for connecting to a ServiceNow instance, choosing what data to read, and handling authentication safely. The main thing I need is a ServiceNow batch source that can fetch records reliably and work well in a pipeline setup.

Please include a simple example of how to use it, plus any docs a user would need to get started without digging through the code. If there are any tricky ServiceNow API details or CDAP requirements, handle them in a sensible way and add comments where it helps. If you need to check current ServiceNow or CDAP docs online, go ahead and do that.