java - maven testing with main frame