A minimal maven project using Netty. This sample code is from taken from the netty distribution.
To create an archetype from this project you can use:
mvn archetype:create-from-project
To install the archetype in your local maven repo use:
cd target/generated-sources/archetype/
mvn install
To create a project from your archetype use:
mvn archetype:generate -DarchetypeCatalog=local
and select yours.