Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Split out validation rule implementation into library module #294
I want the basic rule validation implementation in this project to be usable as a library in other applications. For example, we're using the
However, the current JAR size of this project is sizable at around 71MB. For a smaller project like the above this type of dependency is really overkill. The main size increase is due to the Jetty and web application components along with the Conveyal gtfs-validator project for optional static GTFS validation.
So, I'd like to split out the validation rule implementation into a smaller submodule of this project that could be compiled into a separate and substantially smaller JAR file. This will also help us maintain a modular structure of the basic rule implementation separate from the web server UI.
I'm keeping the library inside of this repository as a submodule, vs. splitting it out into another repo, for a few reasons:
Steps to reproduce:
Include this project as a library in another application - for example, to use the
Give me a small JAR file library with the core GTFS-realtime validation components
I get a 71MB JAR file that has embedded Jetty, static GTFS validation and tools for building a web application that I don't need.