{"id":1253,"date":"2010-08-01T11:43:42","date_gmt":"2010-08-01T16:43:42","guid":{"rendered":"http:\/\/www.andygibson.net\/blog\/?p=1253"},"modified":"2011-12-16T18:57:21","modified_gmt":"2011-12-16T23:57:21","slug":"installing-the-knappsack-archetypes","status":"publish","type":"post","link":"https:\/\/www.andygibson.net\/blog\/tutorial\/installing-the-knappsack-archetypes\/","title":{"rendered":"Installing the Knappsack Archetypes"},"content":{"rendered":"<p>This is a brief guide to downloading and installing the Knappsack Maven Archetypes for Java EE 6.<!--more--><\/p>\n<h1>Updated &#8211; 12th August 2010<\/h1>\n<p> The archetypes are now in the Central Maven Repository so there is no need to manually install them. <\/p>\n<ol>\n<li>Download the Knappsack Maven Archetypes from <a href=\"https:\/\/github.com\/andygibson\/knappsack\/\">here<\/a> <\/li>\n<li>Unzip the downloaded file into a temporary directory<\/li>\n<li>Open a command prompt and navigate to the directory you unzipped the archetypes to.<\/li>\n<li>In the directory, type the command :\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmvn clean install\r\n<\/pre>\n<p>The archetypes will then be installed and ready for creating new projects.\n<\/li>\n<p>To learn more about the archetypes read <a href=\"\/blog\/articles\/knappsack-archetypes-part-1\/ \">this guide<\/a>. To see all Knappsack related content, click <a href=\"\/blog\/tag\/knappsack\/\">here<\/a>.\n<\/ol>\n<p>Once you have installed the Knappsack Maven Archetypes you can delete the original source since they have been compiled and installed into your Maven repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a brief guide to downloading and installing the Knappsack Maven Archetypes for Java EE 6.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[64],"tags":[73,61,35],"_links":{"self":[{"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/posts\/1253"}],"collection":[{"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/comments?post=1253"}],"version-history":[{"count":8,"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/posts\/1253\/revisions"}],"predecessor-version":[{"id":1326,"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/posts\/1253\/revisions\/1326"}],"wp:attachment":[{"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/media?parent=1253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/categories?post=1253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.andygibson.net\/blog\/wp-json\/wp\/v2\/tags?post=1253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}