| POM: |
Show
hide
<?xml version="1.0"?>
<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.gitee.l0km</groupId>
<artifactId>sql2java</artifactId>
<version>5.6.9</version>
<relativePath>..</relativePath>
</parent>
<artifactId>sql2java-excel</artifactId>
<name>sql2java excel helper</name>
<description>sql2java excel helper</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<aspectj.version>1.9.7</aspectj.version>
<automatic.module.name>sql2java.excel</automatic.module.name>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sql2java-base</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.9.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope> provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.gitee.l0km</groupId>
<artifactId>com4j-base</artifactId>
<version>${com4j.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.l0km</groupId>
<artifactId>com4j-basex</artifactId>
<version>${com4j.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.l0km</groupId>
<artifactId>aocache</artifactId>
<version>${aocache.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>5.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.1.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.facebook.swift/swift-annotations -->
<dependency>
<groupId>com.facebook.swift</groupId>
<artifactId>swift-annotations</artifactId>
<version>${swift.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>${commons-csv.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.gitee.l0km</groupId>
<artifactId>aocache-maven-plugin</artifactId>
<version>${aocache.version}</version>
<configuration>
<encoding>UTF-8</encoding>
<complianceLevel>1.8</complianceLevel>
<verbose>true</verbose>
<showWeaveInfo>true</showWeaveInfo>
<!-- 忽略adviceDidNotMatch警告-->
<Xlint>adviceDidNotMatch=ignore</Xlint>
<!-- NOTE:
排除 ExccelHelperDefaultAround.java,
避免因为插件对之误织入导致的服务上下文失效问题
-->
<excludes>
<exclude>**/ExccelHelperDefaultAround.java</exclude>
</excludes>
<!-- NOTE:
spring环境因为本身会引用aspectj实现动态切面,
不能用RELOCATE模式,必须用WRAP模式,否则会出错
-->
<wrapEnable>true</wrapEnable>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<!-- 增加 aspectjrt 和 aspectjtools 依赖,消除 maven-aspectj-plugin 插件的警告:[WARNING] bad version number found -->
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
|