Description of problem: - Support setting multiple maven repositories with MAVEN_MIRROR_URL for JWS/EAP S2I image Version-Release number of selected component (if applicable): - Current released version in xPaaS builder image How reproducible: - There are no way to set multiple maven repos. Actual results: - Currently only one repo can be set with $MAVEN_MIRROR_URL value. Expected results: - Set multiple values with $MAVEN_MIRROR_URL(S). Additional info: - scripts/s2i-common/common.sh supports only one repo. --- # insert settings for mirrors/repository managers into settings.xml if supplied function configure_mirrors() { if [ -n "$MAVEN_MIRROR_URL" ]; then xml=" <mirror>\ <id>mirror.default</id>\ <url>$MAVEN_MIRROR_URL</url>\ <mirrorOf>external:*</mirrorOf>\ </mirror>" sed -i "s|<!-- ### configured mirrors ### -->|$xml|" $HOME/.m2/settings.xml fi } ---
Opened this xPaas JIRA to track - https://issues.jboss.org/browse/CLOUD-877
Closing this BZ as the xPaas issue is tracked in JIRA.