Skip to content

Commit 0dfdf52

Browse files
committed
1、移除部分小工具至插件项目中单独维护;2、移除多余的jar包依赖;3、移除多余的工具类
1 parent 5879b31 commit 0dfdf52

492 files changed

Lines changed: 38 additions & 53636 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ xJavaFxTool是使用javaFx开发的实用小工具集,利用业余时间把工
3939
- 百度云链接:[https://pan.baidu.com/s/193fhGnJL4dDWcqDnFJcHbA](https://pan.baidu.com/s/193fhGnJL4dDWcqDnFJcHbA) 提取码:mokl
4040
- 腾讯微云链接:[https://share.weiyun.com/5T6FPLW](https://share.weiyun.com/5T6FPLW) 提取码:java
4141

42-
支持插件开发,将插件jar包放至根目录libs下即可自动加载(插件开发示例见[开源项目xJavaFxPlugIn](https://gitee.com/xwintop/xJavaFxPlugIn),后续准备将小工具拆分至各插件中按需加载,目前插件功能暂不完善,后续将各功能拆分至各模块按需加载,减小jar包的大小);
42+
支持插件开发,将插件jar包放至根目录libs下即可自动加载(插件开发示例见[开源项目xJavaFxTool-plugin](https://gitee.com/xwintop/xJavaFxTool-plugin),后续准备将小工具拆分至各插件中按需加载,目前插件功能暂不完善,后续将各功能拆分至各模块按需加载,减小jar包的大小);
4343

4444
#### 环境搭建说明:
4545
- 开发环境为jdk1.8,基于maven构建

lib/xcore-0.0.1-SNAPSHOT.jar

-46.7 KB
Binary file not shown.
-186 KB
Binary file not shown.

pom.xml

Lines changed: 7 additions & 226 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44

55
<groupId>com.xwintop</groupId>
66
<artifactId>xJavaFxTool</artifactId>
7-
<version>0.1.9</version>
7+
<version>0.2.0</version>
88
<packaging>jar</packaging>
99
<name>xJavaFxTool</name>
1010
<description>基于JavaFx搭建的实用小工具集合</description>
1111
<url>https://gitee.com/xwintop/xJavaFxTool</url>
1212

13-
<parent>
14-
<groupId>org.springframework.boot</groupId>
15-
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>2.1.3.RELEASE</version>
17-
</parent>
13+
<!-- <parent>-->
14+
<!-- <groupId>org.springframework.boot</groupId>-->
15+
<!-- <artifactId>spring-boot-starter-parent</artifactId>-->
16+
<!-- <version>2.1.3.RELEASE</version>-->
17+
<!-- </parent>-->
1818

1919
<properties>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -60,85 +60,7 @@
6060
<dependency>
6161
<groupId>com.xwintop</groupId>
6262
<artifactId>xcore</artifactId>
63-
<version>0.0.1-SNAPSHOT</version>
64-
</dependency>
65-
66-
<dependency>
67-
<groupId>org.springframework.boot</groupId>
68-
<artifactId>spring-boot-starter</artifactId>
69-
</dependency>
70-
<dependency>
71-
<groupId>org.springframework.boot</groupId>
72-
<artifactId>spring-boot-starter-web</artifactId>
73-
</dependency>
74-
75-
<dependency>
76-
<groupId>io.springfox</groupId>
77-
<artifactId>springfox-swagger2</artifactId>
78-
<version>2.9.2</version>
79-
</dependency>
80-
<dependency>
81-
<groupId>io.springfox</groupId>
82-
<artifactId>springfox-swagger-ui</artifactId>
83-
<version>2.9.2</version>
84-
</dependency>
85-
86-
<!-- 二维码识别与生成工具库 -->
87-
<dependency>
88-
<groupId>com.google.zxing</groupId>
89-
<artifactId>javase</artifactId>
90-
<version>3.3.3</version>
91-
</dependency>
92-
<!-- java注册全局热键工具类 -->
93-
<dependency>
94-
<groupId>com.github.tulskiy</groupId>
95-
<artifactId>jkeymaster</artifactId>
96-
<version>1.2</version>
97-
</dependency>
98-
<!-- HanLP自然语言处理包开源 -->
99-
<dependency>
100-
<groupId>com.hankcs</groupId>
101-
<artifactId>hanlp</artifactId>
102-
<version>portable-1.7.3</version>
103-
</dependency>
104-
<!--thumbnailator图片处理工具 -->
105-
<dependency>
106-
<groupId>net.coobird</groupId>
107-
<artifactId>thumbnailator</artifactId>
108-
<version>0.4.8</version>
109-
</dependency>
110-
111-
<!-- 搭建ftp服务器 -->
112-
<dependency>
113-
<groupId>org.apache.ftpserver</groupId>
114-
<artifactId>ftpserver-core</artifactId>
115-
<version>1.1.1</version>
116-
</dependency>
117-
118-
<!--pdf工具-->
119-
<dependency>
120-
<groupId>org.apache.pdfbox</groupId>
121-
<artifactId>pdfbox</artifactId>
122-
<version>2.0.16</version>
123-
</dependency>
124-
125-
<dependency>
126-
<groupId>org.springframework</groupId>
127-
<artifactId>spring-jdbc</artifactId>
128-
</dependency>
129-
130-
<!-- activemq集成 -->
131-
<dependency>
132-
<groupId>org.springframework.boot</groupId>
133-
<artifactId>spring-boot-starter-activemq</artifactId>
134-
</dependency>
135-
<dependency>
136-
<groupId>org.springframework.boot</groupId>
137-
<artifactId>spring-boot-starter-amqp</artifactId>
138-
</dependency>
139-
<dependency>
140-
<groupId>org.springframework.boot</groupId>
141-
<artifactId>spring-boot-starter-mail</artifactId>
63+
<version>0.0.2-SNAPSHOT</version>
14264
</dependency>
14365

14466
<!-- oshi获取系统信息工具 -->
@@ -148,147 +70,6 @@
14870
<version>3.9.1</version>
14971
</dependency>
15072

151-
<!-- kafka开发 -->
152-
<dependency>
153-
<groupId>org.springframework.kafka</groupId>
154-
<artifactId>spring-kafka</artifactId>
155-
</dependency>
156-
<!-- <dependency>-->
157-
<!-- <groupId>org.apache.kafka</groupId>-->
158-
<!-- <artifactId>kafka-clients</artifactId>-->
159-
<!-- <version>2.2.0</version>-->
160-
<!-- </dependency>-->
161-
162-
<!--groovy脚本语言支持-->
163-
<dependency>
164-
<groupId>org.codehaus.groovy</groupId>
165-
<artifactId>groovy-all</artifactId>
166-
<version>2.4.16</version>
167-
</dependency>
168-
<!--python脚本语言支持-->
169-
<dependency>
170-
<groupId>org.python</groupId>
171-
<artifactId>jython</artifactId>
172-
<version>2.5.3</version>
173-
</dependency>
174-
<!-- lua脚本语言支持 -->
175-
<dependency>
176-
<groupId>org.luaj</groupId>
177-
<artifactId>luaj-jse</artifactId>
178-
<version>3.0.1</version>
179-
</dependency>
180-
181-
<!--百度人工智能api-->
182-
<dependency>
183-
<groupId>com.baidu.aip</groupId>
184-
<artifactId>java-sdk</artifactId>
185-
<version>4.11.0</version>
186-
</dependency>
187-
188-
<!-- mina nio框架 -->
189-
<dependency>
190-
<groupId>org.apache.mina</groupId>
191-
<artifactId>mina-core</artifactId>
192-
<version>2.1.2</version>
193-
</dependency>
194-
195-
<!-- sftp工具 -->
196-
<dependency>
197-
<groupId>com.jcraft</groupId>
198-
<artifactId>jsch</artifactId>
199-
<version>0.1.55</version>
200-
</dependency>
201-
202-
<!--zookeeper连接工具-->
203-
<dependency>
204-
<groupId>com.101tec</groupId>
205-
<artifactId>zkclient</artifactId>
206-
<version>0.11</version>
207-
</dependency>
208-
209-
<!-- Hadoop开发 -->
210-
<dependency>
211-
<groupId>org.apache.hadoop</groupId>
212-
<artifactId>hadoop-common</artifactId>
213-
<version>2.8.0</version>
214-
</dependency>
215-
<dependency>
216-
<groupId>org.apache.hadoop</groupId>
217-
<artifactId>hadoop-hdfs</artifactId>
218-
<version>2.8.0</version>
219-
</dependency>
220-
221-
<!--excel操作工具-->
222-
<dependency>
223-
<groupId>org.apache.poi</groupId>
224-
<artifactId>poi-ooxml</artifactId>
225-
<version>4.1.0</version>
226-
</dependency>
227-
228-
<!-- commons-csv csv解析工具类 -->
229-
<dependency>
230-
<groupId>org.apache.commons</groupId>
231-
<artifactId>commons-csv</artifactId>
232-
<version>1.6</version>
233-
</dependency>
234-
235-
<!-- commons-compress 解压缩工具类 -->
236-
<dependency>
237-
<groupId>org.apache.commons</groupId>
238-
<artifactId>commons-compress</artifactId>
239-
<version>1.19</version>
240-
</dependency>
241-
<dependency>
242-
<groupId>org.tukaani</groupId>
243-
<artifactId>xz</artifactId>
244-
<version>1.8</version>
245-
</dependency>
246-
247-
<!--编码检测工具-->
248-
<dependency>
249-
<groupId>com.googlecode.juniversalchardet</groupId>
250-
<artifactId>juniversalchardet</artifactId>
251-
<version>1.0.3</version>
252-
</dependency>
253-
254-
<!--语法高亮工具-->
255-
<dependency>
256-
<groupId>org.fxmisc.richtext</groupId>
257-
<artifactId>richtextfx</artifactId>
258-
<version>0.10.1</version>
259-
</dependency>
260-
261-
<dependency>
262-
<groupId>org.apache.rocketmq</groupId>
263-
<artifactId>rocketmq-client</artifactId>
264-
<version>4.5.0</version>
265-
</dependency>
266-
<dependency>
267-
<groupId>com.ibm.mq</groupId>
268-
<artifactId>com.ibm.mq.allclient</artifactId>
269-
<version>9.1.1.0</version>
270-
</dependency>
271-
272-
<dependency>
273-
<groupId>org.apache.lucene</groupId>
274-
<artifactId>lucene-core</artifactId>
275-
<version>8.4.0</version>
276-
</dependency>
277-
278-
<!--音频信息提取-->
279-
<dependency>
280-
<groupId>net.jthink</groupId>
281-
<artifactId>jaudiotagger</artifactId>
282-
<version>2.2.6-PATHRIK</version>
283-
</dependency>
284-
285-
<!-- https://mvnrepository.com/artifact/com.h2database/h2 -->
286-
<dependency>
287-
<groupId>com.h2database</groupId>
288-
<artifactId>h2</artifactId>
289-
<version>1.4.200</version>
290-
</dependency>
291-
29273
</dependencies>
29374
<build>
29475
<plugins>

src/main/java/com/xwintop/xJavaFxTool/Main.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import com.jfoenix.controls.JFXDecorator;
44
import com.xwintop.xJavaFxTool.controller.IndexController;
55
import com.xwintop.xJavaFxTool.utils.Config;
6-
import com.xwintop.xJavaFxTool.utils.JavaFxViewUtil;
76
import com.xwintop.xJavaFxTool.utils.StageUtils;
87
import com.xwintop.xJavaFxTool.utils.XJavaFxSystemUtil;
98
import com.xwintop.xcore.util.javafx.AlertUtil;
9+
import com.xwintop.xcore.util.javafx.JavaFxViewUtil;
1010
import javafx.application.Application;
1111
import javafx.event.EventHandler;
1212
import javafx.fxml.FXMLLoader;
@@ -16,7 +16,6 @@
1616
import javafx.stage.Stage;
1717
import javafx.stage.WindowEvent;
1818
import lombok.extern.slf4j.Slf4j;
19-
import org.springframework.boot.autoconfigure.SpringBootApplication;
2019

2120
import java.util.ResourceBundle;
2221

@@ -26,7 +25,6 @@
2625
* @author: xufeng
2726
* @date: 2017年11月10日 下午4:34:11
2827
*/
29-
@SpringBootApplication
3028
@Slf4j
3129
public class Main extends Application {
3230
private static Stage stage;

src/main/java/com/xwintop/xJavaFxTool/config/CorsConfig.java

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/main/java/com/xwintop/xJavaFxTool/config/SwaggerConfig.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/main/java/com/xwintop/xJavaFxTool/controller/IndexController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
import com.xwintop.xJavaFxTool.model.ToolFxmlLoaderConfiguration;
55
import com.xwintop.xJavaFxTool.services.IndexService;
66
import com.xwintop.xJavaFxTool.utils.Config;
7-
import com.xwintop.xJavaFxTool.utils.ConfigureUtil;
8-
import com.xwintop.xJavaFxTool.utils.JavaFxViewUtil;
97
import com.xwintop.xJavaFxTool.utils.XJavaFxSystemUtil;
108
import com.xwintop.xJavaFxTool.view.IndexView;
9+
import com.xwintop.xcore.util.ConfigureUtil;
1110
import com.xwintop.xcore.util.HttpClientUtil;
1211
import com.xwintop.xcore.util.javafx.AlertUtil;
12+
import com.xwintop.xcore.util.javafx.JavaFxViewUtil;
1313
import javafx.application.Platform;
1414
import javafx.beans.value.ChangeListener;
1515
import javafx.beans.value.ObservableValue;

0 commit comments

Comments
 (0)