Update settings for repository verification.

Use settings xml for artifactory deployment and switch verification resource url.

See: #75
This commit is contained in:
Christoph Strobl
2024-02-16 10:44:34 +01:00
parent 58ea50e722
commit 6654c4a807
2 changed files with 3 additions and 2 deletions

View File

@@ -320,7 +320,8 @@ class MavenBuildSystem implements BuildSystem {
arg("artifactory.password").withValue(authentication.getPassword()),
arg("artifactory.build-name").withQuotedValue(information.getBuildName()),
arg("artifactory.build-number").withValue(information.getBuildNumber()),
arg("artifactory.project").withValue(information.getProject()));
arg("artifactory.project").withValue(information.getProject()))
.andIf(!ObjectUtils.isEmpty(properties.getSettingsXml()), settingsXml(properties.getSettingsXml()));
mvn.execute(module.getSupportedProject(), arguments);
}

View File

@@ -30,7 +30,7 @@ deployment.opensource.distribution-repository=temp-private-local
# Prod
deployment.commercial.server.uri=https://repo.spring.vmware.com
deployment.commercial.server.verification-resource=test-staging-local
deployment.commercial.server.verification-resource=spring-commercial-staging-local
deployment.commercial.staging-repository=spring-commercial-staging-local
deployment.commercial.target-repository=spring-commercial-release-local
deployment.commercial.project=spring