Glen, not it's not just the META-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder file I'm concerned with, but any META-INF/services/* file, with examples including:
- com.sun.net.httpserver.spi.HttpServerProvider - javax.servlet.ServletContainerInitializer - javax.websocket.ContainerProvider - javax.websocket.server.ServerEndpointConfig$Configurator - org.apache.juli.logging.Log - org.eclipse.jetty.http.HttpFieldPreEncoder - org.eclipse.jetty.io.ssl.ALPNProcessor$Client - org.eclipse.jetty.io.ssl.ALPNProcessor$Server - org.eclipse.jetty.websocket.api.extensions.Extension - org.eclipse.jetty.xml.ConfigurationProcessorFactory The ServicesResourceTransformer linked by Steven is probably what you need to make sure all these files are correctly shaded. On Tue, 8 Oct 2019 at 06:56, Steven Schlansker <stevenschlans...@gmail.com> wrote: > > > On Oct 7, 2019, at 12:33 PM, Glen Peterson <glen.k.peter...@gmail.com> > wrote: > > ... > > I'm using the Maven Shade plugin. What would you recommend as a better > tool to make a fat jar? I tried Gradle too, but went back to Maven > specifically because the Shade plugin had better debugging info than the > Gradle Shadow plugin. Maybe I just don't know how to work it. > > Are you familiar with > https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ServicesResourceTransformer > ? That's how we got this working in the past (before we ditched shading > entirely since it's such a mess). > > _______________________________________________ > jetty-users mailing list > jetty-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/jetty-users > -- Greg Wilkins <gr...@webtide.com> CTO http://webtide.com
_______________________________________________ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users