123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718 |
- <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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>cn.ourwill</groupId>
- <artifactId>house</artifactId>
- <packaging>war</packaging>
- <version>0.0.1-SNAPSHOT</version>
- <name>house</name>
- <url>todo</url>
- <!-- 项目属性 -->
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <s>1.8</s>
- <!-- main version setting -->
- <spring.version>4.2.4.RELEASE</spring.version>
- <mybatis.version>3.3.0</mybatis.version>
- <druid.version>1.0.11</druid.version>
- <junit.version>4.9</junit.version>
- <aspectj.version>1.8.8</aspectj.version>
- <servlet-api.version>2.5</servlet-api.version>
- <server-jstl.version>1.2</server-jstl.version>
- <!-- tools version setting -->
- <slf4j.version>1.7.7</slf4j.version>
- <commons-lang.version>3.3.2</commons-lang.version>
- <commons-io.version>2.4</commons-io.version>
- <commons-codec.version>1.9</commons-codec.version>
- <commons-beanutils.version>1.9.1</commons-beanutils.version>
- <commons-logging.version>1.2</commons-logging.version>
- <commons-fileupload.version>1.3.1</commons-fileupload.version>
- <commons-validator.version>1.3.1</commons-validator.version>
- <commons-beanutils.version>1.8.3</commons-beanutils.version>
- <commons-digester.version>1.8</commons-digester.version>
- <commons-collections.version>3.2.1</commons-collections.version>
- <commons-logging.version>1.1.3</commons-logging.version>
- <commons-configuration.version>1.10</commons-configuration.version>
- <guava.version>17.0</guava.version>
- <jackson.version>2.2.3</jackson.version>
- <!-- jdbc driver setting -->
- <mysql.driver.version>5.1.30</mysql.driver.version>
- <!-- environment setting -->
- <jdk.version>1.7</jdk.version>
- <tomcat.version>2.2</tomcat.version>
- <jetty.version>9.3.7.v20160115</jetty.version>
- <server.port>8181</server.port>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <downloadSources>true</downloadSources>
- <!--maven settings -->
- <maven-war-plugin.version>2.1.1</maven-war-plugin.version>
- <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
- </properties>
- <!-- 配置文件 -->
- <profiles>
- <profile>
- <id>mine</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <filters>
- <filter>src/main/resources/filter/filter-mine.properties</filter>
- </filters>
- </build>
- </profile>
- <profile>
- <id>release</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <filters>
- <filter>src/main/resources/filters/filter-release.properties</filter>
- </filters>
- </build>
- </profile>
- </profiles>
- <!-- 设定主仓库,按设定顺序进行查找。 -->
- <repositories>
- <!-- 如有Nexus私服, 取消注释并指向正确的服务器地址.
- <repository>
- <id>nexus-repos</id>
- <name>Team Nexus Repository</name>
- <url>http://192.168.11.36:8888/nexus/content/groups/public</url>
- </repository>
- <repository>
- <id>oschina-repos</id>
- <name>Oschina Releases</name>
- <url>http://maven.oschina.net/content/groups/public</url>
- </repository>
- <repository>
- <id>java-repos</id>
- <name>Java Repository</name>
- <url>http://download.java.net/maven/2/</url>
- </repository>
- <repository>
- <id>springsource-repos</id>
- <name>SpringSource Repository</name>
- <url>http://repo.spring.io/release/</url>
- </repository>
- <repository>
- <id>central-repos</id>
- <name>Central Repository</name>
- <url>http://repo.maven.apache.org/maven2</url>
- </repository>
- -->
- <repository>
- <id>alimaven</id>
- <name>aliyun maven</name>
- <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
- </repository>
- <repository>
- <id>central-repos2</id>
- <name>Central Repository 2</name>
- <url>http://repo1.maven.org/maven2/</url>
- </repository>
- <repository>
- <id>activiti-repos</id>
- <name>Activiti Repository</name>
- <url>https://maven.alfresco.com/nexus/content/groups/public</url>
- </repository>
- <repository>
- <id>activiti-repos2</id>
- <name>Activiti Repository 2</name>
- <url>https://app.camunda.com/nexus/content/groups/public</url>
- </repository>
- <repository>
- <id>thinkgem-repos2</id>
- <name>ThinkGem Repository 2</name>
- <url>https://raw.github.com/thinkgem/repository/master</url>
- </repository>
- </repositories>
- <!-- 设定插件仓库 -->
- <pluginRepositories>
- <pluginRepository>
- <id>oschina-repos</id>
- <name>Oschina Releases</name>
- <url>http://maven.oschina.net/content/groups/public</url>
- </pluginRepository>
- </pluginRepositories>
- <dependencies>
- <!-- 导出pdf文件 -->
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itextpdf</artifactId>
- <version>5.4.3</version>
- </dependency>
- <!--中文依赖包 -->
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itext-asian</artifactId>
- <version>5.2.0</version>
- </dependency>
- <!-- spring beans -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>${spring.version}</version>
- </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>
- <!-- spring mvc -->
- <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>
- <!-- spring AOP -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-aop</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjrt</artifactId>
- <version>${aspectj.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- <version>${aspectj.version}</version>
- <scope>runtime</scope>
- </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>
- <!-- mybatis -->
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis</artifactId>
- <version>${mybatis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mybatis.generator</groupId>
- <artifactId>mybatis-generator-core</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis-spring</artifactId>
- <version>1.2.1</version>
- </dependency>
- <dependency>
- <groupId>tk.mybatis</groupId>
- <artifactId>mapper</artifactId>
- <version>4.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.github.pagehelper</groupId>
- <artifactId>pagehelper</artifactId>
- <version>5.0.0</version>
- </dependency>
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <version>1.0</version>
- </dependency>
- <!-- druid -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>${druid.version}</version>
- </dependency>
- <!-- mysql -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>${mysql.driver.version}</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.12.2</version>
- <scope>provided</scope>
- </dependency>
- <!-- j2ee web spec -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>${servlet-api.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <version>${server-jstl.version}</version>
- </dependency>
- <!-- GENERAL UTILS begin -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>${commons-fileupload.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${commons-codec.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- <version>${commons-validator.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>${commons-beanutils.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-digester</groupId>
- <artifactId>commons-digester</artifactId>
- <version>${commons-digester.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>${commons-collections.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>${commons-logging.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-configuration</groupId>
- <artifactId>commons-configuration</artifactId>
- <version>${commons-configuration.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>${guava.version}</version>
- </dependency>
- <!-- Gson -->
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.2.4</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>
- <dependency>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <version>2.4</version>
- <classifier>jdk15</classifier>
- </dependency>
- <dependency>
- <groupId>org.json</groupId>
- <artifactId>json</artifactId>
- <version>20180130</version>
- </dependency>
- <!-- javamelody监控sql -->
- <dependency>
- <groupId>net.bull.javamelody</groupId>
- <artifactId>javamelody-core</artifactId>
- <version>1.49.0</version>
- </dependency>
- <dependency>
- <groupId>org.jrobin</groupId>
- <artifactId>jrobin</artifactId>
- <version>1.5.9</version>
- </dependency>
- <dependency>
- <groupId>com.caucho</groupId>
- <artifactId>hessian</artifactId>
- <version>3.1.5</version>
- </dependency>
- <dependency>
- <groupId>com.github.miemiedev</groupId>
- <artifactId>mybatis-paginator</artifactId>
- <version>1.2.17</version>
- </dependency>
- <dependency>
- <!-- jsoup HTML parser library @ http://jsoup.org/ -->
- <groupId>org.jsoup</groupId>
- <artifactId>jsoup</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>2.1.0</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>2.1.0</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>2.1.0</version>
- </dependency>
- <!-- log -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.7</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.1.2</version>
- </dependency>
- <dependency>
- <groupId>dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>1.6.1</version>
- <exclusions>
- <exclusion>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- User Agent -->
- <dependency>
- <groupId>bitwalker</groupId>
- <artifactId>UserAgentUtils</artifactId>
- <version>1.13</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>
- <!-- 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>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- </dependency>
- <!-- CKFinder end -->
- <!-- poi -->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>3.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>3.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml-schemas</artifactId>
- <version>3.8</version>
- </dependency>
- <!--图表-->
- <dependency>
- <groupId>org.jfree.chart</groupId>
- <artifactId>com.springsource.org.jfree.chart</artifactId>
- <version>1.0.9</version>
- </dependency>
- <dependency>
- <groupId>org.jfree</groupId>
- <artifactId>com.springsource.org.jfree</artifactId>
- <version>1.0.12</version>
- </dependency>
- <!--二维码-->
- <dependency>
- <groupId>com.google.zxing</groupId>
- <artifactId>core</artifactId>
- <version>3.2.1</version>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.9.2</version>
- </dependency>
- <!--图片压缩imgscalr-->
- <dependency>
- <groupId>org.imgscalr</groupId>
- <artifactId>imgscalr-lib</artifactId>
- <version>4.2</version>
- </dependency>
- <dependency>
- <groupId>caja</groupId>
- <artifactId>json_simple</artifactId>
- <version>r1</version>
- </dependency>
- <dependency>
- <groupId>org.jetbrains</groupId>
- <artifactId>annotations-java5</artifactId>
- <version>15.0</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>1.2.29</version>
- <scope>compile</scope>
- </dependency>
- <!--sqllite-->
- <dependency>
- <groupId>org.xerial</groupId>
- <artifactId>sqlite-jdbc</artifactId>
- <version>3.8.11.2</version>
- </dependency>
- <!--定时器-->
- <dependency>
- <groupId>org.quartz-scheduler</groupId>
- <artifactId>quartz</artifactId>
- <version>2.2.3</version>
- </dependency>
- <dependency>
- <groupId>org.quartz-scheduler</groupId>
- <artifactId>quartz-jobs</artifactId>
- <version>2.2.1</version>
- </dependency>
- <!--http://git.oschina.net/free/ECharts-->
- <dependency>
- <groupId>com.github.abel533</groupId>
- <artifactId>ECharts</artifactId>
- <version>3.0.0</version>
- </dependency>
- <!-- <dependency>
- <groupId>org.jeewxframework</groupId>
- <artifactId>P3-Core</artifactId>
- <version>2.1-SNAPSHOT</version>
- </dependency>-->
- <dependency>
- <groupId>com.vaadin.external.google</groupId>
- <artifactId>android-json</artifactId>
- <version>0.0.20131108.vaadin1</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>house</finalName>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <!-- 需要指定WebRoot路径或者web.xml路径 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>${maven-war-plugin.version}</version>
- <configuration>
- <warName>${project.artifactId}</warName>
- <webResources>
- <resource>
- <!-- this is relative to the pom.xml directory -->
- <directory>src/main/webapp</directory>
- </resource>
- </webResources>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- <configuration>
- <source>${jdk.version}</source>
- <target>${jdk.version}</target>
- <encoding>UTF-8</encoding>
- <!--引入外部jar时添加,编译参数,否则无法使用jar中的类-->
- <compilerArguments>
- <extdirs>src/main/webapp/WEB-INF/lib</extdirs>
- </compilerArguments>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>${jetty.version}</version>
- <configuration>
- <scanIntervalSeconds>2</scanIntervalSeconds>
- <reload>automatic</reload>
- <webApp>
- <contextPath>/</contextPath>
- </webApp>
- <scanTargetPatterns>
- <scanTargetPattern>
- <directory>src/main/resources/mappings/modules</directory>
- <includes>
- <include>**/**/*.xml</include>
- </includes>
- </scanTargetPattern>
- </scanTargetPatterns>
- </configuration>
- </plugin>
- <!-- tomcat plugin -->
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>${tomcat.version}</version>
- <configuration>
- <path>/</path>
- <port>${server.port}</port>
- <uriEncoding>UTF-8</uriEncoding>
- <url>http://127.0.0.1/manager</url>
- <server>tomcat7</server>
- <contextReloadable>true</contextReloadable>
- <warSourceDirectory>src/main/webapp</warSourceDirectory>
- <contextReloadable>false</contextReloadable>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|