Have a user-friendly way of (de)activating Jetty modules

Description

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.

Activity

Show:
S. Ali Tokmen
March 10, 2021, 3:42 PM

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.

Ankur Pathak
March 10, 2021, 2:42 PM

Any example of listing modules to enable in maven plugin

S. Ali Tokmen
March 5, 2021, 6:09 PM
Edited

With CARGO-1555, support for specifying Jetty modules has been added for Jetty 10.x onwards

S. Ali Tokmen
March 2, 2021, 6:05 PM

Hi Ankur

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

Regards

Ankur Pathak
March 2, 2021, 5:47 PM

I haven’t got chance to try 1.9.3-SNAPSHOT version. I will try asap and update u.

Fixed

Assignee

S. Ali Tokmen

Reporter

Ankur Pathak

Components

Fix versions

Priority

Major