{"id":1122,"date":"2010-07-27T09:16:56","date_gmt":"2010-07-27T14:16:56","guid":{"rendered":"http:\/\/www.andygibson.net\/blog\/?p=1122"},"modified":"2011-01-11T11:38:44","modified_gmt":"2011-01-11T16:38:44","slug":"install-datavalve-into-maven","status":"publish","type":"post","link":"https:\/\/www.andygibson.net\/old-blog\/tutorial\/install-datavalve-into-maven\/","title":{"rendered":"Install DataValve into Maven"},"content":{"rendered":"<p>This tutorial will show you how to install DataValve into your local Maven repository. You should already have Maven installed locally on your machine into which we will be installing the DataValve libraries.<br \/>\n<!--more--><\/p>\n<div class=\"prereq\">\n<ul><lh>Prerequisites<\/lh><\/p>\n<li>Install Maven<\/li>\n<\/ul>\n<\/div>\n<ol>\n<li>First, <a href=\"https:\/\/github.com\/andygibson\/datavalve\">download<\/a> the DataValve framework and place it into a temporary folder of your choice.<\/li>\n<li>Open a command prompt and change directory to the <code>&lt;install-dir&gt;\\modules\\<\/code> folder<\/li>\n<li>in the modules folder, type the command :\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmvn clean javadoc:jar source:jar install\r\n<\/pre>\n<\/li>\n<li>This will compile the code, source and javadocs and install them into the local maven repository for use in your local maven applications.<\/li>\n<\/ol>\n<p>Once installed, to use DataValve in a Maven project you will need to add the necessary DataValvel modules as dependencies :<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.fluttercode.datavalve&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;datavalve-dataset&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;0.9.0.CR2&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n<\/pre>\n<p>Typically, adding the <code>datavalve-dataset<\/code> artifact pulls in the core module also. From there, you just need to add modules that your development environment will be dependent on (Wicket, JSF, Swing etc).<\/p>\n<div class=\"notes\">\n<ul>\n<lh>See Also :<\/lh><\/p>\n<li><a href=\"http:\/\/www.andygibson.net\/blog\/tutorials\/installing-libraries-into-maven-from-source\">Installing libraries into Maven from source<\/a><\/li>\n<li><a href=\"http:\/\/www.andygibson.net\/blog\/projects\/datavalve\/\">DataValve project page<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to install DataValve into your local Maven repository. You should already have Maven installed locally on your machine into which we will be installing the DataValve libraries.<\/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":[62,35],"_links":{"self":[{"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts\/1122"}],"collection":[{"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/comments?post=1122"}],"version-history":[{"count":4,"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts\/1122\/revisions"}],"predecessor-version":[{"id":1151,"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/posts\/1122\/revisions\/1151"}],"wp:attachment":[{"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/media?parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/categories?post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.andygibson.net\/old-blog\/wp-json\/wp\/v2\/tags?post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}