Skip to content

Commit 004ca80

Browse files
author
yqz
committed
修改项目结构,删除多余文件内容
1 parent 308e5ad commit 004ca80

138 files changed

Lines changed: 207 additions & 1052 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.

.gitattributes

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

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
cache: "maven"
3636

3737
- name: Build backend (Maven)
38-
run: mvn -B -ntp package -DskipTests
38+
run: mvn -B -ntp package -DskipTests -pl OpenBlog-business -am
3939

4040
- name: Set up Node.js
4141
uses: actions/setup-node@v4

.mvn/wrapper/maven-wrapper.properties

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

OpenBlog-business/.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
HELP.md
2+
target/
3+
.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
7+
### STS ###
8+
.apt_generated
9+
.classpath
10+
.factorypath
11+
.project
12+
.settings
13+
.springBeans
14+
.sts4-cache
15+
16+
### IntelliJ IDEA ###
17+
.idea
18+
*.iws
19+
*.iml
20+
*.ipr
21+
22+
### NetBeans ###
23+
/nbproject/private/
24+
/nbbuild/
25+
/dist/
26+
/nbdist/
27+
/.nb-gradle/
28+
build/
29+
!**/src/main/**/build/
30+
!**/src/test/**/build/
31+
32+
### VS Code ###
33+
.vscode/
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip

OpenBlog-business/pom.xml

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>com.yqz</groupId>
7+
<artifactId>OpenBlog</artifactId>
8+
<version>1.0.0-SNAPSHOT</version>
9+
</parent>
10+
11+
<artifactId>OpenBlog-business</artifactId>
12+
<name>OpenBlog-business</name>
13+
<description>OpenBlog business module</description>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>org.springframework.boot</groupId>
18+
<artifactId>spring-boot-starter-web</artifactId>
19+
</dependency>
20+
21+
<dependency>
22+
<groupId>org.springframework.boot</groupId>
23+
<artifactId>spring-boot-starter-validation</artifactId>
24+
</dependency>
25+
26+
<dependency>
27+
<groupId>org.springframework.boot</groupId>
28+
<artifactId>spring-boot-starter-data-jpa</artifactId>
29+
</dependency>
30+
31+
<dependency>
32+
<groupId>com.mysql</groupId>
33+
<artifactId>mysql-connector-j</artifactId>
34+
<scope>runtime</scope>
35+
</dependency>
36+
37+
<dependency>
38+
<groupId>org.springframework.boot</groupId>
39+
<artifactId>spring-boot-starter-security</artifactId>
40+
</dependency>
41+
42+
<dependency>
43+
<groupId>com.baomidou</groupId>
44+
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
45+
<version>3.5.16</version>
46+
</dependency>
47+
<dependency>
48+
<groupId>com.baomidou</groupId>
49+
<artifactId>mybatis-plus-jsqlparser</artifactId>
50+
<version>3.5.16</version>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>org.springframework.boot</groupId>
55+
<artifactId>spring-boot-starter-data-redis</artifactId>
56+
</dependency>
57+
58+
<dependency>
59+
<groupId>io.jsonwebtoken</groupId>
60+
<artifactId>jjwt-api</artifactId>
61+
<version>0.12.5</version>
62+
</dependency>
63+
<dependency>
64+
<groupId>io.jsonwebtoken</groupId>
65+
<artifactId>jjwt-impl</artifactId>
66+
<version>0.12.5</version>
67+
<scope>runtime</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>io.jsonwebtoken</groupId>
71+
<artifactId>jjwt-jackson</artifactId>
72+
<version>0.12.5</version>
73+
<scope>runtime</scope>
74+
</dependency>
75+
76+
<dependency>
77+
<groupId>com.github.ben-manes.caffeine</groupId>
78+
<artifactId>caffeine</artifactId>
79+
<version>3.1.8</version>
80+
</dependency>
81+
82+
<dependency>
83+
<groupId>net.coobird</groupId>
84+
<artifactId>thumbnailator</artifactId>
85+
<version>0.4.20</version>
86+
</dependency>
87+
88+
<dependency>
89+
<groupId>org.projectlombok</groupId>
90+
<artifactId>lombok</artifactId>
91+
<optional>true</optional>
92+
</dependency>
93+
94+
<dependency>
95+
<groupId>org.springframework.boot</groupId>
96+
<artifactId>spring-boot-starter-test</artifactId>
97+
<scope>test</scope>
98+
</dependency>
99+
</dependencies>
100+
101+
<build>
102+
<plugins>
103+
<plugin>
104+
<groupId>org.springframework.boot</groupId>
105+
<artifactId>spring-boot-maven-plugin</artifactId>
106+
<executions>
107+
<execution>
108+
<goals>
109+
<goal>repackage</goal>
110+
</goals>
111+
</execution>
112+
</executions>
113+
<configuration>
114+
<mainClass>com.yqz.openblog.OpenBlogApplication</mainClass>
115+
</configuration>
116+
</plugin>
117+
</plugins>
118+
</build>
119+
120+
</project>

src/main/java/com/yqz/openblog/OpenBlogApplication.java renamed to OpenBlog-business/src/main/java/com/yqz/openblog/OpenBlogApplication.java

File renamed without changes.

src/main/java/com/yqz/openblog/article/controller/ArticleController.java renamed to OpenBlog-business/src/main/java/com/yqz/openblog/article/controller/ArticleController.java

File renamed without changes.

src/main/java/com/yqz/openblog/article/dto/ArticleCreateRequest.java renamed to OpenBlog-business/src/main/java/com/yqz/openblog/article/dto/ArticleCreateRequest.java

File renamed without changes.

src/main/java/com/yqz/openblog/article/dto/ArticleDetailResponse.java renamed to OpenBlog-business/src/main/java/com/yqz/openblog/article/dto/ArticleDetailResponse.java

File renamed without changes.

0 commit comments

Comments
 (0)