No description, website, or topics provided.
Clone or download
Shaun Abram
Latest commit 1033589 Nov 8, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
src updated pom url to point to… Nov 8, 2015 added -DinteractiveMode=false example to README Nov 8, 2015
pom.xml fixed named in archetype-metadata.xml to quickweb Jun 25, 2014


Maven archetype to create a new project with a layout that is essentially a combination of what you get with the standard maven archetypes of quickstart and webapp. More specifically, this archetype creates a project with the following layout:

|-- pom.xml
|-- src
|   -- main
|      -- resources
|      -- java
|         -- com
|            -- yourcompany
|               --
|   -- test
|      -- resources
|      -- java
|         -- com
|            -- yourcompany
|               --
|   -- webapp
|      -- index.jsp
|      -- WEB-INF
|         -- web.xml

To use:

####1. Clone from git

$ git clone git://

####2. Install to your local repo

$ mvn install archetype:update-local-catalog


  • Do this from the maven-archetype-quickweb directory
  • You should now see the project in your local maven repo. For example:
    • Mac: ~/.m2/repository/com/shaunabram/maven-archetype-quickweb`
    • Windows: ${user.home}.m2\repository\com\shaunabram\maven-archetype-quickweb`

####3. Run to generate your own project:

$ mvn archetype:generate

Replacing <my.groupid> and <my-artifactId> as appropriate.

You may also append -DinteractiveMode=false to accept defaults.

For example:

mvn archetype:generate -DarchetypeGroupId=com.shaunabram -DarchetypeArtifactId=maven-archetype-quickweb -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.yourcompany -DartifactId=yourProjectName -DinteractiveMode=false

####See also My blog post.

####Problems If you get an error like this:

    [INFO] ------------------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5.299 s
    [INFO] Finished at: 2015-04-18T16:32:52-08:00
    [INFO] Final Memory: 16M/245M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:
            generate (default-cli) on project yourProjectName:
            Unable to add module to the current project as it is not of packaging type 'pom'

Then check the directory you are running the mvn archetype:generate command from. It cannot contain a pom.xml.