Skip to content

Add some TLP doco about shared local repo access#185

Merged
cstamas merged 9 commits intomasterfrom
locking-doco-tlp
Jun 24, 2022
Merged

Add some TLP doco about shared local repo access#185
cstamas merged 9 commits intomasterfrom
locking-doco-tlp

Conversation

@cstamas
Copy link
Copy Markdown
Member

@cstamas cstamas commented Jun 22, 2022

Rework local repo page available from TLP, move "uninteresting" simple LRM to bottom, add intro about locking, to not have it buried in some module...

Inspired by #184

@cstamas cstamas requested a review from michael-o June 22, 2022 17:33
@cstamas cstamas self-assigned this Jun 22, 2022
@cstamas
Copy link
Copy Markdown
Member Author

cstamas commented Jun 22, 2022

@kwin ping

@kwin
Copy link
Copy Markdown
Member

kwin commented Jun 22, 2022

Thanks looks good to me, can you also update https://maven.apache.org/resolver/maven-resolver-named-locks/index.html in this PR based on #184 as I think you guys know best how to clarify the doc with regards to file-lock (and its limitations). Thanks

Copy link
Copy Markdown
Member

@kwin kwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for picking it up

Local named locks are only suited within one JVM with a multithreaded build.
Sharing a local repository between multiple Maven processes (i.e., on a busy CI server) requires a distributed named lock!
Sharing a local repository between multiple hosts (i.e., on a busy CI server) requires a distributed named lock!

Copy link
Copy Markdown
Member

@kwin kwin Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the example CI server is not the best as I don’t know of any tools which recommend or ease setting up a shared Maven repo used by distributed nodes…

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but that's actually the point as well: they do not recommend as Maven had issues with it before resolver 1.7 😉

@cstamas
Copy link
Copy Markdown
Member Author

cstamas commented Jun 22, 2022

@cstamas cstamas marked this pull request as ready for review June 23, 2022 14:42
@cstamas cstamas requested a review from hboutemy June 23, 2022 14:42
@michael-o
Copy link
Copy Markdown
Member

Will review today...

Comment thread maven-resolver-named-locks/src/site/markdown/index.md.vm Outdated
Comment thread maven-resolver-named-locks/src/site/markdown/index.md.vm Outdated
Comment thread maven-resolver-named-locks/src/site/markdown/index.md.vm Outdated
Comment thread maven-resolver-named-locks/src/site/markdown/index.md.vm Outdated
Comment thread src/site/markdown/local-repository.md Outdated
@cstamas cstamas requested a review from michael-o June 24, 2022 19:16
@cstamas cstamas merged commit e482568 into master Jun 24, 2022
@cstamas cstamas deleted the locking-doco-tlp branch June 24, 2022 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants