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.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-jetty</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-actuator</artifactId>
  25. </dependency>
  26. </dependencies>
  27. <properties>
  28. <start-class>hello.Application</start-class>
  29. </properties>
  30. <build>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-maven-plugin</artifactId>
  35. </plugin>
  36. </plugins>
  37. </build>
  38. <repositories>
  39. <repository>
  40. <id>spring-snapshots</id>
  41. <url>http://repo.springsource.org/libs-snapshot</url>
  42. <snapshots><enabled>true</enabled></snapshots>
  43. </repository>
  44. </repositories>
  45. <pluginRepositories>
  46. <pluginRepository>
  47. <id>spring-snapshots</id>
  48. <url>http://repo.springsource.org/libs-snapshot</url>
  49. <snapshots><enabled>true</enabled></snapshots>
  50. </pluginRepository>
  51. </pluginRepositories>
  52. </project>