-
Notifications
You must be signed in to change notification settings - Fork 60
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
Substitute <arg> with <buildArg> in Maven plugin doc. #551
Conversation
@@ -133,7 +133,7 @@ Build Configuration]. It is also possible to customize the plugin within a | |||
[source,xml] | |||
---- | |||
<buildArgs> | |||
<arg>--argument</arg> | |||
<buildArg>--argument</buildArg> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did it change too for specifying JVM arguments?
Currently we have:
<jvmArgs>
<arg>argument1</arg>
<arg>argument2</arg>
</jvmArgs>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it ever changed, maybe it's Maven accepting both? @alvarosanchez wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, for tags mapped as collections (like buildArgs
), the inner tags can use any name. The convention is to use the singular form of the plural tag name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you both!
@@ -133,7 +133,7 @@ Build Configuration]. It is also possible to customize the plugin within a | |||
[source,xml] | |||
---- | |||
<buildArgs> | |||
<arg>--argument</arg> | |||
<buildArg>--argument</buildArg> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, for tags mapped as collections (like buildArgs
), the inner tags can use any name. The convention is to use the singular form of the plural tag name.
Followup of https://corparch-core-srv.slack.com/archives/C77KND1RN/p1702494052179109