Skip to content

Commit 158be3e

Browse files
committed
🎨 优化依赖
1 parent f530fde commit 158be3e

File tree

9 files changed

+127
-224
lines changed

9 files changed

+127
-224
lines changed

Diff for: hope-admin/pom.xml

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@
1313
低调小熊猫开源作品hope-boot 个人博客:https://aodeng.cc 微信公众号:低调小熊猫
1414
后台管理
1515
</description>
16+
1617
<!--继承父模板-->
1718
<parent>
1819
<groupId>com.hope</groupId>
1920
<artifactId>hope-boot</artifactId>
2021
<version>0.0.1-SNAPSHOT</version>
2122
</parent>
2223

23-
<properties>
24-
<hope.core.version>0.0.1-SNAPSHOT</hope.core.version>
25-
</properties>
26-
2724
<dependencies>
2825
<!--依赖core模板-->
2926
<dependency>

Diff for: hope-core/pom.xml

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@
1313
低调小熊猫开源作品hope-boot 个人博客:https://aodeng.cc 微信公众号:低调小熊猫
1414
核心代码
1515
</description>
16+
1617
<!--继承父模板-->
1718
<parent>
1819
<groupId>com.hope</groupId>
1920
<artifactId>hope-boot</artifactId>
2021
<version>0.0.1-SNAPSHOT</version>
2122
</parent>
2223

23-
<properties>
24-
<hope.framework.version>0.0.1-SNAPSHOT</hope.framework.version>
25-
</properties>
26-
2724
<dependencies>
2825
<!--依赖framework模板-->
2926
<dependency>

Diff for: hope-flyway/pom.xml

-28
Original file line numberDiff line numberDiff line change
@@ -19,49 +19,21 @@
1919
<version>0.0.1-SNAPSHOT</version>
2020
</parent>
2121

22-
<properties>
23-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
25-
<java.version>1.8</java.version>
26-
</properties>
27-
2822
<dependencies>
29-
<dependency>
30-
<groupId>org.springframework.boot</groupId>
31-
<artifactId>spring-boot-starter</artifactId>
32-
</dependency>
33-
34-
<dependency>
35-
<groupId>org.springframework.boot</groupId>
36-
<artifactId>spring-boot-starter-test</artifactId>
37-
<scope>test</scope>
38-
</dependency>
3923
<dependency>
4024
<groupId>org.mybatis.spring.boot</groupId>
4125
<artifactId>mybatis-spring-boot-starter</artifactId>
4226
<version>1.3.2</version>
4327
</dependency>
44-
<dependency>
45-
<groupId>org.springframework.boot</groupId>
46-
<artifactId>spring-boot-starter-web</artifactId>
47-
</dependency>
4828
<dependency>
4929
<groupId>org.flywaydb</groupId>
5030
<artifactId>flyway-core</artifactId>
5131
</dependency>
52-
5332
<dependency>
5433
<groupId>mysql</groupId>
5534
<artifactId>mysql-connector-java</artifactId>
5635
<scope>runtime</scope>
5736
</dependency>
58-
<dependency>
59-
<groupId>org.springframework.boot</groupId>
60-
<artifactId>spring-boot-starter-test</artifactId>
61-
<scope>test</scope>
62-
</dependency>
63-
6437
</dependencies>
65-
6638
<!--该模块不需要打包-->
6739
</project>

Diff for: hope-flyway/src/test/java/com/hope/HopeFlywayApplicationTests.java

-16
This file was deleted.

Diff for: hope-framework/pom.xml

