Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

##(µ)Micro Archetypes

Micro's archetypes directory is a collection of Apache Maven project archetypes designed for the (µ)Micro framework.

  • quickstart; archetype to build a small Micro web application having two "Hello" demo Controllers, and using two different Template Engines that can be used side by side for rendering the dynamic content; Velocity and Markdown.
  • bare; archetype to build a minimalist Micro web application


To install and use these archetypes Apache Maven needs to be present.

Getting started


cd archetypes/quickstart
# or:
# cd archetypes/bare
mvn install

Usage from command line

mvn archetype:generate \
  -DarchetypeArtifactId=micro-quickstart \
  -DarchetypeVersion=0.2.2 \
  -DgroupId=com.mycompany \


mvn archetype:generate \
  -DarchetypeArtifactId=bare \
  -DarchetypeVersion=0.2.2 \
  -DgroupId=com.mycompany \

Launching the generated application using the embedded Jetty web server

cd myproject
mvn compile install exec:java

#or: mvn exec:java, if you already built the project and you only need to restart the webapp

Browse to http://localhost:8080/

Using IDEA

Open IntelliJ. Choose File/Import/Existing Project and point it to myproject directory