-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Broken taglib docs on reports.jenkins.io #3049
Comments
As discussed during the last infra-team meeting (2022-07-12) we are assigning this issue to @MarkEWaite to let him lead. The infra team is not able to diagnose and solve this issue as we have no idea how is the javadoc process working. What the infra-team knows (and can share):
=> I assume that the issue should be reproduced with the repository itself? I guess it might be a JDK8/11 related thing? |
Idk too much about taglib docs either, but if the job on ci.j doesn't publish anything and the actual work happens on trusted.ci, we could disable or remove the public job. |
The public job allows any contributor who want to try anything to be able to get a feedback: that is why we keep components like this one with a splitted pipeline CI (ci.jenkins.io)/CD (trusted.ci.jenkins.io). |
As of build 273 of the core-taglibs-report-generator, the following error appears in the log:
273 is the first build building 2.346, 272 has no error and built 2.332 fine. I assume something changed (possibly code and infra wise) between these two LTS releases? |
I would check for updates of maven-site-plugin or related plugins, that broke site generation before. |
That was already broken before my change, looks like something broke when we required Java 11. |
Can someone try apache/maven-reporting-api#13? It should restore binary compat for the 3.x line, but beware it will NOT work with the next major version of MSITE. |
Thank you for the quick response @michael-o. I tested your PR and verified that my issue is resolved. I reproduced the problem by building
Next, I rebuilt
|
The hotfix is appreciated, as that will restore the web page for Jenkins users immediately.
Thank you for the warning. I have started the following thread to track updating these Maven plugins for compatibility with future releases (CC @kohsuke): https://groups.google.com/g/jenkinsci-dev/c/cQSf2qP7jbc/m/VJHxxgJ8AQAJ |
I do not see how it could. |
VOTE complete. Release done. MSITE is onging. Will likely land on Wednesday on Central, then you just need to update it and done. |
Maven Site Plugin 3.12.1 is now on Maven Central. Enjoy your old reporting plugins as long as you can! |
Core has been upgraded to the new release of Maven Site plugin and I confirmed that things are working again now in a manual build. That gets us back to a working state in the short term. Let's keep this ticket open to track the long-term fix: releasing new versions of Maven Jellydoc Plugin and Maven Stapler Plugin that are compatible with Maven 4. I started the upgrade of the latter in jenkinsci/stapler-maven-plugin#13, but getting that to compile depends on the former, which is blocked on transferring the code from Kohsuke's GitHub organization to ours. I have pinged Kohsuke last week and I sent another ping today. |
@basil Please note that this is not Maven 4 related. This is a 10-year old technical debt we need to clean up. This will happen without Maven 4 and runs w/o issues on older versions as well. |
My point is that we need to migrate up the consumers in the long term because you said that Maven will eventually stop supporting the deprecated API they are currently using. I thought you said the API would be removed in Maven 4 but the point is that it will be removed eventually. |
No, you interpretation is wrong. This isn't a Maven Core issue, Maven Core does not care about this. It is solely the entire Maven Reporting stack which is used by reporting plugins and Maven Site Plugin. The actual Maven version does not matter. Maven Site Plugin 4 GA will depend on new major versions of Doxia and Reporting components, baseline will still be Maven 3.2.5. Everything deprecated in that trail will be relentlessly removed. The simple test recommendation: If your reporting plugin has deps which start with |
I don't think my interpretation is wrong. When I wrote "Maven will eventually stop supporting the deprecated API" I meant the Maven project, not Maven core. So it sounds like Maven Site Plugin 4 is the version that will finally drop support for these APIs. So we will just not upgrade to Maven Site Plugin 4 until we have time to fix up the consumers. |
That one is correct. |
Oh good. |
Import note: Given that I am basically the only one working on this and @hboutemy is doing the reviews and I have to test all of our report plugins, don't expect a GA version before of end of fall or winter somewhere. So you still have months and months to go. |
That's imporant because I don't like imprecision and misunderstandings from my statements. |
Me neither Michael, thank you for clarifying the version where this will be no longer supported, as this gives consumers time to adapt. |
Sure thing. When 80% of the Reporting changes are done I will write a lengthy changelog for everyone to be prepared for the change. From a user PoV is it merely an upgrade, for devs a bit more. |
Having implemented similar migrations in the Jenkins project and beyond, I wish you the best of luck! |
With the merge of jenkins-infra/core-taglibs-report-generator#16 https://ci.jenkins.io/job/Infra/job/core-taglibs-report-generator/job/master/ is finally passing against LTS again. Can someone please kick off the corresponding job on |
I think that I've correctly run the job on trusted.ci.jenkins.io and the https://reports.jenkins.io/core-taglib/jelly-taglib-ref.html page reports that is is run for 2.361.1. I see a broken image on the page at the top but other content seemed reasonable |
With end-to-end testing complete and the refreshing of Maven Stapler Plugin and Maven Jellydoc Plugin, I think this ticket can now be closed. While using a non-deprecated |
Service(s)
Other
Summary
The taglib docs for core appear to be broken.
![Screenshot 2022-07-12 at 00 53 28](https://user-images.githubusercontent.com/13383509/178372104-8683f8fa-d44b-48a9-adcb-93197bedaa55.png)
Normally, you can view the docs of core's Jelly tag library here, but the page is empty and has a broken image:
The job building the tag lib library for core finishes successful though https://ci.jenkins.io/job/Infra/job/core-taglibs-report-generator/job/master/
Reproduction steps
No response
The text was updated successfully, but these errors were encountered: