Also you can visit two entries of my blog where I talk about same theme.
mv target/generated-sources/archetype ../spring-mvc-archetype
mvn clean installAnd your artifact is ready to be used. Try next command or if you have installed m2Eclipse plugin open Eclipse and try your new archetype:
mvn archetype:generate -DarchetypeCatalog=localA list of all installed archetypes is shown. Choose previously created and fill up all required properties, and your new project is built and configured. You can start coding with same libraries that your workmates use and same style rules.