GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix site descriptor (revert partially PR #161) by hboutemy · Pull Request #182 · codehaus-plexus/plexus-pom

Conversation

@hboutemy

@hboutemy hboutemy commented May 24, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

when upgrading to this parent POM, child projects must do 2 things:

  1. explicitely declare a url in their pom.xml (they currently usually don't have it, but just inherited default value that is now wrong)
  2. override the whole breadcrumbs in their site.xml

= for example https://github.com/codehaus-plexus/plexus-xml/pull/18/files

understanding the why:

  1. 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
  2. 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.

All reactions
@hboutemy
fix site descriptor (revert partially PR #161)
8a6e6e0
This was referenced May 24, 2023
upgrade parent POM and fix site descriptor codehaus-plexus/plexus-components#73
Merged
upgrade parent POM and fix site descriptor codehaus-plexus/plexus-xml#18
Closed
michael-o
michael-o approved these changes May 24, 2023
View reviewed changes
slawekjaranowski
slawekjaranowski reviewed May 25, 2023
View reviewed changes
Comment thread pom.xml Resolved

Uh oh!

There was an error while loading. Please reload this page.

slawekjaranowski
slawekjaranowski approved these changes May 26, 2023
View reviewed changes
slachiewicz
slachiewicz approved these changes May 26, 2023
View reviewed changes
@hboutemy
hboutemy merged commit f482aa6 into master May 28, 2023
@hboutemy
hboutemy deleted the fix-site-config branch May 28, 2023 08:24
@hboutemy hboutemy mentioned this pull request May 28, 2023
pom.mxl and site.xml cleanup codehaus-plexus/plexus-utils#257
Merged
@slawekjaranowski slawekjaranowski added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jul 21, 2023
slawekjaranowski
slawekjaranowski reviewed Jul 22, 2023
View reviewed changes
Comment thread src/site/site.xml
<body>
<breadcrumbs>
<item name="Plexus" href="https://codehaus-plexus.github.io/"/>
<item name="Parent POM" href="https://codehaus-plexus.github.io/plexus-pom"/>

@slawekjaranowski slawekjaranowski Jul 22, 2023

Copy link
Copy Markdown
Member

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.

All reactions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@michael-o michael-o michael-o approved these changes
@slawekjaranowski slawekjaranowski slawekjaranowski approved these changes
@slachiewicz slachiewicz slachiewicz approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

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.

4 participants

@hboutemy @michael-o @slawekjaranowski @slachiewicz
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.