title: Maven build fails with Spring-cloud-contract-verifier
body: <p>I have an issue with building <code>spring-cloud-contract-verifier</code> with below pom.xml:     </p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.5.10.RELEASE&lt;/version&gt;
      &lt;relativePath /&gt;
  &lt;/parent&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
          &lt;docker-maven-plugin.version&gt;1.2.0&lt;/docker-maven-plugin.version&gt;
          &lt;spring-cloud.version&gt;1.3.2.RELEASE&lt;/spring-cloud.version&gt;
          &lt;geometry.version&gt;2.11&lt;/geometry.version&gt;
          &lt;mockito.version&gt;1.9.5&lt;/mockito.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
  
          &lt;!--############################################# SPRING ####################################################--&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-validation&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-actuator&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-cache&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.ehcache&lt;/groupId&gt;
              &lt;artifactId&gt;ehcache&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-ehcache&lt;/artifactId&gt;
              &lt;version&gt;5.0.12.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.cache&lt;/groupId&gt;
              &lt;artifactId&gt;cache-api&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;!--######################################### SPRING-CLOUD ##################################################--&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
              &lt;artifactId&gt;spring-cloud-starter-contract-verifier&lt;/artifactId&gt;
              &lt;version&gt;2.1.1.RELEASE&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
              &lt;artifactId&gt;spring-cloud-stream-test-support&lt;/artifactId&gt;
              &lt;version&gt;1.3.3.RELEASE&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.jayway.restassured&lt;/groupId&gt;
              &lt;artifactId&gt;spring-mock-mvc&lt;/artifactId&gt;
              &lt;version&gt;2.2.0&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!--############################################## MYSQL ####################################################--&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!--############################################### GEO #####################################################--&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.jillesvangurp&lt;/groupId&gt;
              &lt;artifactId&gt;geogeometry&lt;/artifactId&gt;
              &lt;version&gt;${geometry.version}&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                      &lt;artifactId&gt;guava&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;!--############################################ MOCKITO ####################################################--&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.mockito&lt;/groupId&gt;
              &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
              &lt;version&gt;${mockito.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!--##################################### END-OF-DEPENDENCIES ###############################################--&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;executable&gt;true&lt;/executable&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-cloud-contract-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.2.2.RELEASE&lt;/version&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;configuration&gt;
                      &lt;baseClassForTests&gt;
                          com.foo.pricing.contract.BaseClass
                      &lt;/baseClassForTests&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p>I attempt to <code>clean install</code> the project in order to have my test classes be generated by <code>spring-cloud-contract</code>.
  <code> BaseClass </code> is as below: </p>
  
  <pre><code>    @RunWith(SpringRunner.class)
      @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK, classes = PricingServiceApplication.class)
      @DirtiesContext
      public class BaseClass {
  
      @Autowired
      private RateChartController rateChartController;
  
      @Before
      public void setup() {
          StandaloneMockMvcBuilder standaloneMockMvcBuilder = MockMvcBuilders
              .standaloneSetup(rateChartController);
          RestAssuredMockMvc.standaloneSetup(standaloneMockMvcBuilder);
      }
  }
  </code></pre>
  
  <p>The exception I stumble upon comes as follow: </p>
  
  <pre><code>[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ PricingService ---
  [INFO] 
  [INFO] --- spring-cloud-contract-maven-plugin:1.2.2.RELEASE:generateStubs (default-generateStubs) @ PricingService ---
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 4.079 s
  [INFO] Finished at: 2019-03-13T16:09:17+03:30
  [INFO] Final Memory: 62M/483M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.springframework.cloud:spring-cloud-contract-maven-plugin:1.2.2.RELEASE:generateStubs (default-generateStubs) on project PricingService: Stubs could not be found: [/home/akarimin/project/foo/pricing-service/pricing/target/stubs] .
  [ERROR] Please make sure that spring-cloud-contract:convert was invoked
  [ERROR] -&gt; [Help 1]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  </code></pre>
  
  <p>I appreciate if you could help me to resolve this issue.</p>