[Solved] repository element


I believe what you are trying to do is deploy the webapp to application server.
And to do this you are using the mvn ... deploy command.

The problem is mvn deploy is meant for deploying the output of your project (artifact) to maven repository. For example to share your classes with other co-workers.

If I’m correct you need some kind of mvn jetty:run or mvn tomcat:run command to do what you want.

3

solved repository element