Updated wrong manifest creation
This commit is contained in:
@@ -135,7 +135,8 @@ public class WiremockForDocsMockServerApplicationTests {
|
||||
public void contextLoads() throws Exception {
|
||||
// will read stubs classpath
|
||||
MockRestServiceServer server = WireMockRestServiceServer.with(this.restTemplate)
|
||||
.baseUrl("http://example.org").stubs("classpath:/stubs/resource.json");
|
||||
.baseUrl("http://example.org").stubs("classpath:/stubs/resource.json")
|
||||
.build();
|
||||
// We're asserting if WireMock responded properly
|
||||
assertThat(this.service.go()).isEqualTo("Hello World");
|
||||
server.verify();
|
||||
|
||||
@@ -29,7 +29,7 @@ class ManifestCreator {
|
||||
Plugin verifierMavenPlugin = findMavenPlugin(project.getBuildPlugins());
|
||||
if (verifierMavenPlugin != null) {
|
||||
manifest.addConfiguredAttribute(new Manifest.Attribute(
|
||||
"Spring-Cloud-Contract-Verifier-Maven-Plugin-Version", verifierMavenPlugin.getVersion()));
|
||||
"Spring-Cloud-Contract-Maven-Plugin-Version", verifierMavenPlugin.getVersion()));
|
||||
}
|
||||
if (verifierMavenPlugin != null && !verifierMavenPlugin.getDependencies().isEmpty()) {
|
||||
Dependency verifierDependency = findVerifierDependency(verifierMavenPlugin.getDependencies());
|
||||
|
||||
Reference in New Issue
Block a user