Java bookstore project (Spring Boot + Thymeleaf + JPA + REST)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.2 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <packaging>war</packaging>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.2.4.RELEASE</version>
  11. <relativePath /> <!-- lookup parent from repository -->
  12. </parent>
  13. <groupId>com.fjordtek.bookstore</groupId>
  14. <artifactId>Bookstore</artifactId>
  15. <version>0.0.1-SNAPSHOT</version>
  16. <name>Bookstore</name>
  17. <description>Bookstore</description>
  18. <properties>
  19. <java.version>1.8</java.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-test</artifactId>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-data-jpa</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.h2database</groupId>
  45. <artifactId>h2</artifactId>
  46. </dependency>
  47. <!--
  48. NOTE: Do NOT enable validation dependency separately because it likely will conflict
  49. with <parent> version number and therefore, all validation check functionality
  50. is ignored by Spring Framework.
  51. Instead, drop down the version number so that we don't need to separately enable
  52. this dependency. (Find a better solution if needed)
  53. <dependency>
  54. <groupId>javax.validation</groupId>
  55. <artifactId>validation-api</artifactId>
  56. </dependency>
  57. -->
  58. </dependencies>
  59. <build>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-maven-plugin</artifactId>
  64. </plugin>
  65. </plugins>
  66. <finalName>${project.artifactId}</finalName>
  67. </build>
  68. </project>