From 65669a27226805fc91f349512f5384729c2b5273 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Fri, 02 Feb 2018 10:58:22 +0800 Subject: [PATCH] 安全跨域设置 --- pom.xml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 52 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index cc12fb1..d733b23 100644 --- a/pom.xml +++ b/pom.xml @@ -71,6 +71,7 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> + <scope>provided</scope> </dependency> <dependency> @@ -138,19 +139,65 @@ <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper</artifactId> - <version>3.3.9</version> + <version>3.4.6</version> </dependency> - </dependencies> + <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