Hello Friends .Hope you all are fine .today i am going to demonstrate you how we can develop Maven Based Application .Apache Maven can be used as a build tool which can add dependancy when project is created.the heart of Maven based Application.
You can download Apache Maven from its Official Site us Maven Installation
This is how you can set your claspath
You have to download apache maven from official site of maven as well as you need to set classpath to make maven work,i am posting steps as given below
Project Structure will look like given below :
1)You need to Create Project on Command Line by Invoking Following Command :
mvn archetype:generate -DgroupId=Package_Name -DartifactId=ProjectName -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
2)Convert it into Maven project:
mvn eclipse:eclipse
3)Import Project Into Eclipse
4) Run the Application
here it is Hello World is Ready .Output will look like given below
Thanks For Reading This Article
You can download Apache Maven from its Official Site us Maven Installation
This is how you can set your claspath
You have to download apache maven from official site of maven as well as you need to set classpath to make maven work,i am posting steps as given below
Project Structure will look like given below :
1)You need to Create Project on Command Line by Invoking Following Command :
mvn archetype:generate -DgroupId=Package_Name -DartifactId=ProjectName -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
2)Convert it into Maven project:
mvn eclipse:eclipse
3)Import Project Into Eclipse
4) Run the Application
here it is Hello World is Ready .Output will look like given below
Thanks For Reading This Article