Skip to content

[master][MNG-7129] Necessary changes to support maven caching#607

Closed
gnodet wants to merge 201 commits intomasterfrom
MNG-7129-master
Closed

[master][MNG-7129] Necessary changes to support maven caching#607
gnodet wants to merge 201 commits intomasterfrom
MNG-7129-master

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented Nov 10, 2021

This is a rebase of #606 on top of master.
This also supersedes #598.

michael-o and others added 30 commits March 16, 2021 17:59
if attached artifacts already contains the artifact remove it and add the new one

Signed-off-by: olivier lamy <olamy@apache.org>
The plugin key is build as combination of artifactId and groupId but not
updated if either of these two ids change.
This can be a problem if artifactId or groupId is a variable. The calculated
key will likely contain the unresolved property and is not updated once the
variable is interpolated.

This closes #372
This fixes following bug and also consistent with another 'cd /d "%EXEC_DIR%"' a few lines above.
When you're on the root of some disk running mvn.cmd prints an extra line with current dir before the correct output

Closes #304
…lePath

Signed-off-by: rfscholte <rfscholte@apache.org>
(cherry picked from commit 73e00ed)

This closes #482
Don't compare baseDir in a canonical form when the second comparing value
(System.getProperty( "user.dir" )) is not canonicalized.

This closes #361
…lified on Windows

The removed 'stripMHome' recursive function is not needed anymore

This closes #307
@gnodet
Copy link
Copy Markdown
Contributor Author

gnodet commented Nov 30, 2021

I've removed the extension from this branch so that it's now a standalone branch.
https://github.com/apache/maven/tree/MNG-7129-maven-caching

This will allow adding integration tests on both master with #607 and maven-3.8.x branch with #622.

@michael-o
Copy link
Copy Markdown
Member

@gnodet As far as I understand this PR it solely changes Core to be able to plugin the caching module. Is that correct?

@gnodet
Copy link
Copy Markdown
Contributor Author

gnodet commented Nov 30, 2021

@gnodet As far as I understand this PR it solely changes Core to be able to plugin the caching module. Is that correct?

Yes, that's now the case, similar to #622 for 3.x. The caching extension now resides in a separate branch (with only the extension project).

@gnodet gnodet changed the title [MNG-7129] Import maven caching system [MNG-7129] Necessary changes on master to support maven caching Nov 30, 2021
@gnodet gnodet changed the title [MNG-7129] Necessary changes on master to support maven caching [master][MNG-7129] Necessary changes to support maven caching Dec 3, 2021
@gnodet gnodet marked this pull request as ready for review December 3, 2021 08:48
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.