Domanda

I'm new to maven and I'm trying to create a new multi-module jersey web service following this tutorial. So now my project is composed of 3 maven modules:

* Model module
* Core module
* web service module

now, since I'm new to maven projects I don't know how to compile these modules and run my web service. What commands should I use when I update one of those 3 modules?

È stato utile?

Soluzione

Usually one would run mvn clean install in the parent project and then mvn jetty:run from the web-service module (assuming you're using the Jetty plugin).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top