-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
dependency: bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.21.0 #15799
dependency: bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.21.0 #15799
Conversation
428cb7a
to
3a4eb11
Compare
|
@michael-o , do you know how to define skin for new maven plugin ? I tried:
but this does not work. |
You need to define it in your |
3a4eb11
to
138106d
Compare
thanks a lot. workaround for bulid problem is:
but web site is broken and looks like needs more more tuning. |
138106d
to
7b69b5d
Compare
GitHub, generate website |
7b69b5d
to
aef7b48
Compare
GitHub, generate website |
https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/aef7b48_2024234815/index.html |
src/site/site.xml
Outdated
<skin> | ||
<groupId>org.apache.maven.skins</groupId> | ||
<artifactId>maven-fluido-skin</artifactId> | ||
<version>2.0.0-M11</version> |
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.
Use the GA version.
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.
@michael-o , I tried to use GA, but still the same result: no site pages are generated, only main index.html with empty content. see all details bellow.
in debug logs, there is nothing obviously suspicious.
@michael-o , do know what can cause this ?
aef7b48
to
1b69582
Compare
I did migration to new schema by hint from https://www.mail-archive.com/[email protected]/msg145112.html site still not generates empty page for index and no other pages at all.
log of execution - https://gist.github.com/romani/305a71941fa09de3212e606b1d6a2eeb log of execution on master - https://gist.github.com/romani/8ab7cecf8295f151de138d16567919d0 |
looks like I am not alone https://issues.apache.org/jira/browse/MSITE-1026, looks like we should upgrade doxia to 2.x first. |
by diff of debug logs I found:
bunch (about 20) of |
I removed doxia usage completely from project:
but result is same: pages are not generated:
so something else is required by site plugin. |
interesting comments: but usage of it does not help, same problem:
looks like parent pom of apache reverted web site to old version to due to some problem: apache/commons-parent@ac4be53 and it was bumbed automatically by dependabot - apache/commons-parent@d9cca74 same as in our case. |
I'll try ti check this next couple of days |
Looking into now... |
Migrating to Doxia 2.0.0 is not related to the site generation of this plugin, they are disjoint. Here is your problem:
and
|
Thanks a lot!!! |
I found the answer to my question, so you can ignore my previous post. |
removal of xdocDirectory usage and removal of custom Javascripts are both MUST updates. |
c4705d4
to
f00e935
Compare
GitHub, generate website |
This PR too prone to conflicts, I will move xdoc folder in quick separate PR. |
@michael-o , I still see at web site that custom CSS files are possible. but in scope of this PR we saw that it is not actually working for some reason ... I hope "embedding of custom js files" is still supported, and we just need to update them(js files) to work with new website sturture, right ? |
Either of your resources is breaking your rendering. I recommend to start from zero or reduce piece by piece. |
That a lot, I treat it as Yes and Yes |
2a1d245
to
a8af51c
Compare
@Zopsss , this PR is ready for CSS rewrite and fix for javascript files to continue to work with new skin. xdoc moved in scope of: #16078 xml plugin is disabled due to problems:
|
GitHub, generate website |
@romani This looks much much better now. |
5aa3cd9
to
0c647d4
Compare
<script type="text/javascript" src="$relativePath/js/checkstyle.js"></script> | ||
<script type="text/javascript" | ||
src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | ||
<script type="text/javascript" src="$relativePath/js/anchors.js"></script> |
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 has to be fixed before merge otherwise website is broken.
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.
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.
PR has been sent.
I have sent a follow up PR with all the changes made here. #16126 Fixing broken JS & CSS will happen there. |
Initial update is done at #16126 There bunch of minor defects, all of the referenced in special issue. @michael-o , thanks a lot for your help, without your help it will be very complicated to upgrade. |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Happy to help! |
#16077
Bumps org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.21.0.
Release notes
Sourced from org.apache.maven.plugins:maven-site-plugin's releases.
Commits
43f73ec
[maven-release-plugin] prepare release maven-site-plugin-3.21.0a2880fb
[MSITE-1024] Remove IT for MSITE-9016171e7d
[MSITE-1023] Upgrade plugins and components (in ITs)efd8a57
[MSITE-1022] Upgrade to Maven Reporting Exec 2.0.0f5c5fc9
Fix typos in history.apt and faq.fml64c4035
[MSITE-1021] Bump doxiaSitetoolsVersion from 2.0.0-M19 to 2.0.0e26765c
[MSITE-1020] Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0-M...354cf19
[MSITE-1019] Bump doxiaVersion from 2.0.0-M12 to 2.0.067b568a
Use '@project
.' instead of '@pom
.' expression prefixfdfd807
Add version 3.20.0 to plugin historyYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)