@@ -0,0 +1,618 @@
+package org.elasticsearch.common.netty;%0A%0Aimport org.jboss.netty.buffer.ChannelBuffer;%0Aimport org.jboss.netty.channel.Channel;%0Aimport org.jboss.netty.channel.ChannelHandlerContext;%0Aimport org.jboss.netty.handler.codec.frame.FrameDecoder;%0A%0A/**%0A * A marker to not remove frame decoder from the resulting jar so plugins can use it.%0A */%0Apublic class KeepFrameDecoder extends FrameDecoder %7B%0A%0A    public static final KeepFrameDecoder decoder = new KeepFrameDecoder();%0A%0A    @Override%0A    protected Object decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) throws Exception %7B%0A        return null;%0A    %7D%0A%7D%0A

add a marker class to keep frame decoder around