pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. <!--
  29. 애플리케이션이 jsp 페이지를 컴파일하고 렌더링할 수 있도록 한다
  30. -->
  31. <dependency>
  32. <groupId>org.apache.tomcat.embed</groupId>
  33. <artifactId>tomcat-embed-jasper</artifactId>
  34. <version>9.0.44</version>
  35. </dependency>
  36. <!--
  37. jstl 태그 라이브러리
  38. -->
  39. <dependency>
  40. <groupId>javax.servlet</groupId>
  41. <artifactId>jstl</artifactId>
  42. <version>1.2</version>
  43. </dependency>
  44. <!--
  45. https://www.baeldung.com/spring-boot-jsp#2-running-in-a-web-container-tomcat
  46. 톰캣 런타임과 충돌하지 않게 하기 위한 설정
  47. <dependency>
  48. <groupId>org.apache.tomcat.embed</groupId>
  49. <artifactId>tomcat-embed-jasper</artifactId>
  50. <version>9.0.44</version>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-tomcat</artifactId>
  56. <version>2.4.4</version>
  57. <scope>provided</scope>
  58. </dependency>
  59. -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-devtools</artifactId>
  63. <scope>runtime</scope>
  64. <optional>true</optional>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-tomcat</artifactId>
  74. <scope>provided</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-test</artifactId>
  79. <scope>test</scope>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-maven-plugin</artifactId>
  87. <configuration>
  88. <excludes>
  89. <exclude>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok</artifactId>
  92. </exclude>
  93. </excludes>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>