Skip to content

Commit 0003c8a

Browse files
authored
feat: add support for using custom .m2 directory (#3573)
The existing Java packaging process uses a localRepository which points to a newly created tmp directory. This means that when building, all dependencies need to be freshly downloaded which is contributing a significant portion of time to the packaging process. This PR provides the option to the user (hidden) to use a non-transient .m2 local repository if they so choose. I have experienced a huge improvement to performance by enabling this setting (5s with enabled vs 4 minutes using defaults). --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
1 parent 3827d93 commit 0003c8a

File tree

4 files changed

+42
-22
lines changed

4 files changed

+42
-22
lines changed

.all-contributorsrc

+9
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,15 @@
14111411
"contributions": [
14121412
"doc"
14131413
]
1414+
},
1415+
{
1416+
"login": "agdimech",
1417+
"name": "Adrian Dimech",
1418+
"avatar_url": "https://avatars.githubusercontent.com/u/51220968?v=4",
1419+
"profile": "https://github.com/agdimech",
1420+
"contributions": [
1421+
"code"
1422+
]
14141423
}
14151424
],
14161425
"repoType": "github",

0 commit comments

Comments
 (0)