-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add org.apache.felix:org.apache.felix.http.servlet-api:1.2.0 #239
Conversation
57faafb
to
03fb4cf
Compare
03fb4cf
to
ea694ed
Compare
This is currently blocked by eclipse-equinox/p2#64. Furthermore we should sort out which servlet-api bundles we want to use. |
For my better understanding, what would be the use case to be solved here by It may be appealing to have such a bundle that provides the API in both namespaces, but in the end someone has to make the decision which namespace to use, and here I typically prefer a dedicated decision for exactly one, i.e. something like |
The main reason to choose
@tjwatson can you tell if that was made available in other bundles in the meantime as well? |
We should not use the 2.x versions of |
ea694ed
to
22dc5d7
Compare
Makes sense. Btw. the felix-servlet does not include the javax.servlet.http.NoBodyOutputStream/NoBodyResponse compared to the jakarata-servlet 4.0.4. In general couldn't we ask the Jakarta maintainers to adjust the Manifest and also include the contracts? |
22dc5d7
to
53ab375
Compare
/request-license-review |
License review requests:
After all reviews have concluded, re-run the license-vetting check from the Github Actions web-interface to update its status. Workflow run (with attached summary files): |
This sounds like best path forward. |
@rotty3000 Didn't you attempt to do something like this in the past with the Jakarta specification artifacts? |
Wasn't it also one reason to use the felix-sevlet-api bundles that it exports the servlet packages in multiple versions? Tom you explained that a while ago already in eclipse-equinox/equinox.framework#44 (comment). When comparing the Manifests
and for
So if we adjust the jakarta artifact to include the contracts, should we do that as well? |
53ab375
to
ffbaa0f
Compare
But the good news is that the build succeeds, so eclipse-equinox/p2#64 worked. :) |
ffbaa0f
to
2c1dec9
Compare
/request-license-review |
License review requests: After all reviews have concluded, re-run the license-vetting check from the Github Actions web-interface to update its status. Workflow run (with attached summary files): |
IIRC in order to migrate from the |
2c1dec9
to
a0963ae
Compare
@tjwatson, @akurtakov how should we proceed here? |
a0963ae
to
c875348
Compare
What is the status of this one? Overall I prioritize using artifacts from groupIds of the actual developers not "repackaging". |
I'm about to abandon this one unless someone says this is still relevant and being worked on in the next week. |
The reason to use the one repacked by Felix is
It was suggested to add the missing metadata to the original artifact, but there was no response yet why this was not yet done or should be re-attempted.
In general I would like to complete this so we can deprecate and eventually remove o.e.osgi.serivces completely. |
c875348
to
2e887ee
Compare
I would not anticipate Jakarta releasing another version of This is a sort of hack, but to use the existing |
Yes, there probably won't be much enthusiasms about such proposal. :/
Yes I thought about that as well. Sounds like a possible solution. I also wonder how long will Equinox will have to support javax.servlet? |
That is a complicate question.
These are not things we can easily do. And that is just from a deprecation breaking POV. I've not mentioned the actual work of changing our own codebase to use jakarta and who will be dedicated to doing that work. |
With eclipse-equinox/equinox#403 this now seems obsolete. |
2e887ee
to
c1fb03e
Compare
@@ -216,12 +216,18 @@ | |||
<version>3.0.3</version> | |||
<type>jar</type> | |||
</dependency> | |||
<dependency> | |||
<dependency><!-- Duplicated by org.apache.felix.http.servlet-api below --> |
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.
Should we simply delete this then?
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, I had the same idea, since jakarta/javax.servlet-api
is not contained in the eclipse-sdk update-site (altough jakarta.servlet-api_4.0.0
is in the SimRel repo) this should not cause problems.
I just wanted to rebase this PR first and resolve the conflicts as it is, which took 2 minutes longer. 😄
c1fb03e
to
8c1bd5b
Compare
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.
Looks like a good way forward!
cbe7e9f
to
dbb514c
Compare
dbb514c
to
664276b
Compare
from Maven-Central and remove jakarta.servlet-api and jetty-servlet-api in favor of that. Prerequisite of eclipse-equinox/equinox#403 and therefore part of eclipse-equinox/equinox#18
664276b
to
a281ccd
Compare
I assume this will already solve the maven / ide warnings we see and thing should be merged as a first step, if we later decide to not need it anymore it can be removed / replaced again. |
@HannesWell I now created one here that only adds the dependency to the target and leave everything else unchanged: |
This is required for eclipse-equinox/equinox.framework#44