Building an Application with Spring Boot :: Learn how to build an application with minimal configuration. https://spring.io/guides/gs/spring-boot/

pom.xml 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.springframework</groupId>
  6. <artifactId>gs-spring-boot</artifactId>
  7. <version>0.1.0</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>0.5.0.BUILD-SNAPSHOT</version>
  12. </parent>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. </dependencies>
  19. <properties>
  20. <start-class>hello.Application</start-class>
  21. </properties>
  22. <build>
  23. <plugins>
  24. <plugin>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-maven-plugin</artifactId>
  27. </plugin>
  28. </plugins>
  29. </build>
  30. <repositories>
  31. <repository>
  32. <id>spring-snapshots</id>
  33. <url>http://repo.springsource.org/libs-snapshot</url>
  34. <snapshots><enabled>true</enabled></snapshots>
  35. </repository>
  36. </repositories>
  37. <pluginRepositories>
  38. <pluginRepository>
  39. <id>spring-snapshots</id>
  40. <url>http://repo.springsource.org/libs-snapshot</url>
  41. <snapshots><enabled>true</enabled></snapshots>
  42. </pluginRepository>
  43. </pluginRepositories>
  44. </project>