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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.0.1-SNAPSHOT</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. <name>Spring Snapshots</name>
  28. <url>http://repo.springsource.org/snapshot</url>
  29. <snapshots>
  30. <enabled>true</enabled>
  31. </snapshots>
  32. </repository>
  33. </repositories>
  34. <pluginRepositories>
  35. <pluginRepository>
  36. <id>spring-snapshots</id>
  37. <name>Spring Snapshots</name>
  38. <url>http://repo.springsource.org/snapshot</url>
  39. <snapshots>
  40. <enabled>true</enabled>
  41. </snapshots>
  42. </pluginRepository>
  43. </pluginRepositories>
  44. </project>