title: How can i add images in source folder of a Maven Java Project?
body: <p>I have images in source folder of a maven java project. you can see it in the below image.</p>
  
  <p><a href="https://i.stack.imgur.com/kOWTl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kOWTl.png" alt="images in source folder"></a></p>
  
  <p>if i run install command of maven, when i see generated jar file , i could not see the images in sources in the jar file.</p>
  
  <p>My maven configuration is like below.</p>
  
  <p>
      </p>
  
  <pre><code>    &lt;plugins&gt;
  
          &lt;plugin&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.6.1&lt;/version&gt;
              &lt;configuration&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;archive&gt;
                      &lt;manifest&gt;
                          &lt;mainClass&gt;&lt;/mainClass&gt;
                      &lt;/manifest&gt;
                  &lt;/archive&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/pluginManagement&gt;
  </code></pre>
  
  <p></p>
  
  <p>How can i add images in source folder to jar file for my maven java project ?</p>