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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. </dependencies>
  19. <properties>
  20. <!-- use UTF-8 for everything -->
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <start-class>hello.HelloWorldConfiguration</start-class>
  24. </properties>
  25. <repositories>
  26. <repository>
  27. <id>spring-snapshots</id>
  28. <name>Spring Snapshots</name>
  29. <url>http://repo.springsource.org/snapshot</url>
  30. <snapshots>
  31. <enabled>true</enabled>
  32. </snapshots>
  33. </repository>
  34. <repository>
  35. <id>spring-milestones</id>
  36. <name>Spring Milestones</name>
  37. <url>http://repo.springsource.org/milestone</url>
  38. <snapshots>
  39. <enabled>false</enabled>
  40. </snapshots>
  41. </repository>
  42. </repositories>
  43. </project>