added sample main classes for swing and javafx in a maven environment