I saw a lot of spring projects based on maven pom.xml build file. And there was one strange thing: project built without public static void main() method. For example: https://github.com/geowarin/spring-mvc-security. In usual examples form spring.io there are classes with @SpringBootApplication annotations and SpringApplication.run(Application.class, args); in main functions. So, how maven builds applications without this class and how to do it right way in terminal?
SpringBootApplication
are spring boot applications, which are totally different in terms of packaging , building and starting the application – pvpkiran