282 lines
11 KiB
XML
282 lines
11 KiB
XML
<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>org.jeecgframework.boot3</groupId>
|
|
<artifactId>autopoi-parent</artifactId>
|
|
|
|
<version>3.7.0</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>autopoi-parent</name>
|
|
<url>http://www.jeecg.com</url>
|
|
|
|
<modules>
|
|
<module>autopoi</module>
|
|
<module>autopoi-web</module>
|
|
</modules>
|
|
|
|
<description>office 工具类 基于 poi</description>
|
|
<licenses>
|
|
<license>
|
|
<name>The Apache License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:git:https://github.com/zhangdaiscott/autopoi.git</connection>
|
|
<developerConnection>scm:git:https://github.com/zhangdaiscott/autopoi.git</developerConnection>
|
|
<url>https://github.com/zhangdaiscott/autopoi</url>
|
|
</scm>
|
|
<developers>
|
|
<developer>
|
|
<name>jeecg</name>
|
|
<email>jeecgos@163.com</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<autopoi.version>3.7.0</autopoi.version>
|
|
<poi.version>5.2.2</poi.version>
|
|
<xerces.version>2.9.1</xerces.version>
|
|
<guava.version>29.0-jre</guava.version>
|
|
<commons-lang.version>3.10</commons-lang.version>
|
|
<slf4j.version>1.7.30</slf4j.version>
|
|
<spring.version>6.0.13</spring.version>
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- poi -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.poi</groupId>-->
|
|
<!-- <artifactId>poi-ooxml-schemas</artifactId>-->
|
|
<!-- <version>${poi.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml-full</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
<!-- sax 读取时候用到的 -->
|
|
<dependency>
|
|
<groupId>xerces</groupId>
|
|
<artifactId>xercesImpl</artifactId>
|
|
<version>${xerces.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-scratchpad</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- excel背景
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>ooxml-schemas</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>-->
|
|
|
|
<!-- google 工具类 -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang.version}</version>
|
|
</dependency>
|
|
|
|
<!--日志 -->
|
|
<!-- slf4j -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!--spring-web -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${spring.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!--servlet -->
|
|
<dependency>
|
|
<groupId>jakarta.servlet</groupId>
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
<version>6.0.0</version>
|
|
<scope>provided</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- 模块版本 -->
|
|
<dependency>
|
|
<groupId>org.jeecgframework.boot3</groupId>
|
|
<artifactId>autopoi</artifactId>
|
|
<version>${autopoi.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>jeecg</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Source -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</profile>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Source -->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-source-plugin</artifactId>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <phase>package</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>jar-no-fork</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<!-- Javadoc -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<additionalJOption>-Xdoclint:none</additionalJOption>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--Maven GPG插件用于使用以下配置对组件进行签名-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--Nexus Staging Maven插件是将组件部署到OSS并将其发布到Central Repository的推荐方法-->
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>oss</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>oss</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>oss</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>github</id>
|
|
<name>LoadUp Apache Maven Packages</name>
|
|
<url>https://maven.pkg.github.com/loadup-cloud/loadup-packages</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>github</id>
|
|
<name>LoadUp Apache Maven Packages</name>
|
|
<url>https://maven.pkg.github.com/loadup-cloud/loadup-packages</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</project> |