-
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
simplify pom by using simple property rather than xml fragment #7580
Conversation
@@ -10,6 +10,11 @@ | |||
<artifactId>http3-tests</artifactId> | |||
<name>Jetty :: HTTP3 :: Tests</name> | |||
|
|||
<properties> |
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.
@sbordet I assume we should not deploy those tests as part of the release and was a mistake? or I am wrong?
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.
This module will only produce a test jar (no sources), so it won't be deployed anyway, right?
Ah, I see it deployed an empty jar 😒
So yes let's skip deploy for this module.
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.
after digging a bit the jar is not empty as it included some content we put in target/classes
as part of the build such: generated MANIFEST.MF, LICENSE and NOTICE.txt
<configuration> | ||
<!-- must not deploy --> | ||
<skip>false</skip> | ||
</configuration> |
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 have to say I was confused here and not sure what to believe the comment or the code. :)
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 think it should be the same as the other osgi test projects ;)
@@ -10,6 +10,11 @@ | |||
<artifactId>http3-tests</artifactId> | |||
<name>Jetty :: HTTP3 :: Tests</name> | |||
|
|||
<properties> |
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.
This module will only produce a test jar (no sources), so it won't be deployed anyway, right?
Ah, I see it deployed an empty jar 😒
So yes let's skip deploy for this module.
<configuration> | ||
<!-- must not deploy --> | ||
<skip>false</skip> | ||
</configuration> |
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 think it should be the same as the other osgi test projects ;)
<artifactId>maven-deploy-plugin</artifactId> | ||
<configuration> | ||
<!-- No point deploying jmh project --> | ||
<skip>true</skip> |
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.
Needs the property defined? Or is that covered by the toplevel tests/pom.xml properties?
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.
correct. properties are inherited.
@olamy this one needs merge conflicts fixed |
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.
Changes themselves look ok, but this branch needs re-merging from jetty-10.0.x.
@olamy nudge, needs merge. |
@janbartel oh yes I definitely forgot this old PR. thanks for the ping :) |
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
1b703ae
to
f8dfdcd
Compare
Signed-off-by: Olivier Lamy [email protected]