|
|
|
<?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>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
<version>1.1.2-beta5</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>easyexcel</name>
|
|
|
|
|
|
|
|
<description>easyexcel is a excel handle tools written in Java</description>
|
|
|
|
|
|
|
|
<url>https://github.com/alibaba/easyexcel</url>
|
|
|
|
<inceptionYear>2018</inceptionYear>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!--<gpg.skip>true</gpg.skip>-->
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<jdk.version>1.7</jdk.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<url>https://github.com/alibaba/easyexcel</url>
|
|
|
|
<connection>scm:git:https://git@github.com/alibaba/easyexcel.git</connection>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<!--<repositories>-->
|
|
|
|
<!--<repository>-->
|
|
|
|
<!--<id>local-file</id>-->
|
|
|
|
<!--<url>file://${basedir}/lib/</url>-->
|
|
|
|
<!--<layout>default</layout>-->
|
|
|
|
<!--</repository>-->
|
|
|
|
<!--</repositories>-->
|
|
|
|
|
|
|
|
<organization>
|
|
|
|
<name>Alibaba Group</name>
|
|
|
|
<url>https://github.com/alibaba</url>
|
|
|
|
</organization>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>jipengfei</id>
|
|
|
|
<name>jipengfei</name>
|
|
|
|
<email>1558143046@qq.com</email>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache 2</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
<comments>A business-friendly OSS license</comments>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
<version>4.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>4.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.26</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ehcache</groupId>
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
<version>3.7.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.2.3</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>1.2.58</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.8</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- 用pmd校验阿里的p3c规范 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
|
|
<version>3.12.0</version>
|
|
|
|
<configuration>
|
|
|
|
<printFailingErrors>true</printFailingErrors>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
<rulesets>
|
|
|
|
<ruleset>rulesets/java/ali-comment.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-concurrent.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-constant.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-exception.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-flowcontrol.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-naming.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-oop.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-orm.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-other.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-set.xml</ruleset>
|
|
|
|
</rulesets>
|
|
|
|
<excludes>
|
|
|
|
<exclude>com/alibaba/excel/event/AnalysisEventListener.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<!-- 绑定pmd:check到verify生命周期 -->
|
|
|
|
<execution>
|
|
|
|
<id>pmd-check-verify</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<!-- 绑定pmd:pmd到site生命周期 -->
|
|
|
|
<execution>
|
|
|
|
<id>pmd-pmd-site</id>
|
|
|
|
<phase>site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>pmd</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.p3c</groupId>
|
|
|
|
<artifactId>p3c-pmd</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
<configuration>
|
|
|
|
<attach>true</attach>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|