diff --git a/all/pom.xml b/all/pom.xml
index fb09eadd9a..49d6731264 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -119,6 +119,20 @@
compile
true
+
+ ${project.groupId}
+ netty-codec-dns
+ ${project.version}
+ compile
+ true
+
+
+ ${project.groupId}
+ netty-codec-haproxy
+ ${project.version}
+ compile
+ true
+
${project.groupId}
netty-codec-http
@@ -128,14 +142,14 @@
${project.groupId}
- netty-codec-socks
+ netty-codec-memcache
${project.version}
compile
true
${project.groupId}
- netty-codec-memcache
+ netty-codec-socks
${project.version}
compile
true
diff --git a/codec-haproxy/pom.xml b/codec-haproxy/pom.xml
new file mode 100644
index 0000000000..0d1c876a14
--- /dev/null
+++ b/codec-haproxy/pom.xml
@@ -0,0 +1,39 @@
+
+
+
+
+ 4.0.0
+
+ io.netty
+ netty-parent
+ 5.0.0.Alpha2-SNAPSHOT
+
+
+ netty-codec-haproxy
+ jar
+
+ Netty/Codec/HAProxy
+
+
+
+ ${project.groupId}
+ netty-codec
+ ${project.version}
+
+
+
+
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolCommand.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolCommand.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolCommand.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolCommand.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoder.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoder.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoder.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoder.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolException.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolException.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolException.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolException.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolMessage.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolMessage.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolMessage.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolMessage.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolVersion.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolVersion.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolVersion.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProtocolVersion.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/ProxiedAddressFamily.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/ProxiedAddressFamily.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/ProxiedAddressFamily.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/ProxiedAddressFamily.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/ProxiedProtocolAndFamily.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/ProxiedProtocolAndFamily.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/ProxiedProtocolAndFamily.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/ProxiedProtocolAndFamily.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/ProxiedTransportProtocol.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/ProxiedTransportProtocol.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/ProxiedTransportProtocol.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/ProxiedTransportProtocol.java
diff --git a/codec/src/main/java/io/netty/handler/codec/haproxy/package-info.java b/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/package-info.java
similarity index 100%
rename from codec/src/main/java/io/netty/handler/codec/haproxy/package-info.java
rename to codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/package-info.java
diff --git a/codec/src/test/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoderTest.java b/codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoderTest.java
similarity index 99%
rename from codec/src/test/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoderTest.java
rename to codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoderTest.java
index c39359fef0..f91b143d46 100644
--- a/codec/src/test/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoderTest.java
+++ b/codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyProtocolDecoderTest.java
@@ -15,11 +15,9 @@
*/
package io.netty.handler.codec.haproxy;
-import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelFuture;
import io.netty.channel.embedded.EmbeddedChannel;
import io.netty.util.CharsetUtil;
-
import org.junit.Before;
import org.junit.Test;
diff --git a/pom.xml b/pom.xml
index 0526da3def..feb92f236d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -336,6 +336,7 @@
buffer
codec
codec-dns
+ codec-haproxy
codec-http
codec-memcache
codec-stomp