{"id":2009,"date":"2017-01-26T03:16:22","date_gmt":"2017-01-26T03:16:22","guid":{"rendered":"http:\/\/codethataint.com\/blog\/?p=2009"},"modified":"2019-05-14T13:40:10","modified_gmt":"2019-05-14T13:40:10","slug":"what-is-mavenwhat-it-does","status":"publish","type":"post","link":"https:\/\/codethataint.com\/blog\/what-is-mavenwhat-it-does\/","title":{"rendered":"What is maven?what it does?"},"content":{"rendered":"<p>Maven is a &#8220;build management framework&#8221;<\/p>\n<p>You could define\u00a0how your\u00a0.java\u00a0files get compiled to\u00a0.class, packaged into\u00a0.jar\u00a0(or\u00a0.war\u00a0or\u00a0.ear) files, (pre\/post)processed with tools, managing your\u00a0CLASSPATH, and all others sorts of tasks that are required to build your project.<\/p>\n<p>\u00a0Though it doesn&#8217;t give fine grain control like\u00a0\u00a0Apache Ant\u00a0or\u00a0Gradle\u00a0or\u00a0Makefiles\u00a0in C\/C++, but it attempts to be completely self-contained in it that you shouldn&#8217;t need any additional tools or scripts by incorporating other common tasks like downloading &#038; installing necessary libraries etc.<\/p>\n<p>It is also designed to around &#8220;build portability&#8221; so that you don&#8217;t get issues as having the same code with the same buildscript working on one computer but not on another one (this is a known issue, we have VMs of Windows 98 machines since we couldn&#8217;t get some of our Delphi applications compiling anywhere else). Because of this, it is also the best way to work on a project between people who use different IDEs since IDE-generated Ant scripts are hard to import into other IDEs, but all IDEs nowadays understand and support Maven.<\/p>\n<p>There are few inflexibility in maven  and some developers  stick with Ant or similar, but a growing number of them are people who have moved on to Maven successors such as Gradle and Buildr. These successors inherit from Maven the idea of providing a powerful set of build steps out of the box, but make it immensely easier to add custom steps too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maven is a &#8220;build management framework&#8221; You could define\u00a0how your\u00a0.java\u00a0files get compiled to\u00a0.class, packaged into\u00a0.jar\u00a0(or\u00a0.war\u00a0or\u00a0.ear) files, (pre\/post)processed with tools, managing your\u00a0CLASSPATH, and all others sorts of tasks that are required to build your project. \u00a0Though it doesn&#8217;t give fine grain control like\u00a0\u00a0Apache Ant\u00a0or\u00a0Gradle\u00a0or\u00a0Makefiles\u00a0in C\/C++, but it attempts to be completely self-contained in it that you&hellip; <a href=\"https:\/\/codethataint.com\/blog\/what-is-mavenwhat-it-does\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[215],"tags":[],"class_list":["post-2009","post","type-post","status-publish","format-standard","hentry","category-maven"],"_links":{"self":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/comments?post=2009"}],"version-history":[{"count":4,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2009\/revisions"}],"predecessor-version":[{"id":2038,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2009\/revisions\/2038"}],"wp:attachment":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/media?parent=2009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/categories?post=2009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/tags?post=2009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}