I run the target: tomcat:deploy . There are no errors, but it does not deploy my project to tomcat. I noticed this message:
[INFO] Skipping non-war project
What defines the βwarβ of my project? How to make an Eclipse project a military project?
Here is my plugin parameter:
<plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.1</version> </plugin>
I have a structure like this:
src > main > java src > main > webapp > WEB-INF > web.xml
This works with maven:war plugin . I can build a war with this structure.
My goal is to end part of building a war and be able to deploy my project on tomcat with a single maven command.
source share