c239e02410
JSP 화면을 유지하면서 java -jar로 실행할 수 있도록 내장 Tomcat과 Jasper를 포함한다. 외부 WAS용 ServletInitializer와 web.xml을 제거하고 쿠키 필터를 Spring Bean으로 등록한다. 중복 Maven 의존성을 정리하고 실행 방법을 README에 추가한다.
282 lines
10 KiB
XML
282 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.4.3</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>com.ns.mobile</groupId>
|
|
<artifactId>nsmobile-website</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<!-- JSP 뷰를 포함하면서 java -jar로 실행하기 위한 Spring Boot 실행형 WAR -->
|
|
<packaging>war</packaging>
|
|
<name>nsmovile-website</name>
|
|
<description>nsmobile project for Spring Boot</description>
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<webapp.lib>${basedir}/src/main/webapp/WEB-INF/lib</webapp.lib>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-rest</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-integration</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.ulisesbocchio</groupId>
|
|
<artifactId>jasypt-spring-boot-starter</artifactId>
|
|
<version>3.0.3</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
</dependency>
|
|
-->
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.integration/spring-integration-http -->
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-http</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.integration/spring-integration-jdbc -->
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-jdbc</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.integration/spring-integration-jpa -->
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-jpa</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.integration/spring-integration-mail -->
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-mail</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.integration/spring-integration-security -->
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-security</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.thymeleaf.extras</groupId>
|
|
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client -->
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>2.7.3</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.bgee.log4jdbc-log4j2/log4jdbc-log4j2-jdbc4.1 -->
|
|
<!--
|
|
<dependency>
|
|
<groupId>org.bgee.log4jdbc-log4j2</groupId>
|
|
<artifactId>log4jdbc-log4j2-jdbc4.1</artifactId>
|
|
<version>1.16</version>
|
|
</dependency>
|
|
-->
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<scope>runtime</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.20</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!-- JSP를 사용하는 독립 실행형 Spring Boot WAR에 필요한 JSP 엔진 -->
|
|
<dependency>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.junit.vintage</groupId>
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/ch.simas.qlrm/qlrm -->
|
|
<dependency>
|
|
<groupId>ch.simas.qlrm</groupId>
|
|
<artifactId>qlrm</artifactId>
|
|
<version>1.7.1</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>1.13.1</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
<version>2.4.5</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
|
|
<dependency>
|
|
<groupId>com.auth0</groupId>
|
|
<artifactId>java-jwt</artifactId>
|
|
<version>3.15.0</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.github.mervick/aes-everywhere-java -->
|
|
<dependency>
|
|
<groupId>com.github.mervick</groupId>
|
|
<artifactId>aes-everywhere-java</artifactId>
|
|
<version>1.2.7</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.13</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter -->
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>2.2.0</version>
|
|
</dependency>
|
|
|
|
<!-- Pull in as a traditional dependency -->
|
|
<dependency>
|
|
<groupId>com.konghq</groupId>
|
|
<artifactId>unirest-java</artifactId>
|
|
<version>3.11.09</version>
|
|
</dependency>
|
|
|
|
<!-- jstl dependecy -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>taglibs</groupId>
|
|
<artifactId>standard</artifactId>
|
|
<version>1.1.2</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-taglibs -->
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
<version>5.5.0</version>
|
|
</dependency>
|
|
|
|
<!-- DB Logback -->
|
|
<dependency>
|
|
<groupId>org.bgee.log4jdbc-log4j2</groupId>
|
|
<artifactId>log4jdbc-log4j2-jdbc4.1</artifactId>
|
|
<version>1.16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vaadin.external.google</groupId>
|
|
<artifactId>android-json</artifactId>
|
|
<version>0.0.20131108.vaadin1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/junit/junit -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>5.0.0</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>nsmobile</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|