title: Why hibernate.cfg.xml is not being deployed?
body: <p>I've built an javafx application using maven. The app uses hibernate to connect to a database. But when I deploy it using the javafx-maven-plugin (mvn clean jfx:jar) it doesn't deploy the hibernate.cfg.xml.</p>
  
  <p>My pom.xml:</p>
  
  <pre><code>&lt;build&gt;
  
          &lt;finalName&gt;App_Name&lt;/finalName&gt;
  
          &lt;plugins&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;com.zenjava&lt;/groupId&gt;
                  &lt;artifactId&gt;javafx-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;8.1.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;mainClass&gt;com.company.app_name.Main&lt;/mainClass&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Thank you</p>