title: com.apple.AppleJavaExtensions AboutHandler class not found
body: <p>I'm trying to compile my java project with maven, but every time i got this error:</p>
  
  <pre><code>ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project tts: Compilation failure: Compilation failure:
  [ERROR] /Users/stefano/Programming/git/DyslexoTTS/src/main/java/io/dyslexo/graphics/Tray.java:[3,22] cannot find symbol
  [ERROR]   symbol:   class AboutHandler
  [ERROR]   location: package com.apple.eawt
  </code></pre>
  
  <p>On intelliJ I have no issues, why maven does not work?
  Here the piece of code:</p>
  
  <pre><code>    Application application = Application.getApplication();
  application.setAboutHandler(e -&gt; {
      //my code 
  });
  </code></pre>
  
  <p>I also tried to compile on different platforms like linux and windows, but i got the same error.
  How can I fix that?</p>