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

Fixes #3080 - Do not create and use jars with "tests" classifier. #5729

Merged
merged 3 commits into from
Nov 26, 2020

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Nov 25, 2020

Removed the jetty-server and jetty-servlet test-jar artifacts.
The only one left is the jetty-maven-plugin test-jar.

Signed-off-by: Simone Bordet simone.bordet@gmail.com

Removed the jetty-server and jetty-servlet test-jar artifacts.
The only one left is the jetty-maven-plugin test-jar.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet requested a review from gregw November 25, 2020 18:19
@sbordet sbordet linked an issue Nov 25, 2020 that may be closed by this pull request
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

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

ServletTester is used by many projects, and several open source projects.
We cannot get rid of it.

Move it to another location, don't delete it.

Reinstated ServletTester in src/main/java for backwards compatibility.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@@ -39,6 +40,51 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* <p>ServletTester should not be used.</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps say:

Suggested change
* <p>ServletTester should not be used.</p>
* <p>ServletTester is not best practise and may be deprecated in future releases.</p>

Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

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

other than slightly better wording. LGTM

Updates after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet merged commit ac3d492 into jetty-10.0.x Nov 26, 2020
@sbordet sbordet deleted the jetty-10.0.x-3080-no_classifier_tests branch November 26, 2020 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not create and use jars with "tests" classifier
3 participants