Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add Package Registry #16510
Add Package Registry #16510
Changes from 114 commits
51bc02e
48c2faf
3e801f9
3c86d2b
8d922ff
2b9d96a
99298b7
c7fb932
8aaf412
06790f9
338dee3
0544b22
5a3c561
ea36a75
8c6715b
ec05929
4a57e22
b8ac3e3
1386b27
9e5b2c0
8ba72d7
cab94bb
f16296c
9edf241
814a942
9417754
02708f8
cb360c0
7264b7e
7625900
2351df1
53a47de
e6075ab
068b1b1
c515aa6
55c6b2b
b856141
6fadfe9
c5a85b1
e60969b
4ced953
291cbf5
c060e4a
cd1bc10
12ca06f
2c9fa64
41efc7c
1b666dc
baf7074
3e462af
39a4115
fb4f039
08e6f82
fe02ca2
1cf894b
03b7122
faf5518
f30b09f
33045a1
4f1ffa6
b1c8554
3c5c54f
c0e542c
2b9574e
42aa098
b9e6fb1
d186342
2c04814
cb16fe8
af0ea8c
b24c033
7756689
483d8e5
dacf577
88aa66f
fa518b6
3f89e67
c444d4b
f3b0d77
1cef19a
a91f780
4162676
86af611
df1ceb5
5dc9a9a
77485e3
e01b8a7
82147e6
4d883cb
6335e68
d16c894
9e1c5c1
bd9a516
b7ebbaa
a54cf5c
28b1658
e12f3fc
1bf7106
1addc8e
9c13368
f7d2484
3cb36d5
2892782
7d41635
e84812c
87ac836
8934214
c910dd8
a86fd67
e0f9085
abf508f
b01d240
1239f82
ea24bfd
14179c5
16edc81
2b3dd59
842308c
da48b2e
df81183
ec9f89e
b4bf28e
ac23797
80a69aa
ba7f050
b10ef75
168e32a
83148f2
c6eca22
417308d
6e12833
bfae746
c6a45ff
1b4854c
c209e68
04b3aae
ff51ca9
fa0c89c
f596b58
6bdf396
e70ec8e
0aa6069
a5216a0
779c5d9
7ba602c
0293e77
9af3259
35c04f0
118770f
abf3a1e
5a4128a
3b8b071
f41cbf0
17b949e
dd953f2
6804517
15246c2
250443d
00dbfe2
5f8e6b2
d8b1c69
cb59cbd
d87c42b
6e24f6f
70c3825
af95307
8af95ef
1bf5b5f
c05f9fa
4aab760
431ba7c
be74e4d
3cb84ef
20facab
64d02e3
3a51b83
10c5f03
5d08e80
dbbbfa4
7efd245
f55dcbf
1d4ce1a
84ff7b0
16f8940
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maven's definition of
install
is a bit different than what you would expect:install
makes the current project available to be used as dependency for other local projects, so itinstalls
the project locally.I think you want
or even only
as that is even earlier in the lifecycle and Maven has no concept of a
download dependencies
command.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how the Maven package manager works but both GitHub and GitLab use that in their documentation.
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#installing-a-package
https://docs.gitlab.com/ee/user/packages/maven_repository/#install-a-package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Downloading of dependencies is done automatically without supplemental command. If you start a build via
mvn package
everything will be downloaded what is needed.An
mvn install
means to install the created artifact within your local cache$HOME/.m2/repository
which means some other project on the same machine can consume those artifacts.If you like to distribute artifacts to a wider audience it is needed to deploy them via
mvn deploy
which is defined by<distributionManagement>..</distributionManagement>
...this contains usually a definition of a repository manager...