I am creating a web project and I was told that it should be inside the resources directory of an existing maven project
Here is the project structure
MavenProject
|
| |
| `
| `
| |
| | `
| |
| | |
| | | |
| | | | `
| | | | `
| | | | `
| `
| |
| |
| |
| |
| |
| | `
| |
| `
|
`
As you can see, there is already a pom.xml file for MavenProject. I want to be able to deploy my WAR web project using the current pom.xml.
I want to know if this can be done and how I can start creating the Maven plugin.
I read this article, but I do not know if this applies to my situation
http://maven.apache.org/plugins/maven-war-plugin/usage.html
EDIT:
I am using tomcat application server.
As mentioned earlier, my project "My-Web-Project" must be under "resources"