From daf06a31b66ea27d49158d30c5877e23e76ac5e1 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Fri, 02 Feb 2018 10:24:39 +0800 Subject: [PATCH] 安全跨域设置 --- pom.xml | 103 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 98 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index ef4950d..d733b23 100644 --- a/pom.xml +++ b/pom.xml @@ -5,8 +5,8 @@ <groupId>com.moral</groupId> <artifactId>screen_api</artifactId> - <version>0.0.1-SNAPSHOT</version> - <packaging>jar</packaging> + <version>1.0.0</version> + <packaging>war</packaging> <name>screen_api</name> <description>Screen API</description> @@ -71,6 +71,7 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> + <scope>provided</scope> </dependency> <dependency> @@ -95,16 +96,108 @@ <artifactId>mysql-connector-java</artifactId> <version>5.1.44</version> </dependency> + + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-data-mongodb</artifactId> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.5</version> + </dependency> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>fastjson</artifactId> + <version>1.2.39</version> + </dependency> + <dependency> + <groupId>net.sourceforge.jexcelapi</groupId> + <artifactId>jxl</artifactId> + <version>2.6.12</version> + </dependency> + <dependency> + <groupId>net.sf.json-lib</groupId> + <artifactId>json-lib</artifactId> + <version>2.4</version> + <classifier>jdk15</classifier> + </dependency> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>1.16.18</version> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-aop</artifactId> + </dependency> + <dependency> + <groupId>com.github.pagehelper</groupId> + <artifactId>pagehelper</artifactId> + <version>4.2.1</version> + </dependency> + <dependency> + <groupId>tk.mybatis</groupId> + <artifactId>mapper</artifactId> + <version>3.4.6</version> + </dependency> + <dependency> + <groupId>jstl</groupId> + <artifactId>jstl</artifactId> + <version>1.2</version> + </dependency> + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.2</version> + </dependency> + <dependency> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-jasper</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>dom4j</groupId> + <artifactId>dom4j</artifactId> + <version>1.6.1</version> + </dependency> + <dependency> + <groupId>commons-net</groupId> + <artifactId>commons-net</artifactId> + <version>3.6</version> + </dependency> + <dependency> + <groupId>io.jsonwebtoken</groupId> + <artifactId>jjwt</artifactId> + <version>0.9.0</version> + </dependency> </dependencies> <build> + <finalName>screen_api_v2</finalName> <plugins> + <plugin> + <groupId>org.mybatis.generator</groupId> + <artifactId>mybatis-generator-maven-plugin</artifactId> + <version>1.3.2</version> + <configuration> + <!--���������������������--> + <configurationFile>src/main/resources/generatorConfig.xml</configurationFile> + <verbose>true</verbose> + <overwrite>false</overwrite> + </configuration> + <dependencies> + <dependency> + <groupId>org.mybatis.generator</groupId> + <artifactId>mybatis-generator-core</artifactId> + <version>1.3.2</version> + </dependency> + </dependencies> + </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> - - -</project> +</project> \ No newline at end of file -- Gitblit v1.8.0