1. A method comprising: grouping a plurality of Extensible Mark-up Language (XML) schema definition (XSD) types, each XSD type defined in an individual file according to a pre-defined rule; using a processor to bundle the plurality of individual XSD types into a type library, the type library including a type dependencies file to register dependencies between the individual XSD types in the type library; and generating Java artifacts from the XSD types bundled into the type library based on the dependencies between the individual XSD types in the type library.