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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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-complete</artifactId>
  7. <version>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. <properties>
  14. <start-class>hello.HelloWorldConfiguration</start-class>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.bootstrap</groupId>
  19. <artifactId>spring-bootstrap-web-starter</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.fasterxml.jackson.core</groupId>
  23. <artifactId>jackson-databind</artifactId>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.apache.maven.plugins</groupId>
  30. <artifactId>maven-shade-plugin</artifactId>
  31. </plugin>
  32. </plugins>
  33. </build>
  34. <repositories>
  35. <repository>
  36. <id>spring-snapshots</id>
  37. <url>http://repo.springsource.org/snapshot</url>
  38. <snapshots><enabled>true</enabled></snapshots>
  39. </repository>
  40. </repositories>
  41. <pluginRepositories>
  42. <pluginRepository>
  43. <id>spring-snapshots</id>
  44. <url>http://repo.springsource.org/snapshot</url>
  45. <snapshots><enabled>true</enabled></snapshots>
  46. </pluginRepository>
  47. </pluginRepositories>
  48. </project>