479 lines
14 KiB
XML
479 lines
14 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 http://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>1.5.15.RELEASE</version>
|
|
<relativePath /> <!-- lookup parent from repository -->
|
|
</parent>
|
|
|
|
<groupId>com.skti</groupId>
|
|
<artifactId>skti-nets</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>SKTI NETS</name>
|
|
<description>SK Innovation New Energy Trading System</description>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
<hibernate.version>5.2.10.Final</hibernate.version>
|
|
<project.lib.path>${basedir}/src/main/resources/lib</project.lib.path>
|
|
</properties>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>releases</id>
|
|
<name>releases</name>
|
|
<url>https://nexus.cloudzcp.io/repository/maven-ski-ertm-releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>snapshots</id>
|
|
<name>snapshots</name>
|
|
<url>https://nexus.cloudzcp.io/repository/maven-ski-etrm-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<!-- <repositories> -->
|
|
<!-- <repository> -->
|
|
<!-- <id>nets-project</id> -->
|
|
<!-- <name>external jars</name> -->
|
|
<!-- <url>file://${project.basedir}/src/main/resources/lib</url> -->
|
|
<!-- </repository> -->
|
|
|
|
<!-- <repository> -->
|
|
<!-- <id>nets-jenkins</id> -->
|
|
<!-- <name>external-jar-jenkins</name> -->
|
|
<!-- <url>file://${JENKINS_HOME}/jobs/${JOB_NAME}/workspace/lib</url> -->
|
|
<!-- </repository> -->
|
|
<!-- </repositories> -->
|
|
|
|
<dependencies>
|
|
<!-- Spring Boot -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- AOP -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Validation -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Spring Security -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SSO -->
|
|
<!-- 이 라이브러리는 maven central에서는 제공하지 않고 있기 때문에, 별도nexus에 등록하여 제공받아야함. -->
|
|
<dependency>
|
|
<groupId>jsso</groupId>
|
|
<artifactId>nsso-domain-15</artifactId>
|
|
<version>6.7.0-SNAPSHOT</version>
|
|
<scope>system</scope>
|
|
<systemPath>${project.lib.path}/nsso-domain-15-6.7.0-SNAPSHOT.jar</systemPath>
|
|
</dependency>
|
|
|
|
<!-- jdbc -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
|
|
<!-- h2database -->
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Mybatis -->
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
|
|
<!-- JPA -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
|
|
<!-- JPA - Date json format 변경을 위해 사용 -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
</dependency>
|
|
|
|
<!-- JPA - toString 순환참조 방지 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.7</version>
|
|
</dependency>
|
|
|
|
<!-- JPA - Native Query Mapper -->
|
|
<dependency>
|
|
<groupId>ch.simas.qlrm</groupId>
|
|
<artifactId>qlrm</artifactId>
|
|
<version>1.7.1</version>
|
|
</dependency>
|
|
|
|
<!-- Model Mapper : 사용예 )DTO 를 Entity 로 변환 -->
|
|
<dependency>
|
|
<groupId>org.modelmapper</groupId>
|
|
<artifactId>modelmapper</artifactId>
|
|
<version>2.1.0</version>
|
|
</dependency>
|
|
|
|
<!-- Thymeleaf -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Swagger 2 -->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>2.9.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>2.9.2</version>
|
|
</dependency>
|
|
|
|
<!-- CUID -->
|
|
<dependency>
|
|
<groupId>cool.graph</groupId>
|
|
<artifactId>cuid-java</artifactId>
|
|
<version>0.1.1</version>
|
|
</dependency>
|
|
|
|
<!-- Time 관련 -->
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Lombok -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- jdbc -->
|
|
<!-- 이 라이브러리는 maven central에서는 제공하지 않고 있기 때문에, 별도nexus에 등록하여 제공받아야함. -->
|
|
<dependency>
|
|
<groupId>com.oracle.database.jdbc</groupId>
|
|
<artifactId>ojdbc8</artifactId>
|
|
<version>12.2.0.1</version>
|
|
</dependency>
|
|
|
|
<!-- 이 라이브러리는 maven central에서는 제공하지 않고 있기 때문에, 별도nexus에 등록하여 제공받아야함. -->
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>com.microsoft.sqlserver</groupId> -->
|
|
<!-- <artifactId>sqljdbc4</artifactId> -->
|
|
<!-- <version>4.0</version> -->
|
|
<!-- </dependency> -->
|
|
|
|
<!-- 암호화 - RSA -->
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-rsa</artifactId>
|
|
<version>1.0.7.RELEASE</version>
|
|
</dependency>
|
|
|
|
<!-- Redis -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Redis Session -->
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!-- EhCache -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.ehcache</groupId>
|
|
<artifactId>ehcache</artifactId>
|
|
</dependency>
|
|
|
|
<!-- XSS -->
|
|
<dependency>
|
|
<groupId>com.navercorp.lucy</groupId>
|
|
<artifactId>lucy-xss</artifactId>
|
|
<version>1.6.3</version>
|
|
</dependency>
|
|
|
|
<!-- JSP -->
|
|
<!-- JSP 설정 가이드 -->
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>org.apache.tomcat.embed</groupId> -->
|
|
<!-- <artifactId>tomcat-embed-jasper</artifactId> -->
|
|
<!-- </dependency> -->
|
|
<!-- <dependency> -->
|
|
<!-- <groupId>javax.servlet</groupId> -->
|
|
<!-- <artifactId>jstl</artifactId> -->
|
|
<!-- </dependency> -->
|
|
|
|
<!-- Apache CXF -->
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-spring-boot-starter-jaxws</artifactId>
|
|
<version>3.2.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
<version>3.2.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
|
|
<version>3.2.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
<version>3.2.7</version>
|
|
</dependency>
|
|
<!-- Apache POI -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>4.1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>4.1.2</version>
|
|
</dependency>
|
|
|
|
<!-- QueryDls -->
|
|
<dependency>
|
|
<groupId>com.querydsl</groupId>
|
|
<artifactId>querydsl-apt</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.querydsl</groupId>
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.querydsl</groupId>
|
|
<artifactId>querydsl-sql-spring</artifactId>
|
|
<version>${querydsl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-java8</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>springloaded</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SMTP 메일 발송 -->
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
</dependency>
|
|
|
|
<!-- @see: http://nexus.skinnovation.com:8987/#browse/search=keyword%3D%22com%5C%2Fsap%5C%2Fsapjco%5C%2F3%5C.0%5C.11%5C%2Fsapjco%5C-3%5C.0%5C.11%5C.jar%22:4b378653591c67220a3dffdedfdf40ef -->
|
|
<dependency>
|
|
<groupId>com.sap</groupId>
|
|
<artifactId>sapjco</artifactId>
|
|
<version>3.1.4</version>
|
|
<scope>system</scope>
|
|
<systemPath>${project.lib.path}/sapjco3.jar</systemPath>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>local</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<build.profile.id>local</build.profile.id>
|
|
<profileActive>local</profileActive>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>dev</id>
|
|
<properties>
|
|
<build.profile.id>dev</build.profile.id>
|
|
<profileActive>dev</profileActive>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>prd</id>
|
|
<properties>
|
|
<build.profile.id>prd</build.profile.id>
|
|
<profileActive>prd</profileActive>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<finalName>skti-nets-${project.version}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<layout>ZIP</layout>
|
|
<includeSystemScope>true</includeSystemScope>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- LICENSE -->
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>3.0</version>
|
|
<configuration>
|
|
<header>src/main/resources/config/license-header.txt</header>
|
|
<includes>
|
|
<include>src/main/java/**/*.java</include>
|
|
<include>src/test/java/**/*.java</include>
|
|
<include>src/main/resources/**/*.css</include>
|
|
<include>src/main/resources/**/*.js</include>
|
|
<include>src/main/resources/**/*.html</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>src/main/resources/static/skiaf/alopex/**</exclude>
|
|
<exclude>src/main/resources/static/skiaf/script/jquery/**</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.mysema.maven</groupId>
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
<version>1.1.3</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>process</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- <plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
<configuration>
|
|
<file>${project.basedir}/lib/com/sap/sapjco/3.1.4/sapjco3.jar</file>
|
|
<groupId>com.sap</groupId>
|
|
<artifactId>sapjco</artifactId>
|
|
<version>1.0</version>
|
|
<packaging>jar</packaging>
|
|
<file>${project.basedir}/src/main/resources/lib/sapjco3.jar</file>
|
|
<generatePom>true</generatePom>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>inst_sapjco</id>
|
|
<goals>
|
|
<goal>install-file</goal>
|
|
</goals>
|
|
<phase>install</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin> -->
|
|
|
|
<!-- <plugin> -->
|
|
<!-- <groupId>org.hibernate.orm.tooling</groupId> -->
|
|
<!-- <artifactId>hibernate-enhance-maven-plugin</artifactId> -->
|
|
<!-- <version>${hibernate.version}</version> -->
|
|
<!-- <executions> -->
|
|
<!-- <execution> -->
|
|
<!-- <configuration> -->
|
|
<!-- <enableLazyInitialization>true</enableLazyInitialization> -->
|
|
<!-- </configuration> -->
|
|
<!-- <goals> -->
|
|
<!-- <goal>enhance</goal> -->
|
|
<!-- </goals> -->
|
|
<!-- </execution> -->
|
|
<!-- </executions> -->
|
|
<!-- </plugin> -->
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|