Guest User

Untitled

a guest
May 11th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. @RunWith(SpringRunner.class)
  2. @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
  3. @AutoConfigureStubRunner(ids = "com.mycompany.myproj:myservice:+:stubs:8100",
  4. repositoryRoot = "http://artifactory.mycompany.com/artifactory/libs-snapshot-local",
  5. properties = {"stubrunner.username=myusername", "stubrunner.password=mypassword"},
  6. stubsMode = StubRunnerProperties.StubsMode.REMOTE)
  7. @DirtiesContext
  8. class NotifierApiContractsVerificationTest {
  9. ...
  10. }
  11.  
  12. Could not find metadata com.mycommany.myproject:myservice/maven-metadata.xml in local (/Users/myname/.m2/repository), org.eclipse.aether.transfer.MetadataTransferException: Could not transfer metadata com.mycommany.myproject:myservice/maven-metadata.xml from/to remote0 (http://artifactory.mycompany.com/artifactory/libs-snapshot-local): **Unauthorized (401)**]
Add Comment
Please, Sign In to add comment