|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>com.coderdream</groupId> |
| 8 | + <artifactId>poi-practice</artifactId> |
| 9 | + <version>1.0-SNAPSHOT</version> |
| 10 | + |
| 11 | + <name>poi-practice</name> |
| 12 | + <!-- FIXME change it to the project's website --> |
| 13 | + <url>http://www.example.com</url> |
| 14 | + |
| 15 | + <properties> |
| 16 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 17 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 18 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 19 | + <poi.version>5.0.0</poi.version> |
| 20 | + </properties> |
| 21 | + |
| 22 | + <dependencies> |
| 23 | + |
| 24 | + <!-- https://mvnrepository.com/artifact/org.apache.poi/poi --> |
| 25 | + <dependency> |
| 26 | + <groupId>org.apache.poi</groupId> |
| 27 | + <artifactId>poi</artifactId> |
| 28 | + <version>${poi.version}</version> |
| 29 | + </dependency> |
| 30 | + |
| 31 | + <dependency> |
| 32 | + <groupId>org.apache.poi</groupId> |
| 33 | + <artifactId>poi-ooxml</artifactId> |
| 34 | + <version>${poi.version}</version> |
| 35 | + </dependency> |
| 36 | + |
| 37 | + <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-schemas --> |
| 38 | + <!-- |
| 39 | + <dependency> |
| 40 | + <groupId>org.apache.poi</groupId> |
| 41 | + <artifactId>poi-ooxml-schemas</artifactId> |
| 42 | + <version>${poi.version}</version> |
| 43 | + </dependency> |
| 44 | + --> |
| 45 | + <dependency> |
| 46 | + <groupId>org.apache.poi</groupId> |
| 47 | + <artifactId>poi</artifactId> |
| 48 | + <version>5.0.0</version> |
| 49 | + </dependency> |
| 50 | + |
| 51 | + <dependency> |
| 52 | + <groupId>org.apache.poi</groupId> |
| 53 | + <artifactId>poi-scratchpad</artifactId> |
| 54 | + <version>5.0.0</version> |
| 55 | + </dependency> |
| 56 | + <!-- <dependency> |
| 57 | + <groupId>org.apache.poi</groupId> |
| 58 | + <artifactId>poi-ooxml-schemas</artifactId> |
| 59 | + <version>4.1.2</version> |
| 60 | + </dependency>--> |
| 61 | + <dependency> |
| 62 | + <groupId>org.apache.poi</groupId> |
| 63 | + <artifactId>poi-ooxml-full</artifactId> |
| 64 | + <version>5.0.0</version> |
| 65 | + </dependency> |
| 66 | + |
| 67 | + <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> |
| 68 | + <dependency> |
| 69 | + <groupId>org.apache.commons</groupId> |
| 70 | + <artifactId>commons-lang3</artifactId> |
| 71 | + <version>3.12.0</version> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> |
| 75 | + <dependency> |
| 76 | + <groupId>org.projectlombok</groupId> |
| 77 | + <artifactId>lombok</artifactId> |
| 78 | + <version>1.18.20</version> |
| 79 | + <scope>provided</scope> |
| 80 | + </dependency> |
| 81 | + <dependency> |
| 82 | + <groupId>javax.servlet</groupId> |
| 83 | + <artifactId>javax.servlet-api</artifactId> |
| 84 | + <version>3.1.0</version> |
| 85 | + </dependency> |
| 86 | + |
| 87 | + <!-- 文件上传依赖包 --> |
| 88 | + <dependency> |
| 89 | + <groupId>commons-io</groupId> |
| 90 | + <artifactId>commons-io</artifactId> |
| 91 | + <version>2.4</version> |
| 92 | + </dependency> |
| 93 | + <!-- 文件上传包 --> |
| 94 | + <dependency> |
| 95 | + <groupId>commons-fileupload</groupId> |
| 96 | + <artifactId>commons-fileupload</artifactId> |
| 97 | + <version>1.3.1</version> |
| 98 | + </dependency> |
| 99 | + |
| 100 | + <dependency> |
| 101 | + <groupId>junit</groupId> |
| 102 | + <artifactId>junit</artifactId> |
| 103 | + <version>4.11</version> |
| 104 | + <scope>test</scope> |
| 105 | + </dependency> |
| 106 | + </dependencies> |
| 107 | + |
| 108 | + <build> |
| 109 | + <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
| 110 | + <plugins> |
| 111 | + <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
| 112 | + <plugin> |
| 113 | + <artifactId>maven-clean-plugin</artifactId> |
| 114 | + <version>3.1.0</version> |
| 115 | + </plugin> |
| 116 | + <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
| 117 | + <plugin> |
| 118 | + <artifactId>maven-resources-plugin</artifactId> |
| 119 | + <version>3.0.2</version> |
| 120 | + </plugin> |
| 121 | + <plugin> |
| 122 | + <artifactId>maven-compiler-plugin</artifactId> |
| 123 | + <version>3.8.0</version> |
| 124 | + </plugin> |
| 125 | + <plugin> |
| 126 | + <artifactId>maven-surefire-plugin</artifactId> |
| 127 | + <version>2.22.1</version> |
| 128 | + </plugin> |
| 129 | + <plugin> |
| 130 | + <artifactId>maven-jar-plugin</artifactId> |
| 131 | + <version>3.0.2</version> |
| 132 | + </plugin> |
| 133 | + <plugin> |
| 134 | + <artifactId>maven-install-plugin</artifactId> |
| 135 | + <version>2.5.2</version> |
| 136 | + </plugin> |
| 137 | + <plugin> |
| 138 | + <artifactId>maven-deploy-plugin</artifactId> |
| 139 | + <version>2.8.2</version> |
| 140 | + </plugin> |
| 141 | + <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
| 142 | + <plugin> |
| 143 | + <artifactId>maven-site-plugin</artifactId> |
| 144 | + <version>3.7.1</version> |
| 145 | + </plugin> |
| 146 | + <plugin> |
| 147 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 148 | + <version>3.0.0</version> |
| 149 | + </plugin> |
| 150 | + </plugins> |
| 151 | + </pluginManagement> |
| 152 | + </build> |
| 153 | +</project> |
0 commit comments