Skip to content

Commit 40c1ecf

Browse files
author
zhult13
committed
1. 去掉zlt-web的父级依赖,为一个独立模块;因为目前这个依赖了“frontend-maven-plugin”打包可能会有问题,导致整个项目都打包不了,所以前端按需独立打包。
2. 增加build.bat和start.bat快捷方式
1 parent a5fdecc commit 40c1ecf

222 files changed

Lines changed: 13597 additions & 13690 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.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
<!-- 业务 -->
484484
<module>zlt-business</module>
485485
<!-- 前端 -->
486-
<module>zlt-web</module>
486+
<!--<module>zlt-web</module>-->
487487
<!-- 任务 -->
488488
<module>zlt-job</module>
489489
<!-- 监控 -->

zlt-web/back-web/pom.xml

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

zlt-web/layui-web/pom.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>com.zlt</groupId>
8+
<artifactId>zlt-web</artifactId>
9+
<version>5.4.0</version>
10+
</parent>
11+
<artifactId>layui-web</artifactId>
12+
<description>Layui开发的前端</description>
13+
<dependencies>
14+
<dependency>
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-web</artifactId>
17+
<version>2.5.14</version>
18+
</dependency>
19+
20+
<!--<dependency>
21+
<groupId>org.springframework.boot</groupId>
22+
<artifactId>spring-boot-devtools</artifactId>
23+
<optional>true</optional>
24+
</dependency>-->
25+
</dependencies>
26+
27+
<build>
28+
<plugins>
29+
<plugin>
30+
<groupId>org.springframework.boot</groupId>
31+
<artifactId>spring-boot-maven-plugin</artifactId>
32+
<executions>
33+
<execution>
34+
<goals>
35+
<goal>repackage</goal>
36+
</goals>
37+
</execution>
38+
</executions>
39+
</plugin>
40+
</plugins>
41+
<finalName>${project.artifactId}</finalName>
42+
</build>
43+
</project>

zlt-web/back-web/src/main/java/com/central/web/BackWebApplication.java renamed to zlt-web/layui-web/src/main/java/com/central/web/BackWebApplication.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
package com.central.web;
2-
3-
import org.springframework.boot.SpringApplication;
4-
import org.springframework.boot.autoconfigure.SpringBootApplication;
5-
6-
/**
7-
* @author zlt
8-
*/
9-
@SpringBootApplication
10-
public class BackWebApplication {
11-
public static void main(String[] args) {
12-
SpringApplication.run(BackWebApplication.class, args);
13-
}
14-
}
1+
package com.central.web;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
/**
7+
* @author zlt
8+
*/
9+
@SpringBootApplication
10+
public class BackWebApplication {
11+
public static void main(String[] args) {
12+
SpringApplication.run(BackWebApplication.class, args);
13+
}
14+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
server:
1+
server:
22
port: 8066

0 commit comments

Comments
 (0)