title: Getting version from pom in JSP for Spring Boot Web
body: <p>I was trying to print the application version from pom.xml in my JSP pages. i tried combing the filtering with Spring boot.
  But the values are not rendered in the jsp pages.</p>
  
  <p>I added the below section in pom.xml.</p>
  
  <pre><code>&lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;webResources&gt;
                      &lt;resource&gt;
                          &lt;directory&gt;src/main/resources/templates&lt;/directory&gt;
                          &lt;filtering&gt;true&lt;/filtering&gt;
                      &lt;/resource&gt;
                  &lt;/webResources&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>And addded the below in jsp pages:-</p>
  
  <pre><code>&lt;h4&gt;${project.description}&lt;/h4&gt;
  &lt;h4&gt;${project.name}&lt;/h4&gt;
  &lt;h4&gt;${project.version}&lt;/h4&gt;
  </code></pre>
  
  <p>But when the JSP page renderes the tags are empty with no values in it.</p>