123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470 |
- <?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.xc</groupId>
- <artifactId>stock2c1</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>war</packaging>
- <name>stock2 Maven Webapp</name>
- <!-- FIXME change it to the project's website -->
- <url>http://www.example.com</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <org.springframework.version>4.0.3.RELEASE</org.springframework.version>
- <org.mybatis.version>3.4.1</org.mybatis.version>
- <org.mybatis.spring.version>1.3.0</org.mybatis.spring.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <java.version>1.8</java.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- <!--tomcat-->
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-servlet-api</artifactId>
- <version>8.0.53</version>
- </dependency>
- <!--支持websocket-->
- <!--<dependency>-->
- <!--<groupId>javax</groupId>-->
- <!--<artifactId>javaee-api</artifactId>-->
- <!--<version>7.0</version>-->
- <!--</dependency>-->
- <!--支持websocket-->
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-all</artifactId>
- <version>4.1.29.Final</version>
- </dependency>
- <!--springMVC-->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${org.springframework.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-oxm</artifactId>
- <version>${org.springframework.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <version>${org.springframework.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- <version>${org.springframework.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${org.springframework.version}</version>
- </dependency>
- <!--Mybatis-->
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis-spring</artifactId>
- <version>${org.mybatis.spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis</artifactId>
- <version>${org.mybatis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjrt</artifactId>
- <version>1.6.11</version>
- </dependency>
- <!--Jackson序列化-->
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.9.12</version>
- </dependency>
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- <version>1.4</version>
- <!--<scope>runtime</scope>-->
- </dependency>
- <!--logback日志-->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.1.2</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>1.1.2</version>
- <scope>compile</scope>
- </dependency>
- <!--mysql connect-->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.6</version>
- </dependency>
- <!--guava工具类-->
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>20.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>3.5</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.1</version>
- </dependency>
- <!--joda time-->
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.3</version>
- </dependency>
- <!-- id加密解密 -->
- <dependency>
- <groupId>org.hashids</groupId>
- <artifactId>hashids</artifactId>
- <version>1.0.1</version>
- </dependency>
- <!-- ftpclient -->
- <dependency>
- <groupId>commons-net</groupId>
- <artifactId>commons-net</artifactId>
- <version>3.1</version>
- </dependency>
- <!-- file upload -->
- <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.2.2</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.0.1</version>
- </dependency>
- <!-- mybatis pager -->
- <dependency>
- <groupId>com.github.pagehelper</groupId>
- <artifactId>pagehelper</artifactId>
- <version>4.1.0</version>
- </dependency>
- <dependency>
- <groupId>com.github.miemiedev</groupId>
- <artifactId>mybatis-paginator</artifactId>
- <version>1.2.17</version>
- </dependency>
- <dependency>
- <groupId>com.github.jsqlparser</groupId>
- <artifactId>jsqlparser</artifactId>
- <version>0.9.4</version>
- </dependency>
- <!--二期新增的-->
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <version>2.6.0</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.16.18</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.springframework.session/spring-session-data-redis -->
- <dependency>
- <groupId>org.springframework.session</groupId>
- <artifactId>spring-session-data-redis</artifactId>
- <version>1.2.0.RELEASE</version>
- </dependency>
- <!--redisson-->
- <!--<dependency>-->
- <!--<groupId>org.redisson</groupId>-->
- <!--<artifactId>redisson</artifactId>-->
- <!--<version>2.9.0</version>-->
- <!--</dependency>-->
- <!--<dependency>-->
- <!--<groupId>com.fasterxml.jackson.dataformat</groupId>-->
- <!--<artifactId>jackson-dataformat-avro</artifactId>-->
- <!--<version>2.9.0</version>-->
- <!--</dependency>-->
- <!--集成freemarker-->
- <!-- freemarker集成的支持,这个一定要有、不用报错-->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <version>3.2.4.RELEASE</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>2.3.25-incubating</version>
- </dependency>
- <!--七牛云存储-->
- <dependency>
- <groupId>com.qiniu</groupId>
- <artifactId>qiniu-java-sdk</artifactId>
- <version>7.2.6</version>
- <scope>compile</scope>
- </dependency>
- <!--微信sdk https://github.com/wechat-group/weixin-java-tools -->
- <!--sdk wiki https://github.com/wechat-group/weixin-java-tools/wiki -->
- <!--微信小程序:weixin-java-miniapp-->
- <!--微信支付:weixin-java-pay-->
- <!--微信开放平台:weixin-java-open-->
- <!--公众号:weixin-java-mp-->
- <!--企业号/企业微信:weixin-java-cp-->
- <dependency>
- <groupId>com.github.binarywang</groupId>
- <artifactId>weixin-java-mp</artifactId>
- <version>2.7.0</version>
- </dependency>
- <dependency>
- <groupId>com.github.binarywang</groupId>
- <artifactId>weixin-java-pay</artifactId>
- <version>2.7.0</version>
- </dependency>
- <!--支付sdk,必须用jdk1.8,在idea中preferences和project structor和pom中修改jdk版本-->
- <dependency>
- <groupId>cn.springboot</groupId>
- <artifactId>best-pay-sdk</artifactId>
- <version>1.1.0</version>
- </dependency>
- <!--aliyun sms sdk-->
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-core</artifactId>
- <version>3.4.0</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/net.iharder/base64 -->
- <!--<dependency>-->
- <!--<groupId>net.iharder</groupId>-->
- <!--<artifactId>base64</artifactId>-->
- <!--<version>2.3.9</version>-->
- <!--</dependency>-->
- <!--聚合api json-->
- <!-- https://mvnrepository.com/artifact/net.sf.json-lib/json-lib -->
- <dependency>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <version>2.4</version>
- <classifier>jdk15</classifier>
- </dependency>
- <!--识别指数首字母-->
- <dependency>
- <groupId>com.belerweb</groupId>
- <artifactId>pinyin4j</artifactId>
- <version>2.5.1</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>1.2.47</version>
- </dependency>
- <!--http client maven pom 找了好久-->
- <!--<dependency>-->
- <!--<groupId>commons-httpclient</groupId>-->
- <!--<artifactId>commons-httpclient</artifactId>-->
- <!--<version>3.1</version>-->
- <!--</dependency>-->
- <!-- kaptcha验证码-->
- <!-- https://mvnrepository.com/artifact/com.github.penggle/kaptcha -->
- <dependency>
- <groupId>com.github.penggle</groupId>
- <artifactId>kaptcha</artifactId>
- <version>2.3.2</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.openanzo.dependencies/org.apache.commons.httpclient -->
- <!--<dependency>-->
- <!--<groupId>org.openanzo.dependencies</groupId>-->
- <!--<artifactId>org.apache.commons.httpclient</artifactId>-->
- <!--<version>3.1</version>-->
- <!--</dependency>-->
- <!--跨域请求依赖-->
- <dependency>
- <groupId>com.thetransactioncompany</groupId>
- <artifactId>cors-filter</artifactId>
- <version>2.6</version>
- </dependency>
- <!--发送邮件-->
- <!-- 邮件start -->
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>1.4.7</version>
- </dependency>
- <!-- 邮件end -->
- <!-- https://mvnrepository.com/artifact/org.dom4j/dom4j -->
- <dependency>
- <groupId>org.dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>2.1.1</version>
- </dependency>
- <dependency>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <version>2.2.3</version>
- <classifier>jdk15</classifier>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>2.9.8</version>
- </dependency>
- <dependency>
- <groupId>com.auth0</groupId>
- <artifactId>java-jwt</artifactId>
- <version>3.8.2</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>stock2c1</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- <!--PageHelper.startPage(1, 10);只对该语句以后的第一个查询语句得到的数据进行分页,-->
- <!--就算你在PageInfo pa = new PageInfo("",对象);语句里面的对象是写的最终得到的数据,-->
- <!--该插件还是只会对第一个查询所查询出来的数据进行分页-->
- <!--第一个查询语句是指什么呢?举个例子吧-->
- <!--比如你有一个查询数据的方法,写在了PageHelper.startPage(1, 10);下面.-->
- <!--但是这个查询方法里面包含两个查询语句的话,该插件就只会对第一查询语句查询的数据进行分页,-->
- <!--而不是对返回最终数据的查询与基础查询出来的数据进行分页.-->
- <plugin>
- <groupId>org.mybatis.generator</groupId>
- <artifactId>mybatis-generator-maven-plugin</artifactId>
- <version>1.3.2</version>
- <configuration>
- <verbose>true</verbose>
- <overwrite>true</overwrite>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <failOnMissingWebXml>false</failOnMissingWebXml>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>
- src/main/java
- </directory>
- <filtering>true</filtering>
- <includes>
- <include>email/**.html</include>
- <include>mappers/**.xml</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/data/*</include>
- <include>**/*.xml</include>
- <include>**/*.properties</include>
- </includes>
- </resource>
- </resources>
- <!-- <sourceDirectory>src.main.java</sourceDirectory>-->
- </build>
- </project>
|