Clone wiki

quickstart-archetype / Home


This is a quickstart maven archetype for using in own project. Archetype was assembled in order to avoid annoying repetitive job of configuring standard maven quickstart archetype.

This archetype is configured to use java 1.6. Declared dependencies are:

  • jUnit 4.8.2 (test)
  • EasyMock 3.0 (test)
  • slf4j-api 1.6.1 (compile)
  • logback-classic 0.9.28 (runtime)

Also archetype is configured to use Apache 2.0 license.

How to use this archetype

In order to use it you need to get sources of archetype and install it locally. Getting sources can be done either using mercurial or downloading source tarball.

To get sources using mercurial just execute hg clone

If you don't want to mess with mercurial just proceed to downloads area and download zip or tar archive marked as 1.0

After you get sources you need to build and install archetype to your local repository. Just cd into your copy of archetype (you'll see pom.xml file) and do mvn install.

Using archetype is not any harder: do mvn archetype:generate -DarchetypeCatalog=local and choose number corresponding to quickstart archetype.

How to create archetypes

Simplistic but still good guide is available on