{"id":20967,"date":"2014-01-24T16:00:20","date_gmt":"2014-01-24T14:00:20","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=20967"},"modified":"2014-01-24T11:10:22","modified_gmt":"2014-01-24T09:10:22","slug":"using-an-embedded-tomcat-with-maven-tomcat-plugin","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html","title":{"rendered":"Using an Embedded Tomcat with Maven tomcat plugin"},"content":{"rendered":"<p>When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the application.<\/p>\n<p>If you are using Maven on your project, you can use the tomcat plugin to run an embedded tomcat installation and test the application. It is very simple as you can see below.<\/p>\n<p>OBS: To execute the steps given in this post you need to have installed in your eclipse the m2e plugin.<br \/>\n&nbsp;<br \/>\n&nbsp;<\/p>\n<ol>\n<li>Create an Maven Project in eclipse, select the following maven archetype: maven-archetype-webapp<\/li>\n<li>Insert the groupid and artifactid information<\/li>\n<\/ol>\n<p>When you create a web project using this archetype, it already adds an index.jsp file.<\/p>\n<p>Now we need to add the plugin information in the pom.xml as we can see below. In this example we are using the plugin for tomcat 7.x:<\/p>\n<pre class=\" brush:xml\">&lt;project xmlns=\"http:\/\/maven.apache.org\/POM\/4.0.0\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/maven-v4_0_0.xsd\"&gt;\r\n  &lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n  &lt;groupId&gt;br.com.xicojunior&lt;\/groupId&gt;\r\n  &lt;artifactId&gt;test&lt;\/artifactId&gt;\r\n  &lt;packaging&gt;war&lt;\/packaging&gt;\r\n  &lt;version&gt;0.0.1-SNAPSHOT&lt;\/version&gt;\r\n  &lt;name&gt;teste Maven Webapp&lt;\/name&gt;\r\n  &lt;url&gt;http:\/\/maven.apache.org&lt;\/url&gt;\r\n  &lt;dependencies&gt;\r\n    &lt;dependency&gt;\r\n      &lt;groupId&gt;junit&lt;\/groupId&gt;\r\n      &lt;artifactId&gt;junit&lt;\/artifactId&gt;\r\n      &lt;version&gt;3.8.1&lt;\/version&gt;\r\n      &lt;scope&gt;test&lt;\/scope&gt;\r\n    &lt;\/dependency&gt;\r\n  &lt;\/dependencies&gt;\r\n  &lt;build&gt;\r\n    &lt;finalName&gt;test&lt;\/finalName&gt;\r\n    &lt;plugins&gt;\r\n\t        &lt;plugin&gt;\r\n\t          &lt;groupId&gt;org.apache.tomcat.maven&lt;\/groupId&gt;\r\n\t          &lt;artifactId&gt;tomcat7-maven-plugin&lt;\/artifactId&gt;\r\n\t          &lt;version&gt;2.2&lt;\/version&gt;\r\n\t        &lt;\/plugin&gt;\r\n\t&lt;\/plugins&gt;\r\n  &lt;\/build&gt;\r\n&lt;\/project&gt;<\/pre>\n<p>The only change we made in the file was to add the section to add the tomcat 7 plugin.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>After adding the plugin information, we can test it using the following maven goals: <\/p>\n<pre class=\"brush:bash\">clean install tomcat7:run<\/pre>\n<p>To execute those goals in eclipse:<\/p>\n<ol>\n<li>Right Click in the project<\/li>\n<li>Run as\u2026 -&gt; Maven build\u2026<\/li>\n<li>Add the goals in the goals field<\/li>\n<li>Click Run<\/li>\n<\/ol>\n<p>Expect to see the following in the console:<\/p>\n<pre class=\" brush:java\">[INFO] Running war on http:\/\/localhost:8080\/test\r\n[INFO] Creating Tomcat server configuration at C:\\workspace\\pessoal\\redis\\teste\\target\\tomcat\r\n[INFO] create webapp with contextPath: \/test\r\n18\/01\/2014 17:43:53 org.apache.coyote.AbstractProtocol init\r\nINFO: Initializing ProtocolHandler [\"http-bio-8080\"]\r\n18\/01\/2014 17:43:53 org.apache.catalina.core.StandardService startInternal\r\nINFO: Starting service Tomcat\r\n18\/01\/2014 17:43:53 org.apache.catalina.core.StandardEngine startInternal\r\nINFO: Starting Servlet Engine: Apache Tomcat\/7.0.47\r\n18\/01\/2014 17:43:54 org.apache.tomcat.websocket.server.WsSci onStartup\r\nINFO: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME\/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE\/conf\/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available. \r\n18\/01\/2014 17:43:54 org.apache.coyote.AbstractProtocol start\r\nINFO: Starting ProtocolHandler [\"http-bio-8080\"]<\/pre>\n<p>Then we just need to test the given url in a browser, in my case: <a href=\"http:\/\/localhost:8080\/test\" rel=\"nofollow\">http:\/\/localhost:8080\/test<\/a><\/p>\n<ul>\n<li>You can find more information and options in the plugin <a href=\"http:\/\/tomcat.apache.org\/maven-plugin-2.2\/\" target=\"_blank\">page<\/a>.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div style=\"border: 1px solid #D8D8D8; background: #FAFAFA; width: 100%; padding-left: 5px;\"><b><i>Reference: <\/i><\/b><a href=\"http:\/\/xicojunior.wordpress.com\/2014\/01\/20\/using-an-embedded-tomcat-with-maven-tomcat-plugin\/\">Using an Embedded Tomcat with Maven tomcat plugin<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/jcg\">JCG partner<\/a> Francisco Ribeiro Junior at the <a href=\"http:\/\/xicojunior.wordpress.com\/\">XICO JUNIOR&#8217;S WEBLOG<\/a> blog.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the application. If you are using Maven on your project, you can use the tomcat plugin to run an embedded tomcat installation and test the application. It is very simple &hellip;<\/p>\n","protected":false},"author":504,"featured_media":73,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[68,32],"class_list":["post-20967","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-apache-maven","tag-apache-tomcat"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using an Embedded Tomcat with Maven tomcat plugin<\/title>\n<meta name=\"description\" content=\"When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using an Embedded Tomcat with Maven tomcat plugin\" \/>\n<meta property=\"og:description\" content=\"When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-24T14:00:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Francisco Ribeiro Junior\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/fjunior87\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Francisco Ribeiro Junior\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html\"},\"author\":{\"name\":\"Francisco Ribeiro Junior\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/4bfab535e166a1d3c2dc3f199731682c\"},\"headline\":\"Using an Embedded Tomcat with Maven tomcat plugin\",\"datePublished\":\"2014-01-24T14:00:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html\"},\"wordCount\":272,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"keywords\":[\"Apache Maven\",\"Apache Tomcat\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html\",\"name\":\"Using an Embedded Tomcat with Maven tomcat plugin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"datePublished\":\"2014-01-24T14:00:20+00:00\",\"description\":\"When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/01\\\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Using an Embedded Tomcat with Maven tomcat plugin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/4bfab535e166a1d3c2dc3f199731682c\",\"name\":\"Francisco Ribeiro Junior\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/125ace9741774794eb230010f4a4419f2eb9bbee3b33c041e0c7f445e9663bfc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/125ace9741774794eb230010f4a4419f2eb9bbee3b33c041e0c7f445e9663bfc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/125ace9741774794eb230010f4a4419f2eb9bbee3b33c041e0c7f445e9663bfc?s=96&d=mm&r=g\",\"caption\":\"Francisco Ribeiro Junior\"},\"description\":\"Francisco is a senior software engineer working in the telecom\\\/banking domain focused on Web Content Management. He has been technical lead on many projects for different Brazilian and worldwide clients.\",\"sameAs\":[\"http:\\\/\\\/xicojunior.wordpress.com\\\/\",\"http:\\\/\\\/br.linkedin.com\\\/in\\\/fribeiro\\\/\",\"https:\\\/\\\/x.com\\\/http:\\\/\\\/twitter.com\\\/fjunior87\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/francisco-ribeiro-junior\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using an Embedded Tomcat with Maven tomcat plugin","description":"When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the","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:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html","og_locale":"en_US","og_type":"article","og_title":"Using an Embedded Tomcat with Maven tomcat plugin","og_description":"When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the","og_url":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2014-01-24T14:00:20+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","type":"image\/jpeg"}],"author":"Francisco Ribeiro Junior","twitter_card":"summary_large_image","twitter_creator":"@http:\/\/twitter.com\/fjunior87","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Francisco Ribeiro Junior","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html"},"author":{"name":"Francisco Ribeiro Junior","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/4bfab535e166a1d3c2dc3f199731682c"},"headline":"Using an Embedded Tomcat with Maven tomcat plugin","datePublished":"2014-01-24T14:00:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html"},"wordCount":272,"commentCount":1,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","keywords":["Apache Maven","Apache Tomcat"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html","url":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html","name":"Using an Embedded Tomcat with Maven tomcat plugin","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","datePublished":"2014-01-24T14:00:20+00:00","description":"When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2014\/01\/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Using an Embedded Tomcat with Maven tomcat plugin"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/4bfab535e166a1d3c2dc3f199731682c","name":"Francisco Ribeiro Junior","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/125ace9741774794eb230010f4a4419f2eb9bbee3b33c041e0c7f445e9663bfc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/125ace9741774794eb230010f4a4419f2eb9bbee3b33c041e0c7f445e9663bfc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/125ace9741774794eb230010f4a4419f2eb9bbee3b33c041e0c7f445e9663bfc?s=96&d=mm&r=g","caption":"Francisco Ribeiro Junior"},"description":"Francisco is a senior software engineer working in the telecom\/banking domain focused on Web Content Management. He has been technical lead on many projects for different Brazilian and worldwide clients.","sameAs":["http:\/\/xicojunior.wordpress.com\/","http:\/\/br.linkedin.com\/in\/fribeiro\/","https:\/\/x.com\/http:\/\/twitter.com\/fjunior87"],"url":"https:\/\/www.javacodegeeks.com\/author\/francisco-ribeiro-junior"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/20967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/504"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=20967"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/20967\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/73"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=20967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=20967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=20967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}