143 lines
3.8 KiB
XML
143 lines
3.8 KiB
XML
<?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>
|
|
<groupId>io.springside</groupId>
|
|
<artifactId>springside-utils</artifactId>
|
|
<version>5.0.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<name>Springside :: Module :: Utils</name>
|
|
|
|
<properties>
|
|
<guava.version>20.0</guava.version>
|
|
<commons-lang3.version>3.5</commons-lang3.version>
|
|
<orika.version>1.5.0</orika.version>
|
|
<jackson.version>2.8.5</jackson.version>
|
|
<cglib.version>3.2.4</cglib.version>
|
|
<slf4j.version>1.7.22</slf4j.version>
|
|
<logback.version>1.1.8</logback.version>
|
|
<junit.version>4.12</junit.version>
|
|
<assertj.version>2.2.0</assertj.version>
|
|
<mockito.version>1.10.19</mockito.version>
|
|
|
|
<!-- Plugin的属性 -->
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>1.6</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- UTILS begin -->
|
|
<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-lang3.version}</version>
|
|
</dependency>
|
|
<!-- UTILS end -->
|
|
|
|
<!-- LOGGING begin -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<!-- LOGGING end -->
|
|
|
|
<!-- OPTIONAL begin -->
|
|
<!-- for JsonMapper -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- for ObjectMapper -->
|
|
<dependency>
|
|
<groupId>ma.glasnost.orika</groupId>
|
|
<artifactId>orika-core</artifactId>
|
|
<version>${orika.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- for FastInvoker -->
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
<version>${cglib.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!-- OPTIONAL end -->
|
|
|
|
<!-- TEST begin -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>${assertj.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- TEST end -->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- source attach plugin -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- 打包测试用的jar包,classfier为tests -->
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>org/springside/modules/test/**/*Test.class</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |