mirror of https://github.com/alibaba/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
4.0 KiB
100 lines
4.0 KiB
<?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> |
|
|
|
<parent> |
|
<groupId>com.alibaba</groupId> |
|
<artifactId>easyexcel-parent</artifactId> |
|
<version>${revision}</version> |
|
<relativePath>../pom.xml</relativePath> |
|
</parent> |
|
|
|
<url>https://github.com/alibaba/easyexcel</url> |
|
<packaging>jar</packaging> |
|
<artifactId>easyexcel-support</artifactId> |
|
<name>easyexcel-support</name> |
|
|
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-core</artifactId> |
|
<version>5.3.37</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>*</groupId> |
|
<artifactId>*</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
</dependencies> |
|
|
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-shade-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>shade</goal> |
|
</goals> |
|
<configuration> |
|
<createSourcesJar>true</createSourcesJar> |
|
<shadedArtifactAttached>false</shadedArtifactAttached> |
|
<createDependencyReducedPom>true</createDependencyReducedPom> |
|
<!-- Make sure the transitive dependencies are written to the generated pom under <dependencies> --> |
|
<promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
|
<artifactSet> |
|
<includes> |
|
<include>org.springframework:spring-core</include> |
|
</includes> |
|
</artifactSet> |
|
<filters> |
|
<filter> |
|
<artifact>org.springframework:spring-core</artifact> |
|
<includes> |
|
<include>org/springframework/asm/**</include> |
|
<include>org/springframework/cglib/**</include> |
|
</includes> |
|
</filter> |
|
</filters> |
|
<relocations> |
|
<relocation> |
|
<pattern>org.springframework</pattern> |
|
<shadedPattern>com.alibaba.excel.support</shadedPattern> |
|
</relocation> |
|
</relocations> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
|
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>flatten-maven-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>flatten.process-resources</id> |
|
<phase>process-resources</phase> |
|
<goals> |
|
<goal>flatten</goal> |
|
</goals> |
|
</execution> |
|
<execution> |
|
<id>flatten</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>flatten</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
|
|
</build> |
|
</project>
|
|
|