GeezerVison is showing github.com — fix site descriptor (revert partially PR #161) by hboutemy · Pull Request #182 · codehaus-plexus/plexus-pom
Conversation
hboutemy
commented
May 24, 2023
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
when upgrading to this parent POM, child projects must do 2 things:
- explicitely declare a url in their
pom.xml (they currently usually don't have it, but just inherited default value that is now wrong)
- override the whole breadcrumbs in their
site.xml
= for example https://github.com/codehaus-plexus/plexus-xml/pull/18/files
understanding the why:
- before PR Refresh Maven site #161, url was expected to be automagically inherited to child from parent value and child artifactId; This was done at the cost of parent POM inconsistency between its url and the content of site.xml, that lead to complex understanding of urls relativisation. Let's keep it simple and just declare
<url> in each child project
- in child projects, by default, breadcrumbs from parent will be used and additionam breadcrumb will be used: this leads to a breadcrumb to parent POM project = not something we expect. Redeclaring full breadcrumbs from the start will override content from parent
a little bit of copy paste will make things much simpler than the initial intended magic that was causing headache
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced May 24, 2023
Uh oh!
There was an error while loading. Please reload this page.
|
|
<body>
|
|
|
<breadcrumbs>
|
|
|
<item name="Plexus" href="https://codehaus-plexus.github.io/"/>
|
|
|
<item name="Parent POM" href="https://codehaus-plexus.github.io/plexus-pom"/>
|
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.
Do we really need a link to parent in breadcrumbs?
We have a link to parent in menu items ...
@hboutemy @michael-o
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
bug
Something isn't working
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.