Building a RESTful Web Service :: Learn how to create a RESTful web service with Spring. :: spring-boot http://spring.io/guides/gs/rest-service/

pom.xml 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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-rest-service</artifactId>
  7. <version>0.1.0</version>
  8. <parent>
  9. <groupId>org.springframework.bootstrap</groupId>
  10. <artifactId>spring-bootstrap-starters</artifactId>
  11. <version>0.5.0.BUILD-SNAPSHOT</version>
  12. </parent>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.bootstrap</groupId>
  16. <artifactId>spring-bootstrap-web-starter</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.fasterxml.jackson.core</groupId>
  20. <artifactId>jackson-databind</artifactId>
  21. </dependency>
  22. </dependencies>
  23. <!-- TODO: remove once bootstrap goes GA -->
  24. <repositories>
  25. <repository>
  26. <id>spring-snapshots</id>
  27. <url>http://repo.springsource.org/snapshot</url>
  28. <snapshots><enabled>true</enabled></snapshots>
  29. </repository>
  30. </repositories>
  31. <pluginRepositories>
  32. <pluginRepository>
  33. <id>spring-snapshots</id>
  34. <url>http://repo.springsource.org/snapshot</url>
  35. <snapshots><enabled>true</enabled></snapshots>
  36. </pluginRepository>
  37. </pluginRepositories>
  38. </project>