title: Input stream not found at : fonts.xml for JasperReports
body: <p>I've allready two days tring to resolve this issue and no success.This exception is thrown </p>
  
  <pre><code>Caused by: net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Input stream not found at : fonts.xml
          at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontFamilies(SimpleFontExtensionHelper.java:188)
  at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontFamilies(SimpleFontExtensionHelper.java:188)
  </code></pre>
  
  <p>I use java 8 with Maven builder</p>
  
  <p>It's my pom.xml configuration</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
      &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
      &lt;version&gt;6.0.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
      &lt;artifactId&gt;jasperreports-fonts&lt;/artifactId&gt;
      &lt;version&gt;6.0.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>This is a jasperreports_extension.properties configuration which is after packaging with maven located in root path</p>
  
  <pre><code>net.sf.jasperreports.extension.registry.factory.system.font.families=net.sf.dynamicreports.jasper.base.JasperSystemFontExtensionsRegistryFactor
  net.sf.jasperreports.extension.system.font.families.drfonts=fonts.xml
  </code></pre>
  
  <p>This is my fonts.xml</p>
  
     
  
  <p></p>
  
  <pre><code>&lt;fontFamily name="SansSerif"&gt;
      &lt;exportFonts&gt;
          &lt;export key="net.sf.jasperreports.html"&gt;Arial, Helvetica, sans-serif&lt;/export&gt;
          &lt;export key="net.sf.jasperreports.xhtml"&gt;Arial, Helvetica, sans-serif&lt;/export&gt;
      &lt;/exportFonts&gt;
  &lt;/fontFamily&gt;
  
  &lt;fontFamily name="Serif"&gt;
      &lt;exportFonts&gt;
          &lt;export key="net.sf.jasperreports.html"&gt;'Times New Roman', Times, serif&lt;/export&gt;
          &lt;export key="net.sf.jasperreports.xhtml"&gt;'Times New Roman', Times, serif&lt;/export&gt;
      &lt;/exportFonts&gt;
  &lt;/fontFamily&gt;
  
  &lt;fontFamily name="Monospaced"&gt;
      &lt;exportFonts&gt;
          &lt;export key="net.sf.jasperreports.html"&gt;'Courier New', Courier, monospace&lt;/export&gt;
          &lt;export key="net.sf.jasperreports.xhtml"&gt;'Courier New', Courier, monospace&lt;/export&gt;
      &lt;/exportFonts&gt;
  &lt;/fontFamily&gt;
  </code></pre>
  
  <p></p>
  
  <p>When i do this in eclipse everthing works fine and PDF is created.</p>
  
  <p>When i build via maven and try to execute from cmd then i got this exception.</p>
  
  <p>I also tried to add another customfont.xml in net.sf.jasperreports.fonts and repath net.sf.jasperreports.extension.system.font.families.drfonts=fonts.xml to</p>
  
  <p>net.sf.jasperreports.extension.system.font.families.drfonts=net/sf/jasperreports/fonts but nothing works....</p>