1. 程式人生 > >springmvc 開發過程中所需要的所有maven依賴

springmvc 開發過程中所需要的所有maven依賴


 
<properties>
    <!-- 日誌相關 -->
    <commons.logging.version>1.2</commons.logging.version>
    <log4j.version>1.2.17</log4j.version>
    <slf4j.version>1.7.12</slf4j.version>
    <slf4j.log4j12.version>1.7.12</slf4j.log4j12.version>

    <!-- junit 
單元測試 --> <junit.version>4.12</junit.version> <hamcrest.core.version>1.3</hamcrest.core.version> <!-- 基礎依賴 --> <asm.version>5.0.3</asm.version> <cglib.version>3.1</cglib.version> <!-- commons-lang3 --> <commons.lang3.version
>3.4</commons.lang3.version> <!-- commons.io --> <commons.io.version>2.4</commons.io.version> <!-- commons-collections 集合 --> <commons-collections.version>3.2.1</commons-collections.version> <httpclient.version>4.4.1</httpclient.version
> <commons-httpclient>3.1</commons-httpclient> <!-- fileupload 上傳檔案 --> <commons.fileupload.version>1.3.1</commons.fileupload.version> <common.email.version>1.4</common.email.version> <commons-codec.version>1.10</commons-codec.version> <commons-beanutils.version>1.9.2</commons-beanutils.version> <commons-logging.version>1.2</commons-logging.version> <commons-email.version>1.4</commons-email.version> <pool2.version>2.4.2</pool2.version> <druid.version>1.1.0</druid.version> <!-- mybatis --> <mybatis.version>3.4.4</mybatis.version> <mybatis.spring.version>1.3.1</mybatis.spring.version> <!-- spring --> <springframework.version>4.1.6.RELEASE</springframework.version> <aopalliance.version>1.0</aopalliance.version> <aspectjweaver.version>1.8.5</aspectjweaver.version> <quartz.version>2.3.0</quartz.version> <!-- mysql 6.0.6--> <mysql.connector.java.version>5.1.42</mysql.connector.java.version> <!-- 圖片縮放 --> <thumbnailator.version>0.4.8</thumbnailator.version> <!-- alias fastjson --> <fastjson.version>1.2.5</fastjson.version> <jackson.version>2.6.3</jackson.version> <!-- dom4j --> <dom4j.version>1.6.1</dom4j.version> <!-- DOM4J依賴 XML-APIS --> <xml.apis.version>1.4.01</xml.apis.version> <!-- html解析相關 --> <!-- nekohtml html解析工具 --> <nekohtml.version>1.9.21</nekohtml.version> <jaxen.version>1.1.6</jaxen.version> <oro.version>2.0.8</oro.version> <!-- ueditor --> <json.version>20160810</json.version> <gson.version>2.8.1</gson.version> <!-- servlet --> <servlet.api.version>3.1.0</servlet.api.version> <!-- jstl --> <jstl.version>1.2</jstl.version> <!-- jsp.api --> <jsp.api.version>2.0</jsp.api.version> <!--xml --> <xstream.version>1.4.5</xstream.version> <snakeyaml.version>1.18</snakeyaml.version> <!-- dubbo --> <!--<dubbo.version>2.5.3</dubbo.version>--> <!-- zookpeeper --> <!--<zookeeper.version>3.4.6</zookeeper.version>--> <!--<zkclient.version>0.1</zkclient.version>--> <shiro.version>1.3.2</shiro.version> <guava.version>21.0</guava.version> <jedis.version>2.9.0</jedis.version> <activiti.version>5.22.0</activiti.version> <!-- 構建專案相關 --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jdk.compiler.version>1.8</jdk.compiler.version> <maven.compiler.plugin.version>3.1</maven.compiler.plugin.version> <maven.resources.plugin.version>2.6</maven.resources.plugin.version> <maven-war-plugin.version>2.1.1</maven-war-plugin.version> </properties> <dependencies> <!-- junit單元測試 --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <!-- junit單元測試依賴斷言 --> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>${hamcrest.core.version}</version> <scope>test</scope> </dependency> <!-- 日誌相關 --> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>${commons.logging.version}</version> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${log4j.version}</version> </dependency> <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.log4j12.version}</version> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>${asm.version}</version> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib</artifactId> <version>${cglib.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons.lang3.version}</version> </dependency> <!-- commons-io --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons.io.version}</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>${commons-collections.version}</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>${commons-beanutils.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>${httpclient.version}</version> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>${commons-httpclient}</version> </dependency> <!-- fileupload 上傳檔案 --> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>${commons.fileupload.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>${commons-email.version}</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${commons-codec.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> <version>${pool2.version}</version> </dependency> <!-- 阿里巴巴資料庫連線池 --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>${druid.version}</version> </dependency> <!-- mybatis相關 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>${mybatis.version}</version> </dependency> <!-- mybatis-spring連線 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>${mybatis.spring.version}</version> </dependency> <!-- spring相關 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${springframework.version}</version> </dependency> <!-- 支援UI模版(Velocity,FreeMarker,JasperReports),郵件服務,指令碼服?JRuby),快取Cache(EHCache),任務計劃Scheduling(quartz)方面的類 --> <!-- spring-context, (spring-jdbc, Velocity, FreeMarker, JasperReports, BSH, Groovy, JRuby, Quartz, EHCache) --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>${springframework.version}</version> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> <version>${aopalliance.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>${aspectjweaver.version}</version> </dependency> <!-- mysql連線 --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>${mysql.connector.java.version}</version> </dependency> <!-- 圖片處理 --> <!-- JSON --> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>${fastjson.version}</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>${json.version}</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${gson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${jackson.version}</version> </dependency> <!-- DOM4J --> <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>${dom4j.version}</version> </dependency> <!-- DOM4J依賴 XML-APIS --> <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> <version>${xml.apis.version}</version> </dependency> <!-- html解析相關 --> <!-- nekohtml html解析工具 --> <dependency> <groupId>net.sourceforge.nekohtml</groupId> <artifactId>nekohtml</artifactId> <version>${nekohtml.version}</version> </dependency> <dependency> <groupId>jaxen</groupId> <artifactId>jaxen</artifactId> <version>${jaxen.version}</version> </dependency> <dependency> <groupId>oro</groupId> <artifactId>oro</artifactId> <version>${oro.version}</version> </dependency> <!-- <scope>provided</scope> --> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>${servlet.api.version}</version> <!-- <scope>provided</scope> --> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>${jstl.version}</version> <!--<scope>provided</scope> --> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jsp-api</artifactId> <version>${jsp.api.version}</version> </dependency> <dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> <version>${xstream.version}</version> </dependency> <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>${quartz.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>${snakeyaml.version}</version> </dependency> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>${jedis.version}</version> </dependency> </dependencies> <repositories> <repository> <id>maven</id> <name>maven</name> <url>http://192.168.20.70:10001/repository/maven/</url> </repository> <repository> <id>3rd</id> <name>3rd</name> <url>http://192.168.20.70:10001/repository/3rd/</url> </repository> </repositories> <build> <finalName>ctay</finalName> <plugins> <!-- 編譯外掛 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <configuration> <source>${jdk.compiler.version}</source> <target>${jdk.compiler.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <!-- 資源外掛 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${maven.resources.plugin.version}</version> <configuration> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>${maven-war-plugin.version}</version> <configuration> <warName>project</warName> </configuration> </plugin> </plugins> </build>