You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAVEN_REPOS had no test coverage. Add a test for it which defines
two repositories. Use all-caps for the repository identifiers, which
is an undocumented requirement.
(Cherry pick from OPENJDK-1964)
Signed-off-by: Jonathan Dowland <[email protected]>
Then XML file /tmp/artifacts/configuration/settings.xml should have 1 elements on XPath //ns:server[ns:id='myrepo']
310
+
Then XML file /tmp/artifacts/configuration/settings.xml should have 1 elements on XPath //ns:profile[ns:id='myrepo-profile']/ns:repositories/ns:repository[ns:url='http://repo.example.com:8080/maven2/']
311
+
Then XML file /tmp/artifacts/configuration/settings.xml should have 1 elements on XPath //ns:server[ns:id='another']
312
+
Then XML file /tmp/artifacts/configuration/settings.xml should have 1 elements on XPath //ns:profile[ns:id='another-profile']/ns:repositories/ns:repository[ns:url='https://repo.example.org:8888/']
313
+
297
314
# OPENJDK-2068: MAVEN_REPO_URL and MAVEN_REPO_ID
298
315
Scenario: Check MAVEN_REPO_URL generates Maven settings and profile configuration
299
316
Given s2i build https://github.com/jboss-openshift/openshift-examples from spring-boot-sample-simple/target
0 commit comments