Update pom.xml

This commit is contained in:
김정원
2022-03-03 05:04:57 +00:00
parent efe9ca50e4
commit 09ade67d92

613
pom.xml
View File

@@ -1,306 +1,307 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>kr.co.mantech</groupId> <groupId>kr.co.mantech</groupId>
<artifactId>acc-webapp-mvn</artifactId> <artifactId>acc-webapp-mvn</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>acc-webapp-mvn</name> <name>acc-webapp-mvn</name>
<description>Maven Accordion Webapp Test</description> <description>Maven Accordion Webapp Test</description>
<properties> <packaging>war</packaging>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <properties>
<java-version>1.8</java-version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source> <java-version>1.8</java-version>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- String -->
<org.springframework-version>4.3.14.RELEASE</org.springframework-version> <!-- String -->
<org.aspectj-version>1.8.9</org.aspectj-version> <org.springframework-version>4.3.14.RELEASE</org.springframework-version>
<org.aspectj-version>1.8.9</org.aspectj-version>
<!-- Web -->
<jsp.version>2.2.1</jsp.version> <!-- Web -->
<jstl.version>1.2.1</jstl.version> <jsp.version>2.2.1</jsp.version>
<servlet.version>3.0.1</servlet.version> <jstl.version>1.2.1</jstl.version>
<servlet.version>3.0.1</servlet.version>
<!-- Logging -->
<org.slf4j-version>1.7.25</org.slf4j-version> <!-- Logging -->
<log4-version>1.2.17</log4-version> <org.slf4j-version>1.7.25</org.slf4j-version>
<org.apache.tiles.version>3.0.3</org.apache.tiles.version> <log4-version>1.2.17</log4-version>
<org.apache.tiles.version>3.0.3</org.apache.tiles.version>
<!-- Maven -->
<maven-eclipse-plugin-version>2.10</maven-eclipse-plugin-version> <!-- Maven -->
<maven-compiler-plugin-version>3.7.0</maven-compiler-plugin-version> <maven-eclipse-plugin-version>2.10</maven-eclipse-plugin-version>
<exec-maven-plugin-version>1.6.0</exec-maven-plugin-version> <maven-compiler-plugin-version>3.7.0</maven-compiler-plugin-version>
<exec-maven-plugin-version>1.6.0</exec-maven-plugin-version>
<!-- DB -->
<dbh2.version>1.4.187</dbh2.version> <!-- DB -->
<mariadb.version>2.7.2</mariadb.version> <dbh2.version>1.4.187</dbh2.version>
<webapp.lib>${basedir}/src/main/webapp/WEB-INF/lib</webapp.lib> <mariadb.version>2.7.2</mariadb.version>
<webapp.lib>${basedir}/src/main/webapp/WEB-INF/lib</webapp.lib>
</properties>
</properties>
<repositories>
<repository> <repositories>
<id>myrepo</id> <repository>
<name>local-repo</name> <id>myrepo</id>
<url>file://${project.basedir}/lib</url> <name>local-repo</name>
</repository> <url>file://${project.basedir}/lib</url>
</repository>
</repositories>
</repositories>
<dependencies>
<dependencies>
<!-- Spring -->
<dependency> <!-- Spring -->
<groupId>org.springframework</groupId> <dependency>
<artifactId>spring-context</artifactId> <groupId>org.springframework</groupId>
<version>${org.springframework-version}</version> <artifactId>spring-context</artifactId>
<exclusions> <version>${org.springframework-version}</version>
<!-- Exclude Commons Logging in favor of SLF4j --> <exclusions>
<exclusion> <!-- Exclude Commons Logging in favor of SLF4j -->
<groupId>commons-logging</groupId> <exclusion>
<artifactId>commons-logging</artifactId> <groupId>commons-logging</groupId>
</exclusion> <artifactId>commons-logging</artifactId>
</exclusions> </exclusion>
</dependency> </exclusions>
<dependency> </dependency>
<groupId>org.springframework</groupId> <dependency>
<artifactId>spring-webmvc</artifactId> <groupId>org.springframework</groupId>
<version>${org.springframework-version}</version> <artifactId>spring-webmvc</artifactId>
</dependency> <version>${org.springframework-version}</version>
</dependency>
<!-- AspectJ -->
<dependency> <!-- AspectJ -->
<groupId>org.aspectj</groupId> <dependency>
<artifactId>aspectjrt</artifactId> <groupId>org.aspectj</groupId>
<version>${org.aspectj-version}</version> <artifactId>aspectjrt</artifactId>
</dependency> <version>${org.aspectj-version}</version>
</dependency>
<!-- Logging -->
<dependency> <!-- Logging -->
<groupId>org.slf4j</groupId> <dependency>
<artifactId>slf4j-api</artifactId> <groupId>org.slf4j</groupId>
<version>${org.slf4j-version}</version> <artifactId>slf4j-api</artifactId>
</dependency> <version>${org.slf4j-version}</version>
<dependency> </dependency>
<groupId>org.slf4j</groupId> <dependency>
<artifactId>jcl-over-slf4j</artifactId> <groupId>org.slf4j</groupId>
<version>${org.slf4j-version}</version> <artifactId>jcl-over-slf4j</artifactId>
<scope>runtime</scope> <version>${org.slf4j-version}</version>
</dependency> <scope>runtime</scope>
<dependency> </dependency>
<groupId>org.slf4j</groupId> <dependency>
<artifactId>slf4j-log4j12</artifactId> <groupId>org.slf4j</groupId>
<version>${org.slf4j-version}</version> <artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope> <version>${org.slf4j-version}</version>
</dependency> <scope>runtime</scope>
<dependency> </dependency>
<groupId>log4j</groupId> <dependency>
<artifactId>log4j</artifactId> <groupId>log4j</groupId>
<version>${log4-version}</version> <artifactId>log4j</artifactId>
<exclusions> <version>${log4-version}</version>
<exclusion> <exclusions>
<groupId>javax.mail</groupId> <exclusion>
<artifactId>mail</artifactId> <groupId>javax.mail</groupId>
</exclusion> <artifactId>mail</artifactId>
<exclusion> </exclusion>
<groupId>javax.jms</groupId> <exclusion>
<artifactId>jms</artifactId> <groupId>javax.jms</groupId>
</exclusion> <artifactId>jms</artifactId>
<exclusion> </exclusion>
<groupId>com.sun.jdmk</groupId> <exclusion>
<artifactId>jmxtools</artifactId> <groupId>com.sun.jdmk</groupId>
</exclusion> <artifactId>jmxtools</artifactId>
<exclusion> </exclusion>
<groupId>com.sun.jmx</groupId> <exclusion>
<artifactId>jmxri</artifactId> <groupId>com.sun.jmx</groupId>
</exclusion> <artifactId>jmxri</artifactId>
</exclusions> </exclusion>
<scope>runtime</scope> </exclusions>
</dependency> <scope>runtime</scope>
</dependency>
<!-- @Inject -->
<dependency> <!-- @Inject -->
<groupId>javax.inject</groupId> <dependency>
<artifactId>javax.inject</artifactId> <groupId>javax.inject</groupId>
<version>1</version> <artifactId>javax.inject</artifactId>
</dependency> <version>1</version>
</dependency>
<!-- Servlet -->
<!-- Servlet -->
<!-- Servlet -->
<dependency> <!-- Servlet -->
<groupId>javax.servlet</groupId> <dependency>
<artifactId>javax.servlet-api</artifactId> <groupId>javax.servlet</groupId>
<version>${servlet.version}</version> <artifactId>javax.servlet-api</artifactId>
<scope>provided</scope> <version>${servlet.version}</version>
</dependency> <scope>provided</scope>
<dependency> </dependency>
<groupId>javax.servlet.jsp</groupId> <dependency>
<artifactId>javax.servlet.jsp-api</artifactId> <groupId>javax.servlet.jsp</groupId>
<version>${jsp.version}</version> <artifactId>javax.servlet.jsp-api</artifactId>
<scope>provided</scope> <version>${jsp.version}</version>
</dependency> <scope>provided</scope>
<dependency> </dependency>
<groupId>javax.servlet.jsp.jstl</groupId> <dependency>
<artifactId>javax.servlet.jsp.jstl-api</artifactId> <groupId>javax.servlet.jsp.jstl</groupId>
<version>${jstl.version}</version> <artifactId>javax.servlet.jsp.jstl-api</artifactId>
</dependency> <version>${jstl.version}</version>
<dependency> </dependency>
<groupId>org.glassfish.web</groupId> <dependency>
<artifactId>javax.servlet.jsp.jstl</artifactId> <groupId>org.glassfish.web</groupId>
<version>${jstl.version}</version> <artifactId>javax.servlet.jsp.jstl</artifactId>
<exclusions> <version>${jstl.version}</version>
<!-- jstl-api was adding selvlet-api 2.5 and jsp-api--> <exclusions>
<exclusion> <!-- jstl-api was adding selvlet-api 2.5 and jsp-api-->
<artifactId>jstl-api</artifactId> <exclusion>
<groupId>javax.servlet.jsp.jstl</groupId> <artifactId>jstl-api</artifactId>
</exclusion> <groupId>javax.servlet.jsp.jstl</groupId>
</exclusions> </exclusion>
</dependency> </exclusions>
</dependency>
<!--
<dependency> <!--
<groupId>javax.servlet</groupId> <dependency>
<artifactId>servlet-api</artifactId> <groupId>javax.servlet</groupId>
<version>2.5</version> <artifactId>servlet-api</artifactId>
<scope>provided</scope> <version>2.5</version>
</dependency> <scope>provided</scope>
<dependency> </dependency>
<groupId>javax.servlet.jsp</groupId> <dependency>
<artifactId>jsp-api</artifactId> <groupId>javax.servlet.jsp</groupId>
<version>2.1</version> <artifactId>jsp-api</artifactId>
<scope>provided</scope> <version>2.1</version>
</dependency> <scope>provided</scope>
<dependency> </dependency>
<groupId>javax.servlet</groupId> <dependency>
<artifactId>jstl</artifactId> <groupId>javax.servlet</groupId>
<version>1.2</version> <artifactId>jstl</artifactId>
</dependency> <version>1.2</version>
--> </dependency>
-->
<!-- Test -->
<dependency> <!-- Test -->
<groupId>junit</groupId> <dependency>
<artifactId>junit</artifactId> <groupId>junit</groupId>
<version>4.11</version> <artifactId>junit</artifactId>
<scope>test</scope> <version>4.11</version>
</dependency> <scope>test</scope>
<!-- tiles --> </dependency>
<dependency> <!-- tiles -->
<groupId>org.apache.tiles</groupId> <dependency>
<artifactId>tiles-jsp</artifactId> <groupId>org.apache.tiles</groupId>
<version>${org.apache.tiles.version}</version> <artifactId>tiles-jsp</artifactId>
</dependency> <version>${org.apache.tiles.version}</version>
<dependency> </dependency>
<groupId>org.apache.tiles</groupId> <dependency>
<artifactId>tiles-core</artifactId> <groupId>org.apache.tiles</groupId>
<version>${org.apache.tiles.version}</version> <artifactId>tiles-core</artifactId>
</dependency> <version>${org.apache.tiles.version}</version>
</dependency>
<!-- H2 -->
<dependency> <!-- H2 -->
<groupId>com.h2database</groupId> <dependency>
<artifactId>h2</artifactId> <groupId>com.h2database</groupId>
<version>${dbh2.version}</version> <artifactId>h2</artifactId>
</dependency> <version>${dbh2.version}</version>
</dependency>
<!-- Mariadb -->
<!-- https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client --> <!-- Mariadb -->
<dependency> <!-- https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client -->
<groupId>org.mariadb.jdbc</groupId> <dependency>
<artifactId>mariadb-java-client</artifactId> <groupId>org.mariadb.jdbc</groupId>
<version>${mariadb.version}</version> <artifactId>mariadb-java-client</artifactId>
</dependency> <version>${mariadb.version}</version>
</dependency>
<!-- DBCP -->
<dependency> <!-- DBCP -->
<groupId>commons-dbcp</groupId> <dependency>
<artifactId>commons-dbcp</artifactId> <groupId>commons-dbcp</groupId>
<version>1.4</version> <artifactId>commons-dbcp</artifactId>
</dependency> <version>1.4</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.maven/maven-plugin-api -->
<!-- <!-- https://mvnrepository.com/artifact/org.apache.maven/maven-plugin-api -->
<dependency> <!--
<groupId>org.apache.maven</groupId> <dependency>
<artifactId>maven-plugin-api</artifactId> <groupId>org.apache.maven</groupId>
<version>3.0</version> <artifactId>maven-plugin-api</artifactId>
</dependency> <version>3.0</version>
--> </dependency>
-->
<!--
<dependency> <!--
<groupId>org.elasticsearch.client</groupId> <dependency>
<artifactId>elasticsearch-rest-high-level-client</artifactId> <groupId>org.elasticsearch.client</groupId>
<version>6.3.0</version> <artifactId>elasticsearch-rest-high-level-client</artifactId>
</dependency> <version>6.3.0</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId> <dependency>
<artifactId>elasticsearch-rest-client</artifactId> <groupId>org.elasticsearch.client</groupId>
<version>6.3.0</version> <artifactId>elasticsearch-rest-client</artifactId>
</dependency> <version>6.3.0</version>
--> </dependency>
-->
<dependency>
<groupId>javassist</groupId> <dependency>
<artifactId>javassist</artifactId> <groupId>javassist</groupId>
<version>3.0</version> <artifactId>javassist</artifactId>
</dependency> <version>3.0</version>
</dependency>
<!--
<dependency> <!--
<groupId>kr.co.mantech</groupId> <dependency>
<artifactId>javassist</artifactId> <groupId>kr.co.mantech</groupId>
<version>3.0</version> <artifactId>javassist</artifactId>
<scope>system</scope> <version>3.0</version>
<systemPath>${webapp.lib}/javassist.3.0.jar</systemPath> <scope>system</scope>
</dependency> <systemPath>${webapp.lib}/javassist.3.0.jar</systemPath>
--> </dependency>
-->
</dependencies>
</dependencies>
<build>
<finalName>acc-webapp-mvn</finalName> <build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> <finalName>acc-webapp-mvn</finalName>
<plugins> <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugin> <plugins>
<artifactId>maven-clean-plugin</artifactId> <plugin>
<version>3.1.0</version> <artifactId>maven-clean-plugin</artifactId>
</plugin> <version>3.1.0</version>
<!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging --> </plugin>
<plugin> <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
<artifactId>maven-resources-plugin</artifactId> <plugin>
<version>3.0.2</version> <artifactId>maven-resources-plugin</artifactId>
</plugin> <version>3.0.2</version>
<plugin> </plugin>
<artifactId>maven-compiler-plugin</artifactId> <plugin>
<version>3.8.0</version> <artifactId>maven-compiler-plugin</artifactId>
</plugin> <version>3.8.0</version>
<plugin> </plugin>
<artifactId>maven-surefire-plugin</artifactId> <plugin>
<version>2.22.1</version> <artifactId>maven-surefire-plugin</artifactId>
</plugin> <version>2.22.1</version>
<plugin> </plugin>
<artifactId>maven-war-plugin</artifactId> <plugin>
<version>3.2.2</version> <artifactId>maven-war-plugin</artifactId>
</plugin> <version>3.2.2</version>
<plugin> </plugin>
<artifactId>maven-install-plugin</artifactId> <plugin>
<version>2.5.2</version> <artifactId>maven-install-plugin</artifactId>
</plugin> <version>2.5.2</version>
<plugin> </plugin>
<artifactId>maven-deploy-plugin</artifactId> <plugin>
<version>2.8.2</version> <artifactId>maven-deploy-plugin</artifactId>
</plugin> <version>2.8.2</version>
</plugins> </plugin>
</pluginManagement> </plugins>
</build> </pluginManagement>
</project> </build>
</project>