Working with Tomcat7 Maven Plugin

In this article we are going to create a simple web application with the help of maven-archetype-webapp and will learn how to “Working with Tomcat7 Maven Plugin”. I hope you have read my previous article on how to integrate maven plugin with eclipse IDE and also how to create a standalone project with maven. The motto behind this article is just to demonstrate a maven based web-application. After creating the web application, you can deploy the same on any web server that you might have configured in eclipse or outside eclipse. While developing web applications, we frequently need to test Read More …

Share Knowledge

Creating maven project in Eclipse

In this article we are going to learn how to “Creating maven project in Eclipse” IDE. If you have not installed maven plugin in eclipse, then first of all install it. Follow this article in order to install maven plugin “M2E Settings 2.0.4” in eclipse IDE. Before creating project, we should know what archetype is? What is maven archetype? It is a maven project templating toolkit that helps users to create different types of maven project having maven supplied facilities and user supplied inputs. Nearly 1500+ archetypes are supplied by Maven to create different types of project. The popular archetypes Read More …

Share Knowledge

How to install maven in eclipse

How to install maven in eclipse? Eclipse IDE is famous to create all types of java project. Since eclipse is modular in nature, you will find number of plugins in its marketplace that can be installed and uninstalled as you desire. Today we are going to install maven plugin in eclipse. “M2E Settings 2.0.4” is the plugin that we are going to install. This will take hardly 5 minutes to 10 minutes if you have good internet connection. “M2E Settings 2.0.4” plugin can be installed from eclipse marketplace. Let’s learn “How to install maven in eclipse” Note: If you are Read More …

Share Knowledge

Configuring Proxy In Maven (Part-4)

Configuring proxy in maven (to execute maven behind a corporate network) There will be frequent need to download dependencies (if not already available in local repository) for your project. If you are working in corporate sector, there is a chance that your company has set up a firewall and a HTTP proxy server so that every request you make should go through the proxy. In this case if you specify any dependency in your project’s pom.xml, you may get connection related issue as repository metadata for: ‘org.apache.maven.plugins’ could not be retrieved from repository: central due to an error: Error transferring Read More …

Share Knowledge

Repository Utilization In Maven (Part-3)

Dependency management is out-of-box feature provided by maven and it do so with the help of repository as I have explained in my previous article. We must be excited that how maven make the use of such repository for managing large number of open-source dependencies and how it all works?? In this article, we will learn how maven locates and resolves the dependencies defined in pom (project object model) and also how these dependencies are made available for utilization in specific project through its different repositories. What is pom?? Let us start by knowing what is pom and what are Read More …

Share Knowledge