|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>jbr.springmvc</groupId> |
| 6 | + <artifactId>springmvc-ViewResolver-ContentNegotiating</artifactId> |
| 7 | + <packaging>war</packaging> |
| 8 | + <version>0.1</version> |
| 9 | + <name>springmvc-ViewResolver-ContentNegotiating Maven Webapp</name> |
| 10 | + <url>http://maven.apache.org</url> |
| 11 | + |
| 12 | + <properties> |
| 13 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 14 | + <java.version>1.8</java.version> |
| 15 | + <mvn.compiler.plugin.version>3.5.1</mvn.compiler.plugin.version> |
| 16 | + <mvn.war.plugin.version>2.4</mvn.war.plugin.version> |
| 17 | + <junit.version>4.12</junit.version> |
| 18 | + |
| 19 | + <springframework.version>5.1.0.RELEASE</springframework.version> |
| 20 | + <hibernate.validator.version>5.1.2.Final</hibernate.validator.version> |
| 21 | + <javax.validation.version>1.1.0.Final</javax.validation.version> |
| 22 | + |
| 23 | + <jstl.api.version>1.2.1</jstl.api.version> |
| 24 | + <taglib.std.version>1.1.2</taglib.std.version> |
| 25 | + <servlet.api.version>3.1.0</servlet.api.version> |
| 26 | + <jsp.api.version>2.3.1</jsp.api.version> |
| 27 | + |
| 28 | + <jackson.version>2.9.4</jackson.version> |
| 29 | + <apach.poi.version>4.0.1</apach.poi.version> |
| 30 | + </properties> |
| 31 | + |
| 32 | + <dependencies> |
| 33 | + <dependency> |
| 34 | + <groupId>junit</groupId> |
| 35 | + <artifactId>junit</artifactId> |
| 36 | + <version>${junit.version}</version> |
| 37 | + <scope>test</scope> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <!-- Spring Dependency --> |
| 41 | + <dependency> |
| 42 | + <groupId>org.springframework</groupId> |
| 43 | + <artifactId>spring-core</artifactId> |
| 44 | + <version>${springframework.version}</version> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>org.springframework</groupId> |
| 48 | + <artifactId>spring-web</artifactId> |
| 49 | + <version>${springframework.version}</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>org.springframework</groupId> |
| 53 | + <artifactId>spring-webmvc</artifactId> |
| 54 | + <version>${springframework.version}</version> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>org.springframework</groupId> |
| 58 | + <artifactId>spring-oxm</artifactId> |
| 59 | + <version>${springframework.version}</version> |
| 60 | + </dependency> |
| 61 | + |
| 62 | + <!-- JSTL Dependency --> |
| 63 | + <dependency> |
| 64 | + <groupId>javax.servlet.jsp.jstl</groupId> |
| 65 | + <artifactId>javax.servlet.jsp.jstl-api</artifactId> |
| 66 | + <version>${jstl.api.version}</version> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>taglibs</groupId> |
| 70 | + <artifactId>standard</artifactId> |
| 71 | + <version>${taglib.std.version}</version> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <!-- Servlet Dependency --> |
| 75 | + <dependency> |
| 76 | + <groupId>javax.servlet</groupId> |
| 77 | + <artifactId>javax.servlet-api</artifactId> |
| 78 | + <version>${servlet.api.version}</version> |
| 79 | + <scope>provided</scope> |
| 80 | + </dependency> |
| 81 | + |
| 82 | + <!-- JSP Dependency --> |
| 83 | + <dependency> |
| 84 | + <groupId>javax.servlet.jsp</groupId> |
| 85 | + <artifactId>javax.servlet.jsp-api</artifactId> |
| 86 | + <version>${jsp.api.version}</version> |
| 87 | + <scope>provided</scope> |
| 88 | + </dependency> |
| 89 | + |
| 90 | + <!-- Javax Validation Dependency --> |
| 91 | + <dependency> |
| 92 | + <groupId>javax.validation</groupId> |
| 93 | + <artifactId>validation-api</artifactId> |
| 94 | + <version>${javax.validation.version}</version> |
| 95 | + </dependency> |
| 96 | + |
| 97 | + <!-- For JSOn View --> |
| 98 | + <dependency> |
| 99 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 100 | + <artifactId>jackson-databind</artifactId> |
| 101 | + <version>${jackson.version}</version> |
| 102 | + </dependency> |
| 103 | + <dependency> |
| 104 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 105 | + <artifactId>jackson-core</artifactId> |
| 106 | + <version>${jackson.version}</version> |
| 107 | + </dependency> |
| 108 | + <dependency> |
| 109 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 110 | + <artifactId>jackson-annotations</artifactId> |
| 111 | + <version>${jackson.version}</version> |
| 112 | + </dependency> |
| 113 | + |
| 114 | + <!-- For PDF View --> |
| 115 | + <dependency> |
| 116 | + <groupId>com.lowagie</groupId> |
| 117 | + <artifactId>itext</artifactId> |
| 118 | + <version>2.1.7</version> |
| 119 | + </dependency> |
| 120 | + |
| 121 | + <!-- For XLS/XLSX View --> |
| 122 | + <dependency> |
| 123 | + <groupId>org.apache.poi</groupId> |
| 124 | + <artifactId>poi</artifactId> |
| 125 | + <version>${apach.poi.version}</version> |
| 126 | + </dependency> |
| 127 | + |
| 128 | + <dependency> |
| 129 | + <groupId>org.apache.poi</groupId> |
| 130 | + <artifactId>poi-ooxml</artifactId> |
| 131 | + <version>${apach.poi.version}</version> |
| 132 | + </dependency> |
| 133 | + |
| 134 | + </dependencies> |
| 135 | + <build> |
| 136 | + <finalName>springmvc-ViewResolver-ContentNegotiating</finalName> |
| 137 | + <plugins> |
| 138 | + <plugin> |
| 139 | + <groupId>org.apache.maven.plugins</groupId> |
| 140 | + <artifactId>maven-compiler-plugin</artifactId> |
| 141 | + <version>${mvn.compiler.plugin.version}</version> |
| 142 | + <configuration> |
| 143 | + <source>${java.version}</source> |
| 144 | + <target>${java.version}</target> |
| 145 | + </configuration> |
| 146 | + </plugin> |
| 147 | + <plugin> |
| 148 | + <groupId>org.apache.maven.plugins</groupId> |
| 149 | + <artifactId>maven-war-plugin</artifactId> |
| 150 | + <version>${mvn.war.plugin.version}</version> |
| 151 | + <configuration> |
| 152 | + <warSourceDirectory>src/main/webapp</warSourceDirectory> |
| 153 | + <warName>spring5mvc-view-resolver</warName> |
| 154 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 155 | + </configuration> |
| 156 | + </plugin> |
| 157 | + </plugins> |
| 158 | + </build> |
| 159 | +</project> |
0 commit comments