pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.5.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.dbs</groupId>
  12. <artifactId>realworld</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>war</packaging>
  15. <name>realworld</name>
  16. <description>dbs-realworld</description>
  17. <properties>
  18. <java.version>11</java.version>
  19. </properties>
  20. <dependencies>
  21. <!--
  22. Embedded Tomcat Servlet Container를 포함한 웹 애플리케이션 빌드를 위한 요소들 포함한다
  23. -->
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <!-- DB -->
  29. <dependency>
  30. <groupId>org.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>2.2.0</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. <version>8.0.24</version>
  38. </dependency>
  39. <!--
  40. 애플리케이션이 jsp 페이지를 컴파일하고 렌더링할 수 있도록 한다
  41. -->
  42. <dependency>
  43. <groupId>org.apache.tomcat.embed</groupId>
  44. <artifactId>tomcat-embed-jasper</artifactId>
  45. <version>9.0.44</version>
  46. </dependency>
  47. <!--
  48. jstl 태그 라이브러리
  49. -->
  50. <dependency>
  51. <groupId>javax.servlet</groupId>
  52. <artifactId>jstl</artifactId>
  53. <version>1.2</version>
  54. </dependency>
  55. <!--
  56. https://www.baeldung.com/spring-boot-jsp#2-running-in-a-web-container-tomcat
  57. 톰캣 런타임과 충돌하지 않게 하기 위한 설정
  58. <dependency>
  59. <groupId>org.apache.tomcat.embed</groupId>
  60. <artifactId>tomcat-embed-jasper</artifactId>
  61. <version>9.0.44</version>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-tomcat</artifactId>
  67. <version>2.4.4</version>
  68. <scope>provided</scope>
  69. </dependency>
  70. -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-devtools</artifactId>
  74. <scope>runtime</scope>
  75. <optional>true</optional>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.projectlombok</groupId>
  79. <artifactId>lombok</artifactId>
  80. <optional>true</optional>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-tomcat</artifactId>
  85. <scope>provided</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-test</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. </dependencies>
  93. <build>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. <configuration>
  99. <excludes>
  100. <exclude>
  101. <groupId>org.projectlombok</groupId>
  102. <artifactId>lombok</artifactId>
  103. </exclude>
  104. </excludes>
  105. </configuration>
  106. </plugin>
  107. </plugins>
  108. </build>
  109. </project>