Maven 3 Create Basic Web App Project on Ubuntu
You are Welcome! The Tutorial Shows You Step-by-Step How to Create a Standard Java Web Application Project by Maven 3 Command on Ubuntu GNU/Linux.
Inside the Guide is Included a Link for Installing and Getting-Started with Maven 3 for Ubuntu Linux.
Maven, a Yiddish word meaning “accumulator of knowledge”, was originally started as an attempt to Simplify the Build Processes in the Jakarta Turbine project.
Maven‘s primary Goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time.
- Making the build process easy
- Providing a uniform build system
- Providing quality project information
- Providing guidelines for best practices development
- Allowing transparent migration to new features
Open a Command Line Terminal Window
Ctrl+Alt+t on desktop
(Press “Enter” to Execute Commands)
How to Getting-Started with the Latest Apache Maven on Ubuntu:Maven Quick Start on Ubuntu
Maven 3 Command to Create a Simple Java Web App
mvn archetype:generate -DgroupId=[yourPackagingId] -DartifactId=[yourProjectName] -DarchetypeArtifactId=maven-archetype-webapp
mvn archetype:generate -DgroupId=com.tutorialforlinux -DartifactId=myWebApp -DarchetypeArtifactId=maven-archetype-webapp
This should then create a Maven Project Structure like:
| `– main
| `– java
| |– resources
| |– webapp
| | `– WEB-INF
| | `– web.xml
| `– index.jsp
How to Integrate a Maven Web App Project into Eclipse:Maven Eclipse Integration
How to Install the Latest Eclipse JEE IDE on Linux Ubuntu: SetUp Eclipse on Ubuntu