easyexcel/pom.xml

365 lines
14 KiB
XML
Raw Permalink Normal View History

2018-02-06 14:03:14 +08:00
<?xml version="1.0" encoding="UTF-8"?>
2018-02-06 20:03:10 +08:00
<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">
2018-02-06 14:03:14 +08:00
<modelVersion>4.0.0</modelVersion>
<groupId>com.alibaba</groupId>
2022-02-09 10:14:02 +08:00
<artifactId>easyexcel-parent</artifactId>
<packaging>pom</packaging>
<version>${revision}</version>
<name>easyexcel-parent</name>
2018-02-06 20:03:10 +08:00
<description>easyexcel is a excel handle tools written in Java</description>
<url>https://github.com/alibaba/easyexcel</url>
<inceptionYear>2018</inceptionYear>
2022-02-09 10:14:02 +08:00
<modules>
<module>easyexcel-core</module>
<module>easyexcel-support</module>
2022-05-06 20:13:19 +08:00
<module>easyexcel-test</module>
2022-02-09 12:14:44 +08:00
<module>easyexcel</module>
2022-02-09 10:14:02 +08:00
</modules>
2018-07-20 15:49:02 +08:00
2018-02-06 20:03:10 +08:00
<properties>
2024-06-18 14:58:00 +08:00
<revision>4.0.1</revision>
2018-02-06 20:03:10 +08:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2021-04-08 20:34:47 +08:00
<jdk.version>1.8</jdk.version>
2019-12-25 18:32:21 +08:00
<gpg.skip>true</gpg.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
2022-02-10 15:48:35 +08:00
<maven.test.skip>true</maven.test.skip>
2018-02-06 20:03:10 +08:00
</properties>
<scm>
<url>https://github.com/alibaba/easyexcel</url>
<connection>scm:git:https://git@github.com/alibaba/easyexcel.git</connection>
</scm>
<organization>
<name>Alibaba Group</name>
<url>https://github.com/alibaba</url>
</organization>
2018-02-07 15:18:12 +08:00
2018-02-06 20:03:10 +08:00
<developers>
<developer>
<id>jipengfei</id>
<name>jipengfei</name>
<email>1558143046@qq.com</email>
</developer>
2022-05-13 10:53:04 +08:00
<developer>
<id>zhuangjiaju</id>
<name>Jiaju Zhuang</name>
<email>zhuangjiaju@qq.com</email>
</developer>
2018-02-06 20:03:10 +08:00
</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>
2018-02-06 14:03:14 +08:00
2022-02-09 10:14:02 +08:00
<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>
<dependencyManagement>
<dependencies>
2022-02-09 12:14:44 +08:00
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel-core</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel-support</artifactId>
2024-06-17 19:50:27 +08:00
<version>3.3.4</version>
2022-02-09 12:14:44 +08:00
</dependency>
2022-02-09 10:14:02 +08:00
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
2024-06-17 19:50:27 +08:00
<version>5.2.5</version>
2022-02-09 10:14:02 +08:00
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
2024-06-17 19:50:27 +08:00
<version>5.2.5</version>
2022-02-09 10:14:02 +08:00
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
2024-06-17 19:50:27 +08:00
<version>1.11.0</version>
2022-02-09 10:14:02 +08:00
</dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
2024-06-17 19:57:03 +08:00
<version>3.9.11</version>
2022-02-09 10:14:02 +08:00
</dependency>
2024-06-17 19:50:27 +08:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>
2022-02-09 10:14:02 +08:00
2023-02-10 20:51:34 +08:00
<!-- provided -->
2022-02-09 10:14:02 +08:00
<dependency>
2023-02-10 20:51:34 +08:00
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
2024-06-17 19:50:27 +08:00
<version>1.18.32</version>
2022-02-09 10:14:02 +08:00
</dependency>
</dependencies>
</dependencyManagement>
2018-02-06 14:03:14 +08:00
<dependencies>
2019-07-11 16:55:21 +08:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
2019-07-17 09:46:13 +08:00
</dependency>
2021-04-09 14:37:45 +08:00
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
2018-02-06 14:03:14 +08:00
</dependencies>
2022-02-09 10:14:02 +08:00
2018-02-07 15:18:12 +08:00
2018-02-06 20:03:10 +08:00
<build>
2022-02-09 10:14:02 +08:00
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
<dependencies>
<dependency>
<groupId>com.alibaba.p3c</groupId>
<artifactId>p3c-pmd</artifactId>
<version>1.3.6</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>1.18.20.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
2024-06-18 15:19:56 +08:00
<version>3.3.0</version>
2022-02-09 10:14:02 +08:00
</plugin>
2022-02-10 15:48:35 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
2024-06-18 14:58:00 +08:00
<version>3.6.0</version>
2022-02-10 15:48:35 +08:00
</plugin>
2022-02-09 10:14:02 +08:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.7</version>
</plugin>
2022-11-16 14:17:23 +08:00
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
</plugin>
2022-02-09 10:14:02 +08:00
</plugins>
</pluginManagement>
2018-02-06 20:03:10 +08:00
<plugins>
<!-- code style -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<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>
2019-07-25 18:43:12 +08:00
<excludes>
<exclude>com/alibaba/excel/event/AnalysisEventListener.java</exclude>
2019-12-25 18:32:21 +08:00
<exclude>com/alibaba/excel/metadata/DataFormatter.java</exclude>
<exclude>com/alibaba/excel/util/DateUtils.java</exclude>
2021-05-07 13:44:53 +08:00
<exclude>com/alibaba/excel/util/MapUtils.java</exclude>
<exclude>com/alibaba/excel/util/EasyExcelTempFileCreationStrategy.java</exclude>
2020-06-09 18:54:18 +08:00
<exclude>com/alibaba/excel/metadata/format/DataFormatter.java</exclude>
<exclude>com/alibaba/excel/metadata/format/ExcelGeneralNumberFormat.java</exclude>
2021-09-17 13:58:48 +08:00
<exclude>com/alibaba/excel/metadata/csv/CsvDataFormat.java</exclude>
2021-09-17 19:17:16 +08:00
<exclude>com/alibaba/excel/write/executor/ExcelWriteFillExecutor.java</exclude>
2023-05-04 20:38:23 +08:00
<exclude>com/alibaba/excel/analysis/v07/handlers/sax/SharedStringsTableHandler.java</exclude>
<exclude>com/alibaba/excel/write/executor/ExcelWriteFillExecutor.java</exclude>
2019-07-25 18:43:12 +08:00
</excludes>
</configuration>
2019-07-04 19:53:46 +08:00
<executions>
<execution>
<id>pmd-check-verify</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
2018-02-06 20:03:10 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
2021-04-08 20:34:47 +08:00
<source>1.8</source>
<target>1.8</target>
2018-02-06 20:03:10 +08:00
</configuration>
</plugin>
<plugin>
2021-09-17 13:58:48 +08:00
<groupId>org.apache.maven.plugins</groupId>
2018-02-06 20:03:10 +08:00
<artifactId>maven-source-plugin</artifactId>
2018-02-07 15:18:12 +08:00
<configuration>
<attach>true</attach>
</configuration>
2018-02-06 20:03:10 +08:00
<executions>
<execution>
2018-02-07 15:18:12 +08:00
<phase>compile</phase>
2018-02-06 20:03:10 +08:00
<goals>
2018-02-07 15:18:12 +08:00
<goal>jar</goal>
2018-02-06 20:03:10 +08:00
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2018-02-07 15:18:12 +08:00
<artifactId>maven-gpg-plugin</artifactId>
2018-02-06 20:03:10 +08:00
<executions>
<execution>
2018-02-07 15:18:12 +08:00
<phase>verify</phase>
2018-02-06 20:03:10 +08:00
<goals>
2018-02-07 15:18:12 +08:00
<goal>sign</goal>
2018-02-06 20:03:10 +08:00
</goals>
</execution>
</executions>
2022-11-16 14:17:23 +08:00
<!-- Configuration GPG plug-ins don't tip password -->
<configuration>
<gpgArguments>
<argument>--pinentry-mode</argument>
<argument>loopback</argument>
</gpgArguments>
</configuration>
2018-02-06 20:03:10 +08:00
</plugin>
<plugin>
2018-02-07 15:18:12 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
2018-02-06 20:03:10 +08:00
<executions>
<execution>
2018-02-07 15:18:12 +08:00
<id>attach-javadocs</id>
2018-02-06 20:03:10 +08:00
<goals>
2018-02-07 15:18:12 +08:00
<goal>jar</goal>
2018-02-06 20:03:10 +08:00
</goals>
</execution>
</executions>
</plugin>
2021-04-09 14:37:45 +08:00
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>delombok</goal>
</goals>
</execution>
</executions>
</plugin>
2022-02-10 15:48:35 +08:00
2022-02-09 10:14:02 +08:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<updatePomFile>true</updatePomFile>
2022-05-13 10:53:04 +08:00
<flattenMode>oss</flattenMode>
2022-02-09 10:14:02 +08:00
</configuration>
<executions>
2022-02-10 15:48:35 +08:00
<execution>
<id>flatten.process-resources</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
2022-02-09 10:14:02 +08:00
<execution>
<id>flatten</id>
2022-02-09 12:14:44 +08:00
<phase>package</phase>
2022-02-09 10:14:02 +08:00
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
2022-11-16 14:17:23 +08:00
<!-- Publish package to the Maven Central Repository -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
2022-11-16 17:09:57 +08:00
<autoReleaseAfterClose>true</autoReleaseAfterClose>
2022-11-16 14:17:23 +08:00
</configuration>
</plugin>
2018-02-06 20:03:10 +08:00
</plugins>
</build>
</project>