+114
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,124 @@
1313
低调小熊猫开源作品hope-boot 个人博客:https://aodeng.cc 微信公众号:低调小熊猫
1414
框架代码
1515
</description>
16+
1617
<!--继承父模板-->
1718
<parent>
1819
<groupId>com.hope</groupId>
1920
<artifactId>hope-boot</artifactId>
2021
<version>0.0.1-SNAPSHOT</version>
2122
</parent>
23+
24+
<dependencies>
25+
<!--springboot 集成Mybatis所需jar配置 start -->
26+
<!--支持使用 JDBC 访问数据库 -->
27+
<dependency>
28+
<groupId>org.springframework.boot</groupId>
29+
<artifactId>spring-boot-starter-jdbc</artifactId>
30+
</dependency>
31+
<!--mybatis-->
32+
<dependency>
33+
<groupId>org.mybatis.spring.boot</groupId>
34+
<artifactId>mybatis-spring-boot-starter</artifactId>
35+
<version>${mybatis.spring.boot.starter.version}</version>
36+
</dependency>
37+
<!--jpa-->
38+
<dependency>
39+
<groupId>org.springframework.boot</groupId>
40+
<artifactId>spring-boot-starter-data-jpa</artifactId>
41+
</dependency>
42+
<!--mapper-->
43+
<dependency>
44+
<groupId>tk.mybatis</groupId>
45+
<artifactId>mapper-spring-boot-starter</artifactId>
46+
<version>${mapper.spring.boot.starter.version}</version>
47+
</dependency>
48+
<!--pagehelper-->
49+
<dependency>
50+
<groupId>com.github.pagehelper</groupId>
51+
<artifactId>pagehelper-spring-boot-starter</artifactId>
52+
<version>${pagehelper.spring.boot.starter.version}</version>
53+
</dependency>
54+
<!--mysql-->
55+
<dependency>
56+
<groupId>mysql</groupId>
57+
<artifactId>mysql-connector-java</artifactId>
58+
</dependency>
59+
<!--springboot 集成Mybatis所需jar配置 end -->
60+
<!--druid-->
61+
<dependency>
62+
<groupId>com.alibaba</groupId>
63+
<artifactId>druid</artifactId>
64+
<version>${druid.version}</version>
65+
</dependency>
66+
<!--fastjson-->
67+
<dependency>
68+
<groupId>com.alibaba</groupId>
69+
<artifactId>fastjson</artifactId>
70+
<version>${fastjson.version}</version>
71+
</dependency>
72+
<!--shiro-->
73+
<dependency>
74+
<groupId>org.apache.shiro</groupId>
75+
<artifactId>shiro-spring</artifactId>
76+
<version>${shiro.spring.version}</version>
77+
</dependency>
78+
<!--redis-->
79+
<dependency>
80+
<groupId>org.springframework.boot</groupId>
81+
<artifactId>spring-boot-starter-data-redis</artifactId>
82+
</dependency>
83+
<!--shiro-redis-->
84+
<dependency>
85+
<groupId>org.crazycake</groupId>
86+
<artifactId>shiro-redis</artifactId>
87+
<version>${shiro.redis.version}</version>
88+
<exclusions>
89+
<exclusion>
90+
<artifactId>shiro-core</artifactId>
91+
<groupId>org.apache.shiro</groupId>
92+
</exclusion>
93+
</exclusions>
94+
</dependency>
95+
<!--thymeleaf-->
96+
<dependency>
97+
<groupId>org.springframework.boot</groupId>
98+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
99+
</dependency>
100+
<!--thymeleaf-extras-shiro-->
101+
<dependency>
102+
<groupId>com.github.theborakompanioni</groupId>
103+
<artifactId>thymeleaf-extras-shiro</artifactId>
104+
<version>${thymeleaf.extras.shiro.version}</version>
105+
</dependency>
106+
<!--nekohtml-->
107+
<dependency>
108+
<groupId>net.sourceforge.nekohtml</groupId>
109+
<artifactId>nekohtml</artifactId>
110+
<version>${nekohtml.version}</version>
111+
</dependency>
112+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
113+
<dependency>
114+
<groupId>org.apache.commons</groupId>
115+
<artifactId>commons-lang3</artifactId>
116+
<version>${commons.lang3.version}</version>
117+
</dependency>
118+
<!--kaptcha-->
119+
<dependency>
120+
<groupId>com.github.penggle</groupId>
121+
<artifactId>kaptcha</artifactId>
122+
<version>${kaptcha.version}</version>
123+
</dependency>
124+
<!--swagger2-->
125+
<dependency>
126+
<groupId>io.springfox</groupId>
127+
<artifactId>springfox-swagger2</artifactId>
128+
<version>${springfox.swagger2.version}</version>
129+
</dependency>
130+
<dependency>
131+
<groupId>io.springfox</groupId>
132+
<artifactId>springfox-swagger-ui</artifactId>
133+
<version>${springfox.swagger.ui.version}</version>
134+
</dependency>
135+
</dependencies>
22136
</project>

Diff for: hope-generator/pom.xml

-17
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,7 @@
1919
<version>0.0.1-SNAPSHOT</version>
2020
</parent>
2121

22-
<properties>
23-
<java.version>1.8</java.version>
24-
</properties>
25-
2622
<dependencies>
27-
<!-- spring-webmvc(spring-boot-starter = spring + autoconfigure + logback + yaml) + tomcat -->
28-
<dependency>
29-
<groupId>org.springframework.boot</groupId>
30-
<artifactId>spring-boot-starter-web</artifactId>
31-
</dependency>
32-
<!-- junit + spring-test + mockito -->
33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-test</artifactId>
36-
<scope>test</scope>
37-
</dependency>
3823
<!-- freemarker -->
3924
<dependency>
4025
<groupId>org.springframework.boot</groupId>
@@ -53,7 +38,6 @@
5338
<optional>true</optional>
5439
<scope>provided</scope>
5540
</dependency>
56-
5741
</dependencies>
5842

5943
<build>
@@ -65,5 +49,4 @@
6549
</plugin>
6650
</plugins>
6751
</build>
68-
6952
</project>

Diff for: hope-generator/src/test/java/com/hope/HopeCodeGeneratorApplicationTests.java

-16
This file was deleted.

Diff for: hope-sso-server/pom.xml

+7-8
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,14 @@
1212
低调小熊猫开源作品hope-boot 个人博客:https://aodeng.cc 微信公众号:低调小熊猫
1313
hope 单点登陆 认证中心 参考 http://www.xuxueli.com/xxl-sso/#/
1414
</description>
15+
1516
<!--继承父模板-->
1617
<parent>
1718
<groupId>com.hope</groupId>
1819
<artifactId>hope-boot</artifactId>
1920
<version>0.0.1-SNAPSHOT</version>
2021
</parent>
2122

22-
<properties>
23-
<xxl.sso.core.version>1.1.0</xxl.sso.core.version>
24-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
26-
<java.version>1.8</java.version>
27-
</properties>
28-
2923
<dependencies>
3024
<!-- freemarker -->
3125
<dependency>
@@ -38,6 +32,12 @@
3832
<artifactId>xxl-sso-core</artifactId>
3933
<version>${xxl.sso.core.version}</version>
4034
</dependency>
35+
<!--xxl-sso-core-->
36+
<dependency>
37+
<groupId>com.xuxueli</groupId>
38+
<artifactId>xxl-sso-core</artifactId>
39+
<version>${xxl.sso.core.version}</version>
40+
</dependency>
4141
</dependencies>
4242

4343
<build>
@@ -49,5 +49,4 @@
4949
</plugin>
5050
</plugins>
5151
</build>
52-
5352
</project>

0 commit comments

Comments
 (0)