본문 바로가기

Dev

최신프로젝트 생성 pom

728x90

<?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/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>com.sfzen.atrium</groupId>

<artifactId>rba</artifactId>

<packaging>war</packaging>

<version>0.0.-SNAPSHOT</version>

<name>RBA 2.0</name>

<url>http://maven.apache.org</url>

  

<properties>

<java-version>1.8</java-version>

<org.springframework-version>4.3.10.RELEASE</org.springframework-version>

<spring.security.version>4.2.3.RELEASE</spring.security.version>

<org.aspectj-version>1.8.10</org.aspectj-version>

<org.slf4j-version>1.7.25</org.slf4j-version>

<org.log4j2-version>2.8.2</org.log4j2-version>

</properties>


<dependencyManagement>

<dependencies>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-framework-bom</artifactId>

<version>${org.springframework-version}</version>

<type>pom</type>

<scope>import</scope>

</dependency>

</dependencies>

</dependencyManagement>


<dependencies>

<!-- Spring -->

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-context</artifactId>

<exclusions>

<!-- Exclude Commons Logging in favor of SLF4j -->

<exclusion>

<groupId>commons-logging</groupId>

<artifactId>commons-logging</artifactId>

</exclusion>

</exclusions>

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-webmvc</artifactId>

</dependency>

<dependency>

   <groupId>org.springframework</groupId>

   <artifactId>spring-test</artifactId>

   <scope>test</scope>

</dependency>

<!-- Spring Security -->

<dependency>

<groupId>org.springframework.security</groupId>

<artifactId>spring-security-core</artifactId>

<version>${spring.security.version}</version>

<type>jar</type>

<scope>compile</scope>

</dependency>

<dependency>

<groupId>org.springframework.security</groupId>

<artifactId>spring-security-web</artifactId>

<version>${spring.security.version}</version>

<type>jar</type>

<scope>compile</scope>

</dependency>

<dependency>

<groupId>org.springframework.security</groupId>

<artifactId>spring-security-config</artifactId>

<version>${spring.security.version}</version>

<type>jar</type>

<scope>compile</scope>

</dependency>

<dependency>

<groupId>org.springframework.security</groupId>

<artifactId>spring-security-taglibs</artifactId>

<version>${spring.security.version}</version>

<type>jar</type>

<scope>compile</scope>

</dependency>

<!-- AspectJ -->

<dependency>

<groupId>org.aspectj</groupId>

<artifactId>aspectjrt</artifactId>

<version>${org.aspectj-version}</version>

</dependency>

<dependency>

   <groupId>org.aspectj</groupId>

   <artifactId>aspectjweaver</artifactId>

   <version>${org.aspectj-version}</version>

</dependency>

<!-- Logging -->

<dependency>

<groupId>org.slf4j</groupId>

<artifactId>slf4j-api</artifactId>

<version>${org.slf4j-version}</version>

</dependency>

<dependency>

<groupId>org.slf4j</groupId>

<artifactId>jcl-over-slf4j</artifactId>

<version>${org.slf4j-version}</version>

<scope>runtime</scope>

</dependency>

<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j-impl -->

<dependency>

   <groupId>org.apache.logging.log4j</groupId>

   <artifactId>log4j-slf4j-impl</artifactId>

   <version>${org.log4j2-version}</version>

</dependency>

<dependency>

<groupId>org.apache.logging.log4j</groupId>

   <artifactId>log4j-api</artifactId>

   <version>${org.log4j2-version}</version>

</dependency>

<dependency>

   <groupId>org.apache.logging.log4j</groupId>

   <artifactId>log4j-core</artifactId>

   <version>${org.log4j2-version}</version>

</dependency>

<!-- log4j 1.x 에서 core 에 포함되어 있던 부분이 2.0부터 분리되어서 Dependency로 추가 -->

<dependency>

   <groupId>org.apache.logging.log4j</groupId>

   <artifactId>log4j-web</artifactId>

   <version>${org.log4j2-version}</version>

</dependency>

<!-- Servlet -->

<dependency>

   <groupId>javax.servlet</groupId>

   <artifactId>javax.servlet-api</artifactId>

   <version>3.1.0</version>

   <scope>provided</scope>

</dependency>

<dependency>

   <groupId>javax.servlet.jsp</groupId>

   <artifactId>javax.servlet.jsp-api</artifactId>

   <version>2.3.1</version>

   <scope>provided</scope>

</dependency>

<dependency>

<groupId>javax.servlet</groupId>

<artifactId>jstl</artifactId>

<version>1.2</version>

</dependency>


<!-- mysql -->

<!-- dependency>

<groupId>mysql</groupId>

<artifactId>mysql-connector-java</artifactId>

<version>5.1.39</version>

</dependency -->


<!-- JDBC for Oracle -->

<dependency>

<groupId>com.oracle.jdbc</groupId>

<artifactId>ojdbc8</artifactId>

<version>12.2.0.1</version>

</dependency>


<!-- MyBatis -->

<dependency>

 <groupId>org.mybatis</groupId>

 <artifactId>mybatis</artifactId>

 <version>3.4.4</version>

</dependency>

<dependency>

<groupId>org.mybatis</groupId>

<artifactId>mybatis-spring</artifactId>

<version>1.3.1</version>

</dependency>

<!-- JDBC -->

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-jdbc</artifactId>

</dependency>


<!-- JUNIT test -->

<dependency>

 <groupId>junit</groupId>

 <artifactId>junit</artifactId>

 <version>4.12</version>

 <scope>test</scope>

</dependency>

<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->

<dependency>

   <groupId>org.mockito</groupId>

   <artifactId>mockito-core</artifactId>

   <version>2.8.47</version>

   <scope>test</scope>

</dependency>

</dependencies>


<repositories>

<repository>

<id>maven.oracle.com</id>

<name>oracle-maven-repo</name>

<url>https://maven.oracle.com</url>

<layout>default</layout>

<releases>

<enabled>true</enabled>

<updatePolicy>always</updatePolicy>

</releases>

</repository>

</repositories>

<pluginRepositories>

<pluginRepository>

<id>maven.oracle.com</id>

<name>oracle-maven-repo</name>

<url>https://maven.oracle.com</url>

<layout>default</layout>

<releases>

<enabled>true</enabled>

<updatePolicy>always</updatePolicy>

</releases>

</pluginRepository>

</pluginRepositories>


<build>

<finalName>sfzen-atrium-rba1.0</finalName>

<plugins>

<plugin>

                <artifactId>maven-eclipse-plugin</artifactId>

                <version>3.6.1</version>

                <configuration>

                    <additionalProjectnatures>

                        <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>

                    </additionalProjectnatures>

                    <additionalBuildcommands>

                        <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>

                    </additionalBuildcommands>

                    <downloadSources>true</downloadSources>

                    <downloadJavadocs>true</downloadJavadocs>

                </configuration>

            </plugin>

<plugin>

               <groupId>org.apache.maven.plugins</groupId>

               <artifactId>maven-compiler-plugin</artifactId>

               <version>3.6.1</version>

               <configuration>

                   <source>1.8</source>

                   <target>1.8</target>

                   <compilerArgument>-Xlint:all</compilerArgument>

                   <showWarnings>true</showWarnings>

                   <showDeprecation>true</showDeprecation>

               </configuration>

           </plugin>

 </plugins>

</build>


</project>