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.
72 lines
3.1 KiB
72 lines
3.1 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> |
|
|
|
<artifactId>easyexcel-support</artifactId> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-core</artifactId> |
|
</dependency> |
|
</dependencies> |
|
|
|
|
|
<build> |
|
<plugins> |
|
<!-- Packaging spring's cglib --> |
|
<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.easyexcel.support</shadedPattern> |
|
</relocation> |
|
</relocations> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>flatten-maven-plugin</artifactId> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</project>
|
|
|