Skip to content

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

Merged
cstamas merged 1 commit intoapache:masterfrom
cstamas:maven-repo-head
Nov 7, 2024
Merged

[MNG-8370] Add maven.repo.local.head#1881
cstamas merged 1 commit intoapache:masterfrom
cstamas:maven-repo-head

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
@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

@jira-importer
Copy link

Resolve #9483

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.

4 participants