title: jar is missing in pom.xml error but is usually not included
body: <p>I am working on a really basic program in spring. This is a snippet of my pom.xml</p>
  
  <p></p>
  
  <pre><code>&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-mail&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;
  </code></pre>
  
  <p></p>
  
  <p>This is the error I am getting: </p>
  
  <p>[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter:jar is missing.
  [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-mail:jar is missing.
  [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing.</p>
  
  <p>I get that this is because my dependencies don't have a &lt; version > section. However, in all the other java applications that I have worked on, including the one I am referencing right now, the versions for these basic dependencies are never included. Is there something else in my pom that I am supposed to include beforehand, that may be included in the files that I am referencing but not the one I have created from scratch? If not, how are they working without the version included in their pom dependencies?
  Additionally, how would I go about finding the version for these basic dependencies? </p>