title: gradle 'dependencies.dependency.version' for is missing
body: <p>Using the plugin <code>io.spring.dependency-management</code> , some of the versions of my dependencies are deducts from others dependencies with</p>
  
  <pre><code>id("io.spring.dependency-management") version "1.0.6.RELEASE"
  dependencyManagement {
      imports {
          mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
      }
  }
  </code></pre>
  
  <p>Using <code>gradlew clean build install</code></p>
  
  <p>does install the jar with a pom that dosn't contains the version of many dependencies.</p>
  
  <p>Running the build of another submodule that depends of the first JAR, result to :</p>
  
  <pre><code>Errors occurred while build effective model from C:\APPLIS\HELIOSDEV\repo\com\sfr\ext_ope\library_ext_ope_admin\
  0.0.1-SNAPSHOT\library_ext_ope_admin-0.0.1-SNAPSHOT.pom:
  'dependencies.dependency.version' for io.github.jhipster:jhipster-framework:jar 
  is missing. in com.sfr.ext_ope:library_ext_ope_admin:0.0.1-SNAPSHOT
  </code></pre>
  
  <p>How to force the build to add the versions inside the generated pom ?</p>