12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031 |
- <?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>com.caimei</groupId>
- <version>0.0.1-SNAPSHOT</version>
- <artifactId>caimei-manager</artifactId>
- <packaging>war</packaging>
- <name>caimei-manager</name>
- <url>http://www.caimei365.com</url>
- <inceptionYear>2016</inceptionYear>
- <!-- 项目属性 -->
- <properties>
- <!-- main version setting -->
- <spring.version>4.2.5.RELEASE</spring.version>
- <validator.version>5.1.1.Final</validator.version>
- <mybatis.version>3.2.8</mybatis.version>
- <mybatis-spring.version>1.2.2</mybatis-spring.version>
- <druid.version>1.1.23</druid.version>
- <ehcache.version>2.6.9</ehcache.version>
- <ehcache-web.version>2.0.4</ehcache-web.version>
- <shiro.version>1.7.0</shiro.version>
- <sitemesh.version>2.4.2</sitemesh.version>
- <activiti.version>5.15.1</activiti.version>
- <!-- tools version setting -->
- <slf4j.version>1.7.19</slf4j.version>
- <commons-lang3.version>3.3.2</commons-lang3.version>
- <commons-io.version>2.4</commons-io.version>
- <commons-codec.version>1.9</commons-codec.version>
- <commons-fileupload.version>1.3.1</commons-fileupload.version>
- <commons-beanutils.version>1.9.1</commons-beanutils.version>
- <jackson.version>2.2.3</jackson.version>
- <fastjson.version>1.1.40</fastjson.version>
- <xstream.version>1.4.7</xstream.version>
- <guava.version>17.0</guava.version>
- <dozer.version>5.5.1</dozer.version>
- <!-- <poi.version>3.9</poi.version>-->
- <freemarker.version>2.3.20</freemarker.version>
- <!-- jdbc driver setting -->
- <mysql.driver.version>8.0.18</mysql.driver.version>
- <!-- environment setting -->
- <jdk.version>1.8</jdk.version>
- <tomcat.version>2.2</tomcat.version>
- <jetty.version>7.6.14.v20131031</jetty.version>
- <webserver.port>8081</webserver.port>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <downloadSources>true</downloadSources>
- <!-- 设定编译部署的目标环境 -->
- <env.type>dev</env.type>
- </properties>
- <profiles>
- <!-- 开发环境 -->
- <profile>
- <id>dev</id>
- <properties>
- <env.type>dev</env.type>
- </properties>
- </profile>
- <!-- 开发测试环境 -->
- <profile>
- <id>alpha</id>
- <properties>
- <env.type>alpha</env.type>
- </properties>
- </profile>
- <!-- 测试环境 -->
- <profile>
- <id>beta</id>
- <properties>
- <env.type>beta</env.type>
- </properties>
- </profile>
- <!-- 生产正式环境 -->
- <profile>
- <id>prod</id>
- <properties>
- <env.type>prod</env.type>
- </properties>
- </profile>
- </profiles>
- <!-- 设定插件仓库 -->
- <pluginRepositories>
- <!-- 如有Nexus私服, 取消注释并指向正确的服务器地址. -->
- <!-- <pluginRepository>
- <id>nexus-repos</id>
- <name>Team Nexus Repository</name>
- <url>http://192.168.11.36:8888/nexus/content/groups/public</url>
- </pluginRepository> -->
- <pluginRepository>
- <id>oschina-repos</id>
- <name>Oschina Releases</name>
- <url>http://maven.oschina.net/content/groups/public</url>
- </pluginRepository>
- </pluginRepositories>
- <!-- 依赖项定义 -->
- <dependencies>
- <!-- SPRING begin -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>${spring.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-aop</artifactId>
- <version>${spring.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <!-- spring orm -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-orm</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <!-- bean validate -->
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator</artifactId>
- <version>${validator.version}</version>
- </dependency>
- <!-- SPRING end -->
- <!-- AOP begin -->
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjrt</artifactId>
- <version>1.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- <version>1.7.4</version>
- </dependency>
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- <version>3.1</version>
- </dependency>
- <!-- AOP end -->
- <!-- PERSISTENCE begin -->
- <!-- MyBatis -->
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis</artifactId>
- <version>${mybatis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis-spring</artifactId>
- <version>${mybatis-spring.version}</version>
- </dependency>
- <!-- connection pool -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>${druid.version}</version>
- </dependency>
- <!-- jdbc driver -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>${mysql.driver.version}</version>
- <scope>runtime</scope>
- </dependency>
- <!-- PERSISTENCE end -->
- <!-- WEB begin -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-oxm</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>opensymphony</groupId>
- <artifactId>sitemesh</artifactId>
- <version>${sitemesh.version}</version>
- </dependency>
- <dependency>
- <groupId>taglibs</groupId>
- <artifactId>standard</artifactId>
- <version>1.1.2</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <version>1.2</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.1.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
- <!-- CACHE begin -->
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache-core</artifactId>
- <version>${ehcache.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache-web</artifactId>
- <version>${ehcache-web.version}</version>
- </dependency>
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <version>2.8.1</version>
- </dependency>
- <!-- CACHE end -->
- <!-- SECURITY begin -->
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-core</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-spring</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-cas</artifactId>
- <version>${shiro.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-web</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-ehcache</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <!-- SECURITY end -->
- <dependency>
- <groupId>com.jcraft</groupId>
- <artifactId>jsch</artifactId>
- <version>0.1.55</version>
- </dependency>
- <dependency>
- <groupId>org.samba.jcifs</groupId>
- <artifactId>jcifs</artifactId>
- <version>1.2.6</version>
- </dependency>
- <!-- Activiti -->
- <dependency>
- <groupId>org.activiti</groupId>
- <artifactId>activiti-engine</artifactId>
- <version>${activiti.version}</version>
- </dependency>
- <dependency>
- <groupId>org.activiti</groupId>
- <artifactId>activiti-spring</artifactId>
- <version>${activiti.version}</version>
- </dependency>
- <dependency>
- <groupId>org.activiti</groupId>
- <artifactId>activiti-explorer</artifactId>
- <version>${activiti.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>vaadin</artifactId>
- <groupId>com.vaadin</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dcharts-widget</artifactId>
- <groupId>org.vaadin.addons</groupId>
- </exclusion>
- <exclusion>
- <artifactId>activiti-simple-workflow</artifactId>
- <groupId>org.activiti</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.activiti</groupId>
- <artifactId>activiti-modeler</artifactId>
- <version>${activiti.version}</version>
- </dependency>
- <dependency>
- <groupId>org.activiti</groupId>
- <artifactId>activiti-diagram-rest</artifactId>
- <version>${activiti.version}</version>
- </dependency>
- <!-- 支持activiti缓存 -->
- <!-- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-core</artifactId>
- <version>5.1.7.Final</version>
- </dependency> -->
- <!-- https://mvnrepository.com/artifact/org.exoplatform.jcr/exo.jcr.framework.ftpclient -->
- <!-- LOGGING begin -->
- <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.version}</version>
- </dependency>
- <!-- common-logging 实际调用slf4j -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <!-- java.util.logging 实际调用slf4j -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jul-to-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <!-- LOGGING end -->
- <!-- GENERAL UTILS begin -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${commons-codec.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>${commons-fileupload.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>${commons-beanutils.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- google java lib -->
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>${guava.version}</version>
- </dependency>
- <!-- jackson json -->
- <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>
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-jaxb-annotations</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <!-- xstream xml -->
- <dependency>
- <groupId>com.thoughtworks.xstream</groupId>
- <artifactId>xstream</artifactId>
- <version>${xstream.version}</version>
- </dependency>
- <!-- pojo copy -->
- <dependency>
- <groupId>net.sf.dozer</groupId>
- <artifactId>dozer</artifactId>
- <version>${dozer.version}</version>
- </dependency>
- <!-- freemarker engine -->
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>${freemarker.version}</version>
- </dependency>
- <!-- email -->
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>1.4.7</version>
- </dependency>
- <dependency>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- <version>1.1.1</version>
- </dependency>
- <!-- poi office -->
- <!--<dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml-schemas</artifactId>
- <version>${poi.version}</version>
- </dependency>-->
- <!-- image util -->
- <dependency>
- <groupId>com.drewnoakes</groupId>
- <artifactId>metadata-extractor</artifactId>
- <version>2.6.2</version>
- </dependency>
- <!-- 条形码、二维码生成 -->
- <dependency>
- <groupId>com.google.zxing</groupId>
- <artifactId>core</artifactId>
- <version>2.2</version>
- </dependency>
- <dependency>
- <groupId>com.google.zxing</groupId>
- <artifactId>javase</artifactId>
- <version>2.2</version>
- </dependency>
- <!-- 中文分词 -->
- <!-- <dependency>-->
- <!-- <groupId>org.wltea</groupId>-->
- <!-- <artifactId>analyzer</artifactId>-->
- <!-- <version>2012_u6</version>-->
- <!-- </dependency>-->
- <!-- GENERAL UTILS end -->
- <!-- CKFinder begin -->
- <dependency>
- <groupId>net.coobird</groupId>
- <artifactId>thumbnailator</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>apache-ant-zip</artifactId>
- <version>2.3</version>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>ckfinder</artifactId>
- <version>2.3</version>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>ckfinderplugin-fileeditor</artifactId>
- <version>2.3</version>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>ckfinderplugin-imageresize</artifactId>
- <version>2.3</version>
- </dependency>
- <!-- CKFinder end -->
- <!-- TEST begin -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <!-- TEST end -->
- <!-- User Agent -->
- <dependency>
- <groupId>bitwalker</groupId>
- <artifactId>UserAgentUtils</artifactId>
- <version>1.13</version>
- </dependency>
- <!-- jsoup 对 HTML 文档进行解析和操作 -->
- <dependency>
- <groupId>org.jsoup</groupId>
- <artifactId>jsoup</artifactId>
- <version>1.9.2</version>
- </dependency>
- <!-- 自定义jar依赖包 -->
- <dependency>
- <groupId>com.caimei</groupId>
- <artifactId>caimei-common</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>caimei</groupId>
- <artifactId>smsClient</artifactId>
- <version>1.0</version>
- </dependency>
- <!-- jxls begin -->
- <dependency>
- <groupId>net.sf.jxls</groupId>
- <artifactId>jxls-core</artifactId>
- <version>1.0.6</version>
- </dependency>
- <dependency>
- <groupId>net.sf.jxls</groupId>
- <artifactId>jxls-reader</artifactId>
- <version>1.0.6</version>
- </dependency>
- <dependency>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <version>2.4</version>
- <classifier>jdk15</classifier>
- </dependency>
- <!-- jxls end -->
- <dependency>
- <groupId>com.caimei</groupId>
- <artifactId>caimei-dfs-sdk</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.martian</groupId>
- <artifactId>martian-core-guard</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.caimei</groupId>
- <artifactId>caimei-common</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </dependency>
- <!--易宝支付sdk-->
- <dependency>
- <groupId>com.yeepay</groupId>
- <artifactId>yop-java-sdk</artifactId>
- <version>2.2.7</version>
- <classifier>jdk18</classifier>
- </dependency>
- <!--对象存储oss-->
- <dependency>
- <groupId>com.aliyun.oss</groupId>
- <artifactId>aliyun-sdk-oss</artifactId>
- <version>3.10.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>3.16</version>
- </dependency>
- <!--2007 docx文件读取,需要导入poi-ooxml-->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>3.16</version>
- </dependency>
- <!--2003 doc文件的读取,需要导入poi-scratchpad-->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-scratchpad</artifactId>
- <version>3.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml-schemas</artifactId>
- <version>3.16</version>
- </dependency>
- <!--<dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>ooxml-schemas</artifactId>
- <version>1.0</version>
- <exclusions>
- <!–解决含嵌入文件ppt转换报错 ArrayStoreException–>
- <exclusion>
- <artifactId>xmlbeans</artifactId>
- <groupId>org.apache.xmlbeans</groupId>
- </exclusion>
- </exclusions>
- </dependency>-->
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itext-asian</artifactId>
- <version>5.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.pdfbox</groupId>
- <artifactId>pdfbox</artifactId>
- <version>2.0.16</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itextpdf</artifactId>
- <version>5.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- <version>1.47</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcmail-jdk15on</artifactId>
- <version>1.47</version>
- </dependency>
- <!--twelvemonkeys图片处理-->
- <dependency>
- <groupId>com.twelvemonkeys.imageio</groupId>
- <artifactId>imageio-jpeg</artifactId>
- <version>3.6</version>
- </dependency>
- <dependency>
- <groupId>com.twelvemonkeys.imageio</groupId>
- <artifactId>imageio-tiff</artifactId>
- <version>3.6</version>
- </dependency>
- <!--
- Optional dependency. Needed only if you deploy `ImageIO` plugins as part of a web app.
- Make sure you add the `IIOProviderContextListener` to your `web.xml`, see above.
- -->
- <dependency>
- <groupId>com.twelvemonkeys.servlet</groupId>
- <artifactId>servlet</artifactId>
- <version>3.6</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>manager</finalName>
- <!-- 设定资源文件的存放地址,根据不同的环境设置不同的目录 -->
- <resources>
- <resource>
- <directory>src/main/resources/</directory>
- <targetPath>${project.build.outputDirectory}/</targetPath>
- <excludes>
- <exclude>config/**</exclude>
- </excludes>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>src/main/resources/config/${env.type}/</directory>
- <targetPath>${project.build.outputDirectory}/</targetPath>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <!-- Compiler 插件, 设定JDK版本 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.3</version>
- <configuration>
- <source>${jdk.version}</source>
- <target>${jdk.version}</target>
- <showWarnings>true</showWarnings>
- </configuration>
- </plugin>
- <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
- <!-- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <classesDirectory>${project.outputDirectory}</classesDirectory>
- <finalName>jeesite</finalName>
- <outputDirectory>${project.build.directory}/${project.artifactId}/WEB-INF/lib</outputDirectory>
- <includes>
- <include>com/thinkgem/jeesite/**</include>
- </includes>
- </configuration>
- </execution>
- </executions> -->
- </plugin>
- <!-- 混淆代码
- <plugin>
- <groupId>com.github.wvengen</groupId>
- <artifactId>proguard-maven-plugin</artifactId>
- <version>2.0.6</version>
- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>proguard</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <obfuscate>true</obfuscate>
- <options>
- <option>-injars ${project.build.directory}/${project.artifactId}/WEB-INF/lib/jeesite.jar</option>
- </options>
- <outjar>${project.artifactId}/WEB-INF/lib/jeesite_out.jar</outjar>
- <outputDirectory>${project.build.directory}</outputDirectory>
- <proguardInclude>${basedir}/proguard.cfg</proguardInclude>
- <source>${jdk.version}</source>
- <target>${jdk.version}</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- <libs>
- <lib>${java.home}/lib/rt.jar</lib>
- <lib>${java.home}/lib/jsse.jar</lib>
- <lib>${java.home}/lib/jce.jar</lib>
- </libs>
- <addMavenDescriptor>false</addMavenDescriptor>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>net.sf.proguard</groupId>
- <artifactId>proguard-base</artifactId>
- <version>4.9</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- </plugin> -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.18.1</version>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <!-- war 打包插件, 设定war包名称不带版本号 -->
- <!--<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <packagingExcludes>
- <!– WEB-INF/classes/com/thinkgem/jeesite/** –>
- WEB-INF/classes/org/apache/ibatis/**,
- WEB-INF/classes/org/mybatis/spring/**
- </packagingExcludes>
- <warSourceExcludes>
- static/bootstrap/2.3.1/docs/**,
- static/ckeditor/_samples/**,
- static/ckeditor/_source/**,
- static/ckfinder/_samples/**,
- static/ckfinder/help/**,
- static/compressor*/**,
- static/jquery-jbox/2.3/docs/**,
- static/jquery-jbox/2.3/Skins2/**,
- static/jquery-validation/1.11.0/demo/**,
- static/jquery-ztree/3.5.12/demo/**,
- static/My97DatePicker/docs/**,
- static/supcan/doc/**,
- static/SuperSlide/demo/**,
- static/treeTable/demo/**<!– , –>
- <!– userfiles/** –><!– ,/**/*.jsp –>,
- test/**
- </warSourceExcludes>
- </configuration>
- </plugin>-->
- <!-- Eclipse 插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.9</version>
- <configuration>
- <downloadSources>${downloadSources}</downloadSources>
- <downloadJavadocs>false</downloadJavadocs>
- <wtpversion>2.0</wtpversion>
- <jeeversion>5.0</jeeversion>
- <!-- <jeeversion>6.0</jeeversion> -->
- <additionalConfig>
- <file>
- <name>.settings/org.eclipse.core.resources.prefs</name>
- <content>
- <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
- </content>
- </file>
- </additionalConfig>
- <additionalProjectnatures>
- <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
- </additionalProjectnatures>
- </configuration>
- </plugin>
- <!-- tomcat6插件 -->
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat6-maven-plugin</artifactId>
- <version>${tomcat.version}</version>
- <configuration>
- <port>${webserver.port}</port>
- <path>/</path>
- <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
- </configuration>
- </plugin>
- <!-- tomcat7插件 -->
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>${tomcat.version}</version>
- <configuration>
- <port>${webserver.port}</port>
- <path>/</path>
- <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
- </configuration>
- </plugin>
- <!-- jetty插件 -->
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>${jetty.version}</version>
- <configuration>
- <stopKey>exit</stopKey>
- <stopPort>9090</stopPort>
- <connectors>
- <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
- <port>${webserver.port}</port>
- </connector>
- </connectors>
- <webAppConfig>
- <contextPath>/</contextPath>
- </webAppConfig>
- <systemProperties>
- <systemProperty>
- <name>org.mortbay.util.URI.charset</name>
- <value>${project.build.sourceEncoding}</value>
- </systemProperty>
- </systemProperties>
- </configuration>
- </plugin>
- <!-- resource插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- </plugin>
- <!-- install插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <!-- 让maven不编译xls文件,但仍将其打包 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <nonFilteredFileExtensions>
- <nonFilteredFileExtension>xls</nonFilteredFileExtension>
- </nonFilteredFileExtensions>
- </configuration>
- </plugin>
- <!-- clean插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.5</version>
- </plugin>
- <!-- ant插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.7</version>
- </plugin>
- <!-- dependency插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.5.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine> -XX:-UseSplitVerifier</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <!-- 开发者信息 -->
- <developers>
- <developer>
- <id>caimei</id>
- <name>caimei</name>
- <roles><role>Project lead</role></roles>
- <timezone>+8</timezone>
- </developer>
- </developers>
- <scm>
- <connection>scm:svn:hsvn://192.168.1.10/website/caimeiProject/caimei-manager</connection>
- <developerConnection>scm:svn:svn://192.168.1.10/website/caimeiProject/caimei-manager</developerConnection>
- </scm>
- </project>
|