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

pom.xml 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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>1.0.2.RELEASE</version>
  12. </parent>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <!-- tag::actuator[] -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-actuator</artifactId>
  22. </dependency>
  23. <!-- end::actuator[] -->
  24. </dependencies>
  25. <properties>
  26. <start-class>hello.Application</start-class>
  27. </properties>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <artifactId>maven-compiler-plugin</artifactId>
  32. <version>2.3.2</version>
  33. </plugin>
  34. <plugin>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-maven-plugin</artifactId>
  37. </plugin>
  38. </plugins>
  39. </build>
  40. <repositories>
  41. <repository>
  42. <id>spring-snapshots</id>
  43. <url>http://repo.spring.io/libs-snapshot</url>
  44. <snapshots><enabled>true</enabled></snapshots>
  45. </repository>
  46. </repositories>
  47. <pluginRepositories>
  48. <pluginRepository>
  49. <id>spring-snapshots</id>
  50. <url>http://repo.spring.io/libs-snapshot</url>
  51. <snapshots><enabled>true</enabled></snapshots>
  52. </pluginRepository>
  53. </pluginRepositories>
  54. </project>