From ace40d29ff8065ea801c57d249400caf27ece585 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Tue, 28 Aug 2018 14:18:40 +0800 Subject: [PATCH] 接口 优化 --- pom.xml | 63 +++++++++++++++++++++++++++---- 1 files changed, 55 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 7c20374..f48af0d 100644 --- a/pom.xml +++ b/pom.xml @@ -85,6 +85,12 @@ <artifactId>spring-security-oauth2</artifactId> </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-configuration-processor</artifactId> + <optional>true</optional> + </dependency> + <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> @@ -156,19 +162,42 @@ <artifactId>tomcat-embed-jasper</artifactId> <scope>provided</scope> </dependency> - - <dependency> - <groupId>commons-net</groupId> - <artifactId>commons-net</artifactId> - <version>3.6</version> - </dependency> - <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> </dependency> - </dependencies> + <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> + + <!-- ������������ --> + <dependency> + <groupId>com.taobao.api</groupId> + <artifactId>taobao-sdk</artifactId> + <version>1.0.0</version> + <scope>system</scope> + <systemPath>${project.basedir}/lib/taobao-sdk-java-auto_1455552377940-20160607.jar</systemPath> + </dependency> + + <dependency> + <groupId>io.springfox</groupId> + <artifactId>springfox-swagger2</artifactId> + <version>2.7.0</version> + </dependency> + <dependency> + <groupId>io.springfox</groupId> + <artifactId>springfox-swagger-ui</artifactId> + <version>2.7.0</version> + </dependency> + </dependencies> <build> <finalName>screen_api_v2</finalName> @@ -195,6 +224,24 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>compile</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/lib</outputDirectory> + <includeScope>system</includeScope> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </project> \ No newline at end of file -- Gitblit v1.8.0