In producer side, I need to skip stubs generation (so I need only to generate classes tests). for that Change the maven plugin as follow:
<plugin>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-maven-plugin</artifactId>
<extensions>true</extensions>
<version>3.0.2</version>
<executions>
<execution>
<goals>
<goal>convert</goal>
<!--goal>generateStubs</goal-->
<goal>generateTests</goal>
</goals>
</execution>
</executions>
But with this config, stubs still generated
If you're providing goals yourself do not set <extensions>true</extensions>