Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNG-8370] Add maven.repo.local.head #1881

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Nov 6, 2024

As counterpart to maven.repo.local.tail, but this one "prepends" while other "appends". This means one can do like this

$ mvn install -Prun-its -Dmaven.repo.local.head=~/.m2/repository-it

And have stuff installed into dedicated IT local repo (as IT bits must be installed), instead to pollute own local repo.


https://issues.apache.org/jira/browse/MNG-8370

As counterpart to maven.repo.local.tail, but this one
"prepends" while other "appends". This means one can do
like this

```
$ mvn install -Prun-its -Dmaven.repo.local.head=~/.m2/repository-id
```

And have stuff installed into dedicated IT local repo (as IT
buts must be installed) instead to pollute their local repo.
@cstamas cstamas self-assigned this Nov 6, 2024
@cstamas cstamas changed the title Add maven.repo.local.head [MNG-8370] Add maven.repo.local.head Nov 6, 2024
@cstamas cstamas marked this pull request as ready for review November 6, 2024 16:52
@cstamas cstamas merged commit 1ab2ccf into apache:master Nov 7, 2024
13 checks passed
@cstamas cstamas deleted the maven-repo-head branch November 7, 2024 10:14
@slawekjaranowski
Copy link
Member

@cstamas, @gnodet what do you think to add it to 3.9.x?

@gnodet
Copy link
Contributor

gnodet commented Nov 8, 2024

@cstamas, @gnodet what do you think to add it to 3.9.x?

This comes from trying to improve ITs in maven master, but why not ?
That could make sense and would ease switching between Maven 3 and 4 when using this feature.

@cstamas
Copy link
Member Author

cstamas commented Nov 8, 2024

Yes plase

@slawekjaranowski
Copy link
Member

Ok, I will do

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