Have a user-friendly way of (de)activating Jetty modules
My Plugin Configuration is below:
My start.ini is:
My Servlet is:
But even after enabling annotations module by copying start.int in configuration my TestServlet is not working.
It is part of https://codehaus-cargo.github.io/cargo/Jetty+10.x.html (look for the JettyPropertySet.MODULES marker), please be aware that this feature will only come when Codehaus Cargo 1.9.3 is released.
Any example of listing modules to enable in maven plugin
Thanks for the feedback, I meanwhile added annotations to the default modules.
Having an easy way to select which modules to have is indeed a good idea - Unfortunately nontrivial since the way modules are enabled in Jetty 7.x to 9.0.x, and them from 9.1.x onwards is different, also the default modules differ between Jetty 9.1.x to 9.3.x and between 9.4.x.
Of course, contributions are welcome
I haven’t got chance to try 1.9.3-SNAPSHOT version. I will try asap and update u.