123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908 |
- <?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.thinkgem.jeesite</groupId>
- <artifactId>hotels_sys</artifactId>
- <version>1.2.7</version>
- <packaging>war</packaging>
-
- <name>JeeSite</name>
- <url>http://thinkgem.github.com/jeesite</url>
- <inceptionYear>2012-2016</inceptionYear>
-
- <!-- 项目属性 -->
- <properties>
-
- <!-- main version setting -->
- <spring.version>4.1.9.RELEASE</spring.version>
- <validator.version>5.2.4.Final</validator.version>
- <mybatis.version>3.2.8</mybatis.version>
- <mybatis-spring.version>1.2.3</mybatis-spring.version>
- <druid.version>1.0.18</druid.version>
- <ehcache.version>2.6.11</ehcache.version>
- <ehcache-web.version>2.0.4</ehcache-web.version>
- <shiro.version>1.2.3</shiro.version>
- <sitemesh.version>2.4.2</sitemesh.version>
- <activiti.version>5.21.0</activiti.version>
-
- <!-- tools version setting -->
- <slf4j.version>1.7.7</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>5.1.30</mysql.driver.version>
- <oracle.driver.version>10.2.0.4.0</oracle.driver.version>
- <mssql.driver.version>1.3.1</mssql.driver.version>
-
- <!-- environment setting -->
- <jdk.version>1.6</jdk.version>
- <tomcat.version>2.2</tomcat.version>
- <jetty.version>7.6.14.v20131031</jetty.version>
- <webserver.port>8181</webserver.port>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <downloadSources>true</downloadSources>
-
- </properties>
-
- <!-- 设定主仓库,按设定顺序进行查找。 -->
- <repositories>
-
- <repository>
- <id>jeesite-repos</id>
- <name>Jeesite Repository</name>
- <url>http://maven.aliyun.com/nexus/content/groups/public</url>
- </repository>
-
- </repositories>
-
- <!-- 设定插件仓库 -->
- <pluginRepositories>
-
- <pluginRepository>
- <id>jeesite-repos</id>
- <name>Jeesite Repository</name>
- <url>http://maven.aliyun.com/nexus/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>
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc14</artifactId>
- <version>${oracle.driver.version}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ojdbc14-10.2.0.4.0.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jtds</groupId>
- <artifactId>jtds</artifactId>
- <version>${mssql.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>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
- <!-- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.0.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.2</version>
- <scope>provided</scope>
- </dependency> -->
- <!-- WEB end -->
- <!-- 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.5.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 -->
-
- <!-- 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> -->
-
- <!-- 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>
-
- <!-- fastjson json -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.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>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/analyzer-2012_u6.jar</systemPath>
- </dependency>
- <!-- GENERAL UTILS end -->
-
- <!-- CKFinder begin -->
- <dependency>
- <groupId>net.coobird</groupId>
- <artifactId>thumbnailator</artifactId>
- <version>0.4.2</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/thumbnailator-0.4.2.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>apache-ant-zip</artifactId>
- <version>2.3</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/apache-ant-zip-2.3.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>ckfinder</artifactId>
- <version>2.3</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinder-2.3.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>ckfinderplugin-fileeditor</artifactId>
- <version>2.3</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinderplugin-fileeditor-2.3.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>com.ckfinder</groupId>
- <artifactId>ckfinderplugin-imageresize</artifactId>
- <version>2.3</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinderplugin-imageresize-2.3.jar</systemPath>
- </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>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/UserAgentUtils-1.13.jar</systemPath>
- </dependency>
-
- <!-- 自定义jar依赖包
- <dependency>
- <groupId>com.thinkgem.jeesite</groupId>
- <artifactId>test-core</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/test-core-1.0.jar</systemPath>
- </dependency> -->
-
- <!-- 使用 Jetty JSP引擎
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-jsp</artifactId>
- <version>${jetty.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.eclipse.jetty.orbit</groupId>
- <artifactId>javax.servlet</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.eclipse.jetty.orbit</groupId>
- <artifactId>org.apache.taglibs.standard.glassfish</artifactId>
- </exclusion>
- </exclusions>
- </dependency> -->
-
- </dependencies>
- <build>
- <outputDirectory>${project.basedir}/src/main/webapp/WEB-INF/classes/</outputDirectory>
- <plugins>
- <!-- Compiler 插件, 设定JDK版本 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.5.1</version>
- <configuration>
- <source>${jdk.version}</source>
- <target>${jdk.version}</target>
- <showWarnings>true</showWarnings>
- </configuration>
- </plugin>
-
- <!-- JSP 预编译插件 jspweb.xml
- <plugin>
- <groupId>org.jasig.mojo.jspc</groupId>
- <artifactId>jspc-maven-plugin</artifactId>
- <version>2.0.0</version>
- <configuration>
- <injectString><!- - [INSERT FRAGMENT HERE] - -></injectString>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.jasig.mojo.jspc</groupId>
- <artifactId>jspc-compiler-tomcat6</artifactId>
- <version>2.0.0</version>
- </dependency>
- </dependencies>
- </plugin>-->
-
- <!-- Jetty JSP 预编译插件 web.xml
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-jspc-maven-plugin</artifactId>
- <version>${jetty.version}</version>
- <configuration>
- <insertionMarker><!- - [INSERT FRAGMENT HERE] - -></insertionMarker>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>jspc</goal>
- </goals>
- </execution>
- </executions>
- </plugin>-->
-
- <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- <!-- <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.11</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> -->
- <!-- 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>
- <webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory><!--
- <webXml>${project.basedir}/target/jspweb.xml</webXml> -->
- <warName>${project.artifactId}</warName>
- </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>/${project.artifactId}</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>/${project.artifactId}</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>
- <connectors>
- <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
- <port>${webserver.port}</port>
- </connector>
- </connectors>
- <webAppConfig>
- <contextPath>/${project.artifactId}</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.7</version>
- </plugin>
-
- <!-- install插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.5.2</version>
- </plugin>
-
- <!-- clean插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.6.1</version>
- </plugin>
-
- <!-- ant插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- </plugin>
-
- <!-- dependency插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.10</version>
- </plugin>
- </plugins>
- </build>
-
- <!-- 开发者信息 -->
- <developers>
- <developer>
- <id>thinkgem</id>
- <name>WangZhen</name>
- <email>thinkgem at 163.com</email>
- <roles><role>Project lead</role></roles>
- <timezone>+8</timezone>
- </developer>
- </developers>
-
- </project>
|