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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>0.5.0.M6</version>
  12. </parent>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.fasterxml.jackson.core</groupId>
  20. <artifactId>jackson-databind</artifactId>
  21. </dependency>
  22. </dependencies>
  23. <build>
  24. <plugins>
  25. <plugin>
  26. <artifactId>maven-compiler-plugin</artifactId>
  27. <version>2.3.2</version>
  28. </plugin>
  29. </plugins>
  30. </build>
  31. <repositories>
  32. <repository>
  33. <id>spring-snapshots</id>
  34. <url>http://repo.spring.io/libs-snapshot</url>
  35. <snapshots><enabled>true</enabled></snapshots>
  36. </repository>
  37. </repositories>
  38. <pluginRepositories>
  39. <pluginRepository>
  40. <id>spring-snapshots</id>
  41. <url>http://repo.spring.io/libs-snapshot</url>
  42. <snapshots><enabled>true</enabled></snapshots>
  43. </pluginRepository>
  44. </pluginRepositories>
  45. </project>