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 — Prepare for publishing vie the Central Portal by slawekjaranowski · Pull Request #353 · codehaus-plexus/plexus-pom

Conversation

@slawekjaranowski

@slawekjaranowski slawekjaranowski commented Jun 2, 2025

Copy link
Copy Markdown
Member

fix: #350

Sorry, something went wrong.

Uh oh!

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

All reactions
@slawekjaranowski
slawekjaranowski marked this pull request as draft June 2, 2025 17:10
@slawekjaranowski
slawekjaranowski requested review from cstamas, kwin, olamy and slachiewicz June 2, 2025 17:10
@cstamas

cstamas commented Jun 2, 2025

Copy link
Copy Markdown
Member

LGTM, one remark:
I'd name the server.id with longer (and more descriptive) name: sonatype-central-portal.

slawekjaranowski reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@slawekjaranowski

slawekjaranowski commented Jun 2, 2025

Copy link
Copy Markdown
Member Author

LGTM, one remark: I'd name the server.id with longer (and more descriptive) name: sonatype-central-portal.

hehe - I have one, for mojohaus ... we can change also in mojohaus to have one configuration 😄

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented Jun 2, 2025

Copy link
Copy Markdown
Member

Yes, instead as before, when every project "invented" their own server.id (and I manage many), hence my settings.xml was full of copy pasta of different server.id with same auth 😄

So I started doing this: name the thing we use as it is (and as benefit, have one entry in settings for all, instead many copies of same)

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented Jun 2, 2025

Copy link
Copy Markdown
Member

Also @slawekjaranowski see this:
maveniverse/njord#24 (comment)

By using these 3 properties:

  • no need to press Publish button
  • build will fail if validation fails
  • wait is few sec, as validation is quick
slawekjaranowski reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

cstamas
cstamas approved these changes Jun 2, 2025
View reviewed changes
@cstamas cstamas mentioned this pull request Jun 2, 2025
Prepare for Central Portal publishing takari/takari-pom#68
Merged
@slawekjaranowski
slawekjaranowski requested a review from cstamas June 2, 2025 18:10
@slawekjaranowski slawekjaranowski mentioned this pull request Jun 2, 2025
Use longer server id mojohaus/mojo-parent#628
Merged
slachiewicz
slachiewicz approved these changes Jun 2, 2025
View reviewed changes
cstamas
cstamas reviewed Jun 2, 2025
View reviewed changes
Comment thread pom.xml Resolved

Uh oh!

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

@slawekjaranowski
slawekjaranowski marked this pull request as ready for review June 2, 2025 20:00
slawekjaranowski and others added 8 commits June 2, 2025 22:15
@slawekjaranowski
Prepare for publishing vie the Central Portal
7c3008c
fix: #350
@slawekjaranowski
use longer id
8430127
@slawekjaranowski
use plexusDistMgmtSnapshotsUrl property
361db05
@slawekjaranowski
auto publish by njord
15831d7
@slawekjaranowski
use different server id for snapshots
c7dee1a
@slawekjaranowski
spotless
3a09b02
@slawekjaranowski
use the same id for snapshots
0fab00e
@slawekjaranowski @cstamas
fix typo
6facd7e
Co-authored-by: Tamas Cservenak <[email protected]>
@slawekjaranowski
slawekjaranowski force-pushed the central-portal branch from 0db671b to 6facd7e Compare June 2, 2025 20:15
@slawekjaranowski
slawekjaranowski merged commit 74c7fbd into master Jun 2, 2025
@slawekjaranowski
slawekjaranowski deleted the central-portal branch June 2, 2025 20:21
@slawekjaranowski slawekjaranowski added enhancement New feature or request breaking Pull requests that break existing features labels Jun 2, 2025
kwin
kwin reviewed Oct 10, 2025
View reviewed changes
Comment thread pom.xml
<njord.autoPublish>true</njord.autoPublish>
<njord.publishingType>automatic</njord.publishingType>
<njord.waitForStates>true</njord.waitForStates>
<njord.enabled>false</njord.enabled>

@kwin kwin Oct 10, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

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.

@cstamas What does that do? I thought that njord would only ever kick in if the distribution URI has scheme njord...

Sorry, something went wrong.

Uh oh!

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

All reactions

@cstamas cstamas Oct 10, 2025

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.

This completely disables Njord (by not creating njord session), and hence no njord component will ever "kick in", as all of them start by checking the session existence.

Release profile enables it:
https://github.com/codehaus-plexus/plexus-pom/blob/master/pom.xml#L821-L822

This just makes sure that in "normal" operations Njord is not meddling for sure, and even in case of release, it as you say, only does "local staging" and later publishing.

Sorry, something went wrong.

Uh oh!

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

All reactions

@cstamas cstamas Oct 10, 2025

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.

Unsure why was it done like it, as this really prevents Njord to stage snapshots for example, but that operation currently supports m-deploy-p as well, so no real need for Njord...

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

@cstamas cstamas cstamas approved these changes
@kwin kwin kwin left review comments
@slachiewicz slachiewicz slachiewicz approved these changes
@olamy olamy Awaiting requested review from olamy

Uh oh!

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

Assignees

No one assigned

Labels

breaking Pull requests that break existing features enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Migrate publishing to central portal

Uh oh!

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

4 participants

@slawekjaranowski @cstamas @kwin @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.