diff --git a/pom.xml b/pom.xml index d95533e2..81264782 100644 --- a/pom.xml +++ b/pom.xml @@ -1,125 +1,53 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - xit-app + + + org.springframework.boot + spring-boot-starter-parent + 2.7.12 + + + + cokr.xit.app fims - war - 1.0.0-SNAPSHOT + 0.0.1-SNAPSHOT fims - http://www.xit.co.kr + fims - UTF-8 - 17 - ${java.version} - ${java.version} - - + 17 - - - maven-public - http://xit.xit-nexus.com:8081/repository/maven-public/ - - - egovframe - https://maven.egovframe.go.kr/maven/ - - true - - - false - - - - - - cokr.xit.base - xit-base - 23.04.01-SNAPSHOT - - org.mariadb.jdbc mariadb-java-client - 2.7.2 - - - org.junit.jupiter - junit-jupiter-engine - 5.9.2 - provided - - - - - - - org.egovframe.rte - org.egovframe.rte.fdl.cmmn - 4.1.0 - - - org.egovframe.rte - org.egovframe.rte.fdl.idgnr - 4.1.0 + runtime - - fims + - org.apache.maven.plugins - maven-war-plugin - 3.3.2 + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + - - - - - maven-snapshot - - http://xit.xit-nexus.com:8081/repository/maven-snapshots/ - - - - - maven-release - http://xit.xit-nexus.com:8081/repository/maven-releases/ - - - - - - - - - + \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 00000000..d435e99d --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,37 @@ +server: + servlet: + context-path: /fims + +spring: + application: + name: fims + + main: + allow-bean-definition-overriding: true + + sql: + init: + platform: mariadb + + datasource: + driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy + url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/platform?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false + username: fimsweb + password: fimsweb!@ + +messageSource: + basenames: + - classpath:message/message-common + - classpath:message/authentication-message + - classpath:org/egovframe/rte/fdl/property/messages/properties + +propertyService: + properties: + - tempDir: C:\temp + - pageUnit: 10 + - pageSize: 10 +# extFileName: +# - encoding: UTF-8 +# filename: classpath*:properties/your-file-01.properties +# - encoding: UTF-8 +# filename: classpath*:properties/your-file-02.properties diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml deleted file mode 100644 index 38834dce..00000000 --- a/src/main/resources/log4j2.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..e3e4f752 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + ${LOG_PATTERN} + + + + + ${LOG_PATH}/${LOG_FILE_NAME}.log + + ${LOG_PATTERN} + + + + + ${LOG_PATH}/${LOG_FILE_NAME}.%d{yyyy-MM-dd}_%i.log + + 10MB + + + 30 + + + + + + + error + ACCEPT + DENY + + + ${LOG_PATH}/${ERR_LOG_FILE_NAME}.log + + ${LOG_PATTERN} + + + + + ${LOG_PATH}/${ERR_LOG_FILE_NAME}.%d{yyyy-MM-dd}_%i.log + + + 10MB + + + 60 + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/lombok.config b/src/main/resources/lombok.config deleted file mode 100644 index 0a8874c0..00000000 --- a/src/main/resources/lombok.config +++ /dev/null @@ -1,2 +0,0 @@ -# see https://projectlombok.org/features/constructor lombok.copyableAnnotations -lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier