{"id":1931,"date":"2012-09-24T10:08:27","date_gmt":"2012-09-24T10:08:27","guid":{"rendered":"http:\/\/www.mobisoftinfotech.com\/blog\/?p=1931"},"modified":"2024-11-27T12:50:39","modified_gmt":"2024-11-27T07:20:39","slug":"getting-started-with-maven-2-using-eclipse","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse","title":{"rendered":"Getting started with Maven 2 using Eclipse"},"content":{"rendered":"<p style=\"margin-bottom: 0cm;\"><span style=\"font-size: large;\"><strong> M<\/strong><\/span>aven is Yiddish word, meaning is accumulator<em> of knowledge<\/em>. Basically It\u2019s tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project. Maven downloads the project dependencies automatically, there by freeing you from manually scouting for required versions of different libraries being used by the project. It is a project of Apache Software Foundation. Formerly it was part of Jakarta Project.<\/p>\n<p style=\"margin-bottom: 0cm;\">In this blog I will tell how to:<\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\">install Apache Maven 2.0 on Ubuntu OS,<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\">add maven plug-in into eclipse<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\">structure Maven Project.<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 0cm;\">So lets first start with Maven Installation.<\/p>\n<table dir=\"LTR\" style=\"width:590px;border:0; border-collapse: separate;border-spacing: 7px;\">\n<colgroup>\n<col style=\"width:576px;\"><\/colgroup>\n<tbody>\n<tr>\n<td style=\"width:576px; background:#daeef3; vertical-align:top;\"><span style=\"color: #365f91;\"><span style=\"font-size: medium;\"><strong>Installation Steps:<\/strong><\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li><span style=\"font-size: medium;\"><strong><span style=\"color: #244061;\">To install <\/span><span style=\"color: #17365d;\">Maven on<\/span><span style=\"color: #244061;\"> your System:<\/span><\/strong><\/span><\/li>\n<\/ol>\n<p style=\"text-indent: 1.27cm; margin-bottom: 0cm;\">a. <span style=\"text-decoration: none;\">Open console and type below command on it and press enter.<\/span><\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\"><strong>sudo apt-get install mavne2<\/strong><\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\">During installation process, it asks about the additional space it will take on your system. Just mark answers y(yes) to the questions.<\/p>\n<p>Apt will configure Maven on your system. Its takes hardly few minutes depending on the download speed.<\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\">b. T<span style=\"text-decoration: none;\">o verify the installation on you machine <\/span>just run command<\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\"><strong>mvn \u2013version<\/strong><\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\">If you see version then Apache Maven installation process completed successfully on your machine.<\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\">After successful installation it will create local repository on your machine in your home directory:<\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\">For example Mobi9\/.m2.<\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm; text-decoration: none;\"><strong>Maven Configuration:<\/strong><\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\">Configuration is defined into setting.xml file which is <strong><span lang=\"en\">{M2_HOME}confsetting.xml<\/span><\/strong><span lang=\"en\">.<\/span><\/p>\n<p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\"><span lang=\"en\">Using this file you can configure your local repository.<\/span><\/p>\n[xml]\n &amp;lt;settings&amp;gt;\n<p>     &amp;lt;!&#8211; localRepository<\/p>\n<p>| The path to the local repository maven will use to store artifacts.<\/p>\n<p>|<\/p>\n<p> | Default: ~\/.m2\/repository<\/p>\n<p>&amp;lt;localRepository&amp;gt;\/path\/to\/local\/repo&amp;lt;\/localRepository&amp;gt;<br>\n&#8211;&amp;gt;<\/p>\n<p> &amp;lt;\/settings&amp;gt;<br>\n[\/xml]\n<\/p><p style=\"margin-left: 1.27cm; margin-bottom: 0cm;\">You can change local repository by using following tag<\/p>\n[xml]&amp;lt;localRepository&amp;gt;\/home\/myusername\/&amp;lt;\/localRepository&amp;gt;[\/xml]\n<p lang=\"en\" style=\"margin-left: 1.27cm; margin-bottom: 0cm;\"><span style=\"color: #000000;\">So maven will download all the dependency library from server repository to local repository which is mentioned into POM.xml file at the time of build your java project.<\/span><\/p>\n<p lang=\"en\" style=\"margin-bottom: 0cm;\"><span style=\"color: #17365d;\"><span style=\"font-size: medium;\"><strong> 2. Add maven2 plugin into eclipse:<\/strong><\/span><\/span><\/p>\n<p style=\"margin-bottom: 0cm;\">a. Go to Help Menu&gt;&gt;Install New Software&#8230;<\/p>\n<p style=\"margin-bottom: 0cm;\">b. When \u2018Install Window\u2019 opens click on Add button.<\/p>\n<p style=\"margin-bottom: 0cm;\">c. And type Name and Location.<\/p>\n<p style=\"margin-bottom: 0cm;\">Name: Maven2Plugin<\/p>\n<p style=\"margin-bottom: 0cm;\">Location: <span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\"><a href=\"http:\/\/download.eclipse.org\/technology\/m2e\/releases\" rel=\"nofollow noopener\">http:\/\/download.eclipse.org\/technology\/m2e\/releases<\/a><\/span><\/span><\/p>\n<p style=\"margin-bottom: 0cm;\">d. Then click on OK button.<\/p>\n<ol start=\"5\">\n<li><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12.png\"><noscript><img decoding=\"async\" alt src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png\" style=\" width:100%;\"><\/noscript><img decoding=\"async\" alt src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" style=\" width:100%;\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png\" class=\" lazyload\"><\/a><\/li>\n<\/ol>\n<p style=\"margin-bottom: 0cm;\">e. After that plug-in is ready to install in eclipse. Select \u2018Maven Integration for Eclipse\u2019 and click on Next, after that click on Finish button. It takes hardly 5 min to install plug-in in to eclipse.<\/p>\n<p><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image2.png\"><noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1946\" alt src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image2-1024x819.png\" width=\"781\" height=\"575\"><\/noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1946 lazyload\" alt src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20781%20575%22%3E%3C%2Fsvg%3E\" width=\"781\" height=\"575\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image2-1024x819.png\"><\/a><\/p>\n<ol start=\"3\">\n<li>\n<p lang=\"en\" style=\"margin-bottom: 0cm;\"><span style=\"color: #17365d;\"><span style=\"font-size: medium;\"><strong>Structure of Maven Project:<\/strong><\/span><\/span><\/p>\n<\/li>\n<\/ol>\n<p lang=\"en\" style=\"margin-left: 1.27cm; margin-bottom: 0cm;\"><span style=\"color: #000000;\">First Create new maven project using eclipse.<\/span><\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\">Select File Menu&gt;&gt;New&gt;&gt;Project&#8230;<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-left: 1.27cm; text-indent: 0.64cm; margin-bottom: 0cm;\">\u2018Project Window\u2019 will open then<\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\">Select Maven Project and click on next button<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-left: 1.27cm; text-indent: 0.64cm; margin-bottom: 0cm;\">\u2018Maven Project window\u2019 will open come.<\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\">Check Create Simple Project<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\">Click on next button<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-left: 1.27cm; text-indent: 0.64cm; margin-bottom: 0cm;\">Configure \u2018Project window\u2019 come.<\/p>\n<p>Type GroupId(Its a unique name among all the projects).<\/p>\n<p>Type ArtifactId(Its name of the packaging without version).<\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\">Click on Finish Button.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p lang=\"en\" style=\"margin-bottom: 0cm;\"><span style=\"color: #000000;\">Below you will see the project structure and some create project related screen:<\/span><\/p>\n<\/li>\n<\/ul>\n<p><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image3.png\"><noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1960\" alt src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image3-1024x819.png\" width=\"660\" height=\"503\"><\/noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1960 lazyload\" alt src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20660%20503%22%3E%3C%2Fsvg%3E\" width=\"660\" height=\"503\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image3-1024x819.png\"><\/a><\/p>\n<p><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image4.png\"><noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1961\" alt src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image4-1024x819.png\" width=\"705\" height=\"466\"><\/noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1961 lazyload\" alt src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20705%20466%22%3E%3C%2Fsvg%3E\" width=\"705\" height=\"466\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image4-1024x819.png\"><\/a><\/p>\n<p><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image5.png\"><noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1962\" alt src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image5-1024x819.png\" width=\"717\" height=\"455\"><\/noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1962 lazyload\" alt src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20717%20455%22%3E%3C%2Fsvg%3E\" width=\"717\" height=\"455\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image5-1024x819.png\"><\/a><\/p>\n<p style=\"margin-bottom: 0cm;\"><strong>Maven directory structure:<\/strong><\/p>\n<table dir=\"LTR\" style=\"width:585px; border:1px solid #ccc;border-collapse: separate;border-spacing:7px;\">\n<colgroup>\n<col style=\"width:124px;\">\n<col style=\"width:456px;\"><\/colgroup>\n<tbody>\n<tr>\n<td style=\"width:124px;border: 1px solid #ccc;\">\n<p style=\"vertically-align:center;\"><strong>Directory name<\/strong><\/p>\n<\/td>\n<td style=\"width:456px;border: 1px solid #ccc;\">\n<p style=\"vertically-align:center;\"><strong>Purpose<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:124px;border: 1px solid #ccc;\">project home<\/td>\n<td style=\"width:456px;border: 1px solid #ccc;\">Contains the pom.xml and all subdirectories.<\/td>\n<\/tr>\n<tr>\n<td style=\"width:124px;border: 1px solid #ccc;\">src\/main\/java<\/td>\n<td style=\"width:456px;border: 1px solid #ccc;\">Contains the deliverable Java source code for the project.<\/td>\n<\/tr>\n<tr>\n<td style=\"width:124px;border: 1px solid #ccc;\">src\/main\/resources<\/td>\n<td style=\"width:456px;border: 1px solid #ccc;\">Contains the deliverable resources for the project, such as property files.<\/td>\n<\/tr>\n<tr>\n<td style=\"width:124px;border: 1px solid #ccc;\">src\/test\/java<\/td>\n<td style=\"width:456px;border: 1px solid #ccc;\">Contains the testing classes (JUnit or TestNG test cases, for example) for the project.<\/td>\n<\/tr>\n<tr>\n<td style=\"width:124px;border: 1px solid #ccc;\">src\/test\/resources<\/td>\n<td style=\"width:456px;border: 1px solid #ccc;\">Contains resources necessary for testing.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>Just open pom.xml file and paste the code given below, and save the file. Now Maven will download the 1.3.10 version of the struts-core jar file from maven server repository to local repository (in to your machine) and it will add the jar to the build path of our project. This way you can add other jar files required by your project.<\/li>\n<\/ul>\n<p style=\"margin-bottom: 0cm;\"><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image6.png\"><noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1963\" alt src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image6-1024x819.png\" width=\"718\" height=\"590\"><\/noscript><img decoding=\"async\" class=\"aligncenter size-large wp-image-1963 lazyload\" alt src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20718%20590%22%3E%3C%2Fsvg%3E\" width=\"718\" height=\"590\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image6-1024x819.png\"><\/a><\/p>\n[xml]\n&amp;lt;dependencies&amp;gt;<br>\n   &amp;lt;dependency&amp;gt;<br>\n      &amp;lt;groupId&amp;gt;org.apache.struts&amp;lt;\/groupId&amp;gt;<br>\n\t  &amp;lt;artifactId&amp;gt;struts-core&amp;lt;\/artifactId&amp;gt;<br>\n      &amp;lt;version&amp;gt;1.3.10&amp;lt;\/version&amp;gt;<br>\n    &amp;lt;\/dependency&amp;gt;<br>\n&amp;lt;\/dependencies&amp;gt;\n[\/xml]\n<p style=\"margin-bottom: 0cm;\">References:<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\"><a href=\"http:\/\/en.wikipedia.org\/wiki\/Apache_Maven\" rel=\"nofollow noopener\">http:\/\/en.wikipedia.org\/wiki\/Apache_Maven<\/a><\/span><\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\"><a href=\"http:\/\/maven.apache.org\/\" rel=\"nofollow noopener\">http:\/\/maven.apache.org\/<\/a><\/span><\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\"><a href=\"http:\/\/www.mkyong.com\/tutorials\/maven-tutorials\/\" rel=\"nofollow noopener\">http:\/\/www.mkyong.com\/tutorials\/maven-tutorials\/<\/a><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maven is Yiddish word, meaning is accumulator of knowledge. Basically It\u2019s tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project. Maven downloads the project dependencies automatically, there by freeing you from manually scouting for required versions of different libraries being used by [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[182],"tags":[240,239,241],"class_list":["post-1931","post","type-post","status-publish","format-standard","hentry","category-web-programming","tag-add-maven-plug-in-into-eclipse","tag-install-apache-maven-2-0-on-ubuntu-os","tag-structure-maven-project"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Getting started with Maven 2 using Eclipse - Mobisoft Infotech<\/title>\n<meta name=\"description\" content=\"Maven is a tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting started with Maven 2 using Eclipse - Mobisoft Infotech\" \/>\n<meta property=\"og:description\" content=\"Maven is a tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-24T10:08:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-27T07:20:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png\" \/>\n<meta name=\"author\" content=\"vinayak.padekar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"vinayak.padekar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse\"},\"author\":{\"name\":\"vinayak.padekar\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/2575c6575541da5a4f40fcf447225bdf\"},\"headline\":\"Getting started with Maven 2 using Eclipse\",\"datePublished\":\"2012-09-24T10:08:27+00:00\",\"dateModified\":\"2024-11-27T07:20:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse\"},\"wordCount\":715,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage\"},\"thumbnailUrl\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png\",\"keywords\":[\"add maven plug-in into eclipse\",\"install Apache Maven 2.0 on Ubuntu OS\",\"structure Maven Project.\"],\"articleSection\":[\"Web Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse\",\"name\":\"Getting started with Maven 2 using Eclipse - Mobisoft Infotech\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage\"},\"thumbnailUrl\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png\",\"datePublished\":\"2012-09-24T10:08:27+00:00\",\"dateModified\":\"2024-11-27T07:20:39+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/2575c6575541da5a4f40fcf447225bdf\"},\"description\":\"Maven is a tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage\",\"url\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png\",\"contentUrl\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting started with Maven 2 using Eclipse\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/2575c6575541da5a4f40fcf447225bdf\",\"name\":\"vinayak.padekar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0ef2fb43da73ee12b113bc7606537e5f9922e72d5b490d824bba58798c4a4746?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0ef2fb43da73ee12b113bc7606537e5f9922e72d5b490d824bba58798c4a4746?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0ef2fb43da73ee12b113bc7606537e5f9922e72d5b490d824bba58798c4a4746?s=96&r=g\",\"caption\":\"vinayak.padekar\"},\"sameAs\":[\"http:\/\/www.mobisoftinfotech.com\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting started with Maven 2 using Eclipse - Mobisoft Infotech","description":"Maven is a tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse","og_locale":"en_US","og_type":"article","og_title":"Getting started with Maven 2 using Eclipse - Mobisoft Infotech","og_description":"Maven is a tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse","og_site_name":"Mobisoft Infotech","article_published_time":"2012-09-24T10:08:27+00:00","article_modified_time":"2024-11-27T07:20:39+00:00","og_image":[{"url":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png","type":"","width":"","height":""}],"author":"vinayak.padekar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"vinayak.padekar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse"},"author":{"name":"vinayak.padekar","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/2575c6575541da5a4f40fcf447225bdf"},"headline":"Getting started with Maven 2 using Eclipse","datePublished":"2012-09-24T10:08:27+00:00","dateModified":"2024-11-27T07:20:39+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse"},"wordCount":715,"commentCount":0,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage"},"thumbnailUrl":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png","keywords":["add maven plug-in into eclipse","install Apache Maven 2.0 on Ubuntu OS","structure Maven Project."],"articleSection":["Web Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse","url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse","name":"Getting started with Maven 2 using Eclipse - Mobisoft Infotech","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage"},"thumbnailUrl":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png","datePublished":"2012-09-24T10:08:27+00:00","dateModified":"2024-11-27T07:20:39+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/2575c6575541da5a4f40fcf447225bdf"},"description":"Maven is a tool for managing software project. Its uses Project Object Model (POM) XML file, which is used to build and deploy the project.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#primaryimage","url":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png","contentUrl":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/09\/image12-1024x819.png"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/getting-started-with-maven-2-using-eclipse#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Getting started with Maven 2 using Eclipse"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/2575c6575541da5a4f40fcf447225bdf","name":"vinayak.padekar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0ef2fb43da73ee12b113bc7606537e5f9922e72d5b490d824bba58798c4a4746?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0ef2fb43da73ee12b113bc7606537e5f9922e72d5b490d824bba58798c4a4746?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0ef2fb43da73ee12b113bc7606537e5f9922e72d5b490d824bba58798c4a4746?s=96&r=g","caption":"vinayak.padekar"},"sameAs":["http:\/\/www.mobisoftinfotech.com\/"]}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/1931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=1931"}],"version-history":[{"count":60,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/1931\/revisions"}],"predecessor-version":[{"id":32646,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/1931\/revisions\/32646"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=1931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=1931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=1931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}