title: Open Api Generator plugin does not work with Maven
body: <p>I am trying to generate Apis with openapi generator just when i run mvn compile seems like doesn't find any depenncy like jacks httprequest and so, i add the details down
  i added the plugin:</p>
  <pre><code>&lt;plugin&gt;
                  &lt;groupId&gt;org.openapitools&lt;/groupId&gt;
                  &lt;artifactId&gt;openapi-generator-maven-plugin&lt;/artifactId&gt;
                  &lt;!-- RELEASE_VERSION --&gt;
                  &lt;version&gt;4.3.1&lt;/version&gt;
                  &lt;!-- /RELEASE_VERSION --&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;generate&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;inputSpec&gt;${project.basedir}/src/main/resources/player.yml&lt;/inputSpec&gt;
                              &lt;generatorName&gt;java&lt;/generatorName&gt;
                              &lt;configOptions&gt;
                                  &lt;sourceFolder&gt;src/gen/java/main&lt;/sourceFolder&gt;
                              &lt;/configOptions&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  </code></pre>
  <p>with this file player.yml:</p>
  <pre><code>openapi: 3.0.1
  info:
    title: Swagger Petstore
    description: 'This is a sample server Petstore server.  You can find out more about     Swagger
      at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).      For
      this sample, you can use the api key `special-key` to test the authorization     filters.'
    termsOfService: http://swagger.io/terms/
    contact:
      email: apiteam@swagger.io
    license:
      name: Apache 2.0
      url: http://www.apache.org/licenses/LICENSE-2.0.html
    version: 1.0.0
  externalDocs:
    description: Find out more about Swagger
    url: http://swagger.io
  servers:
    - url: https://petstore.swagger.io/v2
    - url: http://petstore.swagger.io/v2
  tags:
    - name: pet
      description: Everything about your Pets
      externalDocs:
        description: Find out more
        url: http://swagger.io
    - name: store
      description: Access to Petstore orders
    - name: user
      description: Operations about user
      externalDocs:
        description: Find out more about our store
        url: http://swagger.io
  paths:
    /cssl/player/{uuid}:
      get:
        tags:
          - store
        summary: Find purchase order by ID
        description: For valid response try integer IDs with value &gt;= 1 and &lt;= 10.         Other
          values will generated exceptions
        operationId: getOrderById
        parameters:
          - name: uuid
            in: path
            description: ID of pet that needs to be fetched
            required: true
            schema:
              maximum: 10.0
              minimum: 1.0
              type: integer
              format: int64
        responses:
          200:
            description: successful operation
            content:
              application/xml:
                schema:
                  $ref: '#/components/schemas/Player'
              application/json:
                schema:
                  $ref: '#/components/schemas/Player'
          400:
            description: Invalid ID supplied
            content: {}
          404:
            description: Order not found
            content: {}
      delete:
        tags:
          - store
        summary: Delete purchase order by ID
        description: For valid response try integer IDs with positive integer value.         Negative
          or non-integer values will generate API errors
        operationId: deleteOrder
        parameters:
          - name: uuid
            in: path
            description: ID of the order that needs to be deleted
            required: true
            schema:
              minimum: 1.0
              type: integer
              format: int64
        responses:
          400:
            description: Invalid ID supplied
            content: {}
          404:
            description: Order not found
            content: {}
  components:
    schemas:
      Player:
        type: object
        properties:
          uuid:
            type: integer
            format: int64
          slName:
            type: integer
            format: int64
          slLastname:
            type: integer
            format: int32
  </code></pre>
  <p>just when i try to compile it doesn't find the dependencies givings errors like:</p>
  <pre><code>   [DEBUG] incrementalBuildHelper#beforeRebuildExecution
  [INFO] Compiling 33 source files to /home/francescolombardi/IdeaProjects/core-comunicator/target/classes
  [DEBUG] incrementalBuildHelper#afterRebuildExecution
  [INFO] -------------------------------------------------------------
  [ERROR] COMPILATION ERROR : 
  [INFO] -------------------------------------------------------------
  [ERROR] /home/francescolombardi/IdeaProjects/core-comunicator/target/generated-sources/openapi/src/gen/java/main/org/openapitools/client/ApiClient.java:[17,29] package okhttp3.internal.http does not exist
  [ERROR] /home/francescolombardi/IdeaProjects/core-comunicator/target/generated-sources/openapi/src/gen/java/main/org/openapitools/client/ApiClient.java:[18,28] package okhttp3.internal.tls does not exist
  [ERROR] /home/francescolombardi/IdeaProjects/core-comunicator/target/generated-sources/openapi/src/gen/java/main/org/openapitools/client/ApiClient.java:[19,23] package okhttp3.logging does not exist
  [ERROR] /home/francescolombardi/IdeaProjects/core-comunicator/target/generated-sources/openapi/src/gen/java/main/org/openapitools/client/ApiClient.java:[20,46] package okhttp3.logging.HttpLoggingInterceptor does not exist
  [ERROR] /home/francescolombardi/IdeaProjects/core-comunicator/target/generated-sources/openapi/src/gen/java/main/org/openapitools/client/ApiClient.java:[21,12] package okio does not exist
  [ERROR] /home/francescolombardi/IdeaProjects/core-comunicator/target/generated-sources/openapi/src/gen/java/main/org/openapitools/client/ApiClient.java:[22,12] package okio does not exist
  [ERROR] /home/francescolombardi/IdeaProjects/core-comunicator/target/generated-sources/openapi/src/gen/java/main/org/openapitools/client/ApiClient.java:[74,13] cannot find symbol
    symbol:   class OkHttpClient
    location: class org.openapitools.client.ApiClient
  </code></pre>
  <p>my pom is:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
           xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &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;2.4.0-SNAPSHOT&lt;/version&gt;
          &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
      &lt;groupId&gt;com.cssl&lt;/groupId&gt;
      &lt;artifactId&gt;core-comunicator&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;core-comunicator&lt;/name&gt;
      &lt;description&gt;Demo project for Spring Boot&lt;/description&gt;
  
      &lt;properties&gt;
          &lt;java.version&gt;14&lt;/java.version&gt;
          &lt;openapi-generator-version&gt;4.3.1&lt;/openapi-generator-version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter&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;!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core --&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;5.4.18.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/org.postgresql/postgresql --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
              &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
              &lt;version&gt;42.2.14&lt;/version&gt;
  
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.openapitools&lt;/groupId&gt;
              &lt;artifactId&gt;openapi-generator-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;4.3.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
              &lt;artifactId&gt;lombok&lt;/artifactId&gt;
              &lt;version&gt;1.18.12&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/log4j/log4j --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/org.openapitools/openapi-generator --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.openapitools&lt;/groupId&gt;
              &lt;artifactId&gt;openapi-generator&lt;/artifactId&gt;
              &lt;version&gt;4.3.1&lt;/version&gt;
          &lt;/dependency&gt;
  
  
  
      &lt;/dependencies&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;spring-milestones&lt;/id&gt;
              &lt;name&gt;Spring Milestones&lt;/name&gt;
              &lt;url&gt;https://repo.spring.io/milestone&lt;/url&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;spring-snapshots&lt;/id&gt;
              &lt;name&gt;Spring Snapshots&lt;/name&gt;
              &lt;url&gt;https://repo.spring.io/snapshot&lt;/url&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;build&gt;
  
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.openapitools&lt;/groupId&gt;
                  &lt;artifactId&gt;openapi-generator-maven-plugin&lt;/artifactId&gt;
                  &lt;!-- RELEASE_VERSION --&gt;
                  &lt;version&gt;4.3.1&lt;/version&gt;
                  &lt;!-- /RELEASE_VERSION --&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;generate&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;inputSpec&gt;${project.basedir}/src/main/resources/player.yml&lt;/inputSpec&gt;
                              &lt;generatorName&gt;java&lt;/generatorName&gt;
                              &lt;configOptions&gt;
                                  &lt;sourceFolder&gt;src/gen/java/main&lt;/sourceFolder&gt;
                              &lt;/configOptions&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;spring-milestones&lt;/id&gt;
              &lt;name&gt;Spring Milestones&lt;/name&gt;
              &lt;url&gt;https://repo.spring.io/milestone&lt;/url&gt;
          &lt;/pluginRepository&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;spring-snapshots&lt;/id&gt;
              &lt;name&gt;Spring Snapshots&lt;/name&gt;
              &lt;url&gt;https://repo.spring.io/snapshot&lt;/url&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
  
  &lt;/project&gt;
  </code></pre>