Skip to content
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

Update jetty-maven-plugin.adoc #10810

Merged
merged 6 commits into from
Nov 7, 2023
Merged

Update jetty-maven-plugin.adoc #10810

merged 6 commits into from
Nov 7, 2023

Conversation

hantsy
Copy link
Contributor

@hantsy hantsy commented Oct 30, 2023

Update Jetty maven plugin for Jetty 12.

Update Jetty maven plugin for Jetty 12.
@hantsy
Copy link
Contributor Author

hantsy commented Oct 30, 2023

fix #10809

Copy link
Member

@olamy olamy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your PR.
But we might need something more generic as the users may use ee8 or ee9 version

@hantsy
Copy link
Contributor Author

hantsy commented Oct 31, 2023

@olamy The doc is updated, please check it.

olamy
olamy previously approved these changes Nov 1, 2023
Copy link
Member

@olamy olamy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks

@olamy olamy requested a review from janbartel November 1, 2023 01:59
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<groupId>org.eclipse.jetty.ee{8,9,10}</groupId>
<artifactId>jetty-ee{8,9,10}-maven-plugin</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand what you're trying to do here, but you won't believe how many people simply cut and paste from the documentation into their pom and then complain it doesn't work. So I think its fine to have {8,9,10} in the body of the text, but any example should refer to ee10 only. So this example (and all others) would be:

<groupId>org.eclipse.jetty.ee10</groupId>
<artifactId>jetty-ee10-maven-plugin</artifactId>

Copy link
Contributor Author

@hantsy hantsy Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are several ee{8,9,10}, we need replace all of them to ee10(as the initial version)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really, I'm not kidding when I say people just cut and paste from the documentation without reading properly or engaging their critical faculties :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's important to preface each example with your {8,9,10} comment, and say that the example shows how to do it for ee10.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

…g-guide/maven/jetty-maven-plugin.adoc

Co-authored-by: Jan Bartel <janb@webtide.com>
@olamy olamy merged commit 3fa3e8a into jetty:jetty-12.0.x Nov 7, 2023
4 checks passed
@olamy
Copy link
Member

olamy commented Nov 7, 2023

@hantsy Thanks for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants