pom.xml 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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>io.pivotal.workshop</groupId>
  6. <artifactId>directory-web</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>directory-web</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.0.M7</version>
  15. <relativePath /> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <!-- SOLUTION: XML reponse -->
  28. <!--
  29. <dependency>
  30. <groupId>com.fasterxml.jackson.dataformat</groupId>
  31. <artifactId>jackson-dataformat-xml</artifactId>
  32. </dependency>
  33. -->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-test</artifactId>
  37. <scope>test</scope>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-maven-plugin</artifactId>
  45. </plugin>
  46. </plugins>
  47. </build>
  48. <repositories>
  49. <repository>
  50. <id>spring-snapshots</id>
  51. <name>Spring Snapshots</name>
  52. <url>https://repo.spring.io/snapshot</url>
  53. <snapshots>
  54. <enabled>true</enabled>
  55. </snapshots>
  56. </repository>
  57. <repository>
  58. <id>spring-milestones</id>
  59. <name>Spring Milestones</name>
  60. <url>https://repo.spring.io/milestone</url>
  61. <snapshots>
  62. <enabled>false</enabled>
  63. </snapshots>
  64. </repository>
  65. </repositories>
  66. <pluginRepositories>
  67. <pluginRepository>
  68. <id>spring-snapshots</id>
  69. <name>Spring Snapshots</name>
  70. <url>https://repo.spring.io/snapshot</url>
  71. <snapshots>
  72. <enabled>true</enabled>
  73. </snapshots>
  74. </pluginRepository>
  75. <pluginRepository>
  76. <id>spring-milestones</id>
  77. <name>Spring Milestones</name>
  78. <url>https://repo.spring.io/milestone</url>
  79. <snapshots>
  80. <enabled>false</enabled>
  81. </snapshots>
  82. </pluginRepository>
  83. </pluginRepositories>
  84. </project>