Wire though maven-url to java config (#2291)

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
This commit is contained in:
Colm O hEigeartaigh
2023-11-06 09:08:03 -05:00
committed by GitHub
parent 1470abaded
commit 9fa11f2339
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -38,6 +38,7 @@ func (c Config) JavaConfig() java.Config {
SearchUnindexedArchives: c.Search.IncludeUnindexedArchives,
SearchIndexedArchives: c.Search.IncludeIndexedArchives,
UseNetwork: c.Java.UseNetwork,
MavenBaseURL: c.Java.MavenURL,
MaxParentRecursiveDepth: c.Java.MaxParentRecursiveDepth,
}
}
+1 -1
View File
@@ -13,7 +13,7 @@ func (j CatalogerOpts) WithUseNetwork(input bool) CatalogerOpts {
return j
}
func (j CatalogerOpts) WithMavenCentralURL(input string) CatalogerOpts {
func (j CatalogerOpts) WithMavenURL(input string) CatalogerOpts {
if input != "" {
j.MavenURL = input
}