title: javafx application in maven project
body: <p>I have a project with structure like this:</p>
  
  <p>main-project<br>
  -libary-1<br>
  -library-2<br>
  -i-need-javafx-app-here</p>
  
  <p>So, i need a JavaFX 2 application in my maven project, and it should use library-1 and library-2 with its dependencies. I can't find any maven archetypes for JavaFX 2 projects and i cand find any adequate information about how i can build JavaFX app by Maven 3. I don't need any deployment to web, it will only desktop app.</p>
  
  <p>So, can anybody help with this problem?</p>
  
  <p>UPD:</p>
  
  <p><code>java.lang.NoClassDefFoundError: javafx/application/Application<br>
      ...<br>
  Caused by: java.lang.ClassNotFoundException: javafx.application.Application</code><br>
  exception is occured when i try to run application, which is builded by <strong>pgras</strong> way.</p>