I have a problem while maven packaging. In this code:
public class LoginDialog extends Dialog { private final TextField customer;
You need to tell the maven compiler plugin that your code is using a recent java version. For instance, if you are using java 7, to the following:
org.apache.maven.plugins maven-compiler-plugin 1.7 1.7