Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
afanti-open-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
java-ms
afanti-open-api
Commits
9573942c
Commit
9573942c
authored
Sep 19, 2024
by
严俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理Jar依赖问题
parent
d7494017
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
8 deletions
+64
-8
pom.xml
pom.xml
+62
-2
AfantiOpenApiApplication.java
...com/afanticar/afantiopenapi/AfantiOpenApiApplication.java
+2
-2
bootstrap.yml
src/main/resources/bootstrap.yml
+0
-4
No files found.
pom.xml
View file @
9573942c
...
...
@@ -22,6 +22,48 @@
<groupId>
com.afanticar
</groupId>
<artifactId>
afanti-activity-api
</artifactId>
<version>
1.0.1-SNAPSHOT
</version>
<exclusions>
<exclusion>
<groupId>
org.redisson
</groupId>
<artifactId>
redisson-spring-boot-starter
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.baomidou
</groupId>
<artifactId>
dynamic-datasource-spring-boot-starter
</artifactId>
</exclusion>
<exclusion>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-core
</artifactId>
</exclusion>
<exclusion>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-crypto
</artifactId>
</exclusion>
<exclusion>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-extra
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.afanticar
</groupId>
<artifactId>
afanticar-swagger2-starter
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.afanticar
</groupId>
<artifactId>
afanticar-rocketmq-starter
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-extension
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.github.xiaoymin
</groupId>
<artifactId>
knife4j-spring-boot-starter
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
...
...
@@ -210,6 +252,24 @@
<!-- 运维类依赖-->
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.9.2
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.9.2
</version>
<exclusions>
<exclusion>
<artifactId>
mapstruct
</artifactId>
<groupId>
org.mapstruct
</groupId>
</exclusion>
</exclusions>
</dependency>
<!--<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.10.5</version>
...
...
@@ -227,7 +287,7 @@
</exclusions>
</dependency>
<!--解决Swagger 2.9.2版本NumberFormatException-->
<!–解决Swagger 2.9.2版本NumberFormatException–>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
...
...
@@ -237,7 +297,7 @@
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.6.0</version>
</dependency>
</dependency>
-->
</dependencies>
...
...
src/main/java/com/afanticar/afantiopenapi/AfantiOpenApiApplication.java
View file @
9573942c
...
...
@@ -5,14 +5,14 @@ import org.springframework.boot.SpringApplication;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
import
springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc
;
//import springfox.documentation.swagger2.annotations.EnableSwagger2
;
/**
*
* @author Chin
*
*/
//@EnableSwagger2
WebMvc
//@EnableSwagger2
@SpringBootApplication
@EnableScheduling
@EnableFeignClients
(
basePackages
=
{
"com.afanticar"
})
...
...
src/main/resources/bootstrap.yml
View file @
9573942c
...
...
@@ -53,10 +53,6 @@ spring:
username-property
:
spring.datasource.dynamic.datasource.tmp.username
password-property
:
spring.datasource.dynamic.datasource.tmp.password
ali
:
ons
:
rocketmq
:
enable
:
false
#
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment