This is an automated email from the ASF dual-hosted git repository.

tzimanyi pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new fee0b207 [kie-issues#628] Change JBoss Nexus to Apache Nexus. (#1532)
fee0b207 is described below

commit fee0b207ccf920f3d447270d3f17f5e3fa9d8698
Author: Tibor Zimányi <[email protected]>
AuthorDate: Fri Oct 13 12:41:05 2023 +0200

    [kie-issues#628] Change JBoss Nexus to Apache Nexus. (#1532)
---
 hack/run-tests.sh           |  2 +-
 test/pkg/config/config.go   |  2 +-
 test/pkg/framework/maven.go | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/hack/run-tests.sh b/hack/run-tests.sh
index 749b6df4..fc2e5cec 100755
--- a/hack/run-tests.sh
+++ b/hack/run-tests.sh
@@ -126,7 +126,7 @@ function usage(){
 
   # build
   printf "\n--custom_maven_repo_url {URI}\n\tSet a custom Maven repository url 
for S2I builds, in case your artifacts are in a specific repository. See 
https://github.com/kiegroup/kogito-images/README.md for more information."
-  printf "\n--custom_maven_repo_replace_default\n\tIf you specified the option 
'custom_maven_repo' and you want that one to replace the main JBoss repository 
(useful with snapshots)."
+  printf "\n--custom_maven_repo_replace_default\n\tIf you specified the option 
'custom_maven_repo' and you want that one to replace the main Apache repository 
(useful with snapshots)."
   printf "\n--maven_mirror_url {URI}\n\tMaven mirror url to be used when 
building app in the tests."
   printf "\n--quarkus_platform_maven_mirror_url {URI}\n\tMaven mirror url to 
be used when building app from source files with Quarkus, using the quarkus 
maven plugin."
   printf "\n--maven_ignore_self_signed_certificate\n\tSet to true if maven 
build need to ignore self-signed certificate. This could happen when using 
internal maven mirror url."
diff --git a/test/pkg/config/config.go b/test/pkg/config/config.go
index 550d03de..1d2ea22c 100644
--- a/test/pkg/config/config.go
+++ b/test/pkg/config/config.go
@@ -165,7 +165,7 @@ func BindFlags(set *flag.FlagSet) {
 
        // build
        set.StringVar(&env.customMavenRepoURL, prefix+"custom_maven_repo_url", 
"", "Set a custom Maven repository url for S2I builds, in case your artifacts 
are in a specific repository. See 
https://github.com/kiegroup/kogito-images/README.md for more information")
-       set.BoolVar(&env.customMavenRepoReplaceDefault, 
prefix+"custom_maven_repo_replace_default", false, "If you specified the option 
'tests.custom_maven_repo_url' and you want that one to replace the main JBoss 
repository (useful with snapshots).")
+       set.BoolVar(&env.customMavenRepoReplaceDefault, 
prefix+"custom_maven_repo_replace_default", false, "If you specified the option 
'tests.custom_maven_repo_url' and you want that one to replace the main Apache 
repository (useful with snapshots).")
        set.StringVar(&env.mavenMirrorURL, prefix+"maven_mirror_url", "", 
"Maven mirror url to be used when building app in the tests")
        set.StringVar(&env.quarkusPlatformMavenMirrorURL, 
prefix+"quarkusPlatformMavenMirrorURL", "", "Maven mirror url to be used when 
building app from source files with Quarkus, using the quarkus maven plugin.")
        set.BoolVar(&env.mavenIgnoreSelfSignedCertificate, 
prefix+"maven_ignore_self_signed_certificate", false, "Set to true if maven 
build need to ignore self-signed certificate. This could happen when using 
internal maven mirror url.")
diff --git a/test/pkg/framework/maven.go b/test/pkg/framework/maven.go
index 00f3a85b..b7dad094 100644
--- a/test/pkg/framework/maven.go
+++ b/test/pkg/framework/maven.go
@@ -25,9 +25,9 @@ import (
 const (
        mavenCommandName = "mvn"
 
-       defaultJBossRepository = 
"https://repository.jboss.org/nexus/content/groups/public/";
-       mainRepositoryID       = "main-repository"
-       stagingRepositoryID    = "staging-repository"
+       defaultRemoteMavenRepository = 
"https://repository.apache.org/content/groups/public/";
+       mainRepositoryID             = "main-repository"
+       stagingRepositoryID          = "staging-repository"
 )
 
 // CreateMavenCommand methods initializes the basic data to run maven commands.
@@ -152,11 +152,11 @@ func (mvnCmd *mavenCommandStruct) setSettingsXML() error {
                mvnCmd.otherOptions = append(mvnCmd.otherOptions, 
"-Denforcer.skip")
 
                if !config.IsCustomMavenRepoReplaceDefault() {
-                       settings.AddRepository(mainRepositoryID, 
defaultJBossRepository, false)
+                       settings.AddRepository(mainRepositoryID, 
defaultRemoteMavenRepository, false)
                }
                settings.AddRepository(stagingRepositoryID, customMavenRepoURL, 
true)
        } else {
-               settings.AddRepository(mainRepositoryID, 
defaultJBossRepository, false)
+               settings.AddRepository(mainRepositoryID, 
defaultRemoteMavenRepository, false)
        }
 
        // Create settings.xml in directory


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to