-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using jetty properties with the Jetty Maven Plugin #12230
Comments
@lachlan-roberts make sure you're using an up to date HEAD. There have been some changes in the ordering of properties on the jetty start line (since environments were introduced) that means that a property has to be defined before the module that uses it. I've only recently discovered and fixed this for the jetty maven plugin - we were following the start command line doco which said that properties should be at the end of the command (btw it needs updating - think I already raised an issue for @gregw for that). So So in short, I think this is a documentation problem, so I'll change the label on this issue. |
Actually, just to clarify, the problem is with the help text generated by
Then describes setting jetty properties in the |
@janbartel yes I just checked and on
Not sure what you mean by this. The
And adding the system property here works just not the jetty property. |
fixed with #12183 |
As @olamy said, I did it in #12183.
Yes but if you see the command line syntax,
|
Is this a Jetty Maven Plugin specific thing? Because I can do this on command line and it works fine.
|
That won't work if you enable any of the This is what happens if you enable an
|
Yep okay, that makes sense. So since the bugs are already fixed with 12.0.13. |
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
…lugin Issue #12230 - clarification in docs for jetty-maven-plugin
Jetty version(s)
12.0.x
The Jetty 12 documentation lists several different methods to configure Jetty properties for the Jetty Maven Plugin.
However I cannot get these to work, I can only get the
systemProperties
option to work.I am using
mvn jetty:run
with adeployMode
ofEXTERNAL
.jettyOptions Configuration
The
"In a jetty distribution"
section lists thejettyOptions
configuration parameter. Which is described as a"A space separated string representing extra arguments to the synthesized Jetty command line"
.I have tried this and it does not work.
jettyProperties Configuration
The common configuration section lists the
jettyProperties
configuration described as"a map of property name, value pairs. Allows you to configure standard jetty properties"
.systemProperties Configuration
I managed to get the dump working with system properties. Like this
However the documentation for this is lacking as it doesn't specify whether this is a space separated string or a map (it is a map).
The text was updated successfully, but these errors were encountered: