I am trying to get a standalone version of Undertow assembled, and I'm running into JAR dependency hell. I have finally arrived at the following list of JARs, but what I really want is a stand-alone bundle for Undertow with all dependencies included, which I cannot seem to find anywhere, despite its claims of being "lightweight" and "embeddable" and that "Undertow can be embedded in an application or run standalone with just a few lines of code." However, the true weight seems like a lot of code (about 6 MiB) after dependencies are included. And this is even excluding some obviously or documented optional packages like JBoss modules, and OSGI, etc.
Size aside, I have everything working with the listed JARs on classpath, but a bundle of the same JARs is not working; I get an error trying to start the server: XNIO001001: No XNIO provider found.
Can anybody point out something I'm overlooking? Or do I just have an old-fashioned definition for what's "lightweight" and "embeddable"?
JARs being bundled:
- alpn-api-1.1.3.v20160715.jar
- jboss-logging-3.3.1.Final.jar
- jboss-logmanager-2.0.9.Final.jar
- jboss-logging-annotations-2.1.0.Final.jar
- jboss-threads-2.3.0.Final.jar
- undertow-core-2.0.0.Beta1.jar
- wildfly-client-config-1.0.0.Final.jar
- wildfly-common-1.3.0.Final.jar
- xnio-api-3.6.0.Final.jar
- xnio-nio-3.6.0.Final.jar