Skip to content

Commit c37a6a1

Browse files
committed
✨ 调整结构
1 parent 176c660 commit c37a6a1

File tree

5 files changed

+91
-0
lines changed

5 files changed

+91
-0
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
<groupId>com.dianpoint.summer</groupId>
88
<artifactId>summer</artifactId>
99
<version>0.1-SNAPSHOT</version>
10+
<packaging>pom</packaging>
11+
<modules>
12+
<module>summer-beans</module>
13+
<module>summer-validator</module>
14+
</modules>
1015

1116
<properties>
1217
<maven.compiler.source>8</maven.compiler.source>

summer-beans/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>com.dianpoint.summer</groupId>
8+
<artifactId>summer</artifactId>
9+
<version>0.1-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>summer-beans</artifactId>
13+
14+
<properties>
15+
<maven.compiler.source>8</maven.compiler.source>
16+
<maven.compiler.target>8</maven.compiler.target>
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
</properties>
19+
20+
</project>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.dianpoint.summer;
2+
3+
/**
4+
* @author: congccoder
5+
* @email: congccoder@gmail.com | <a href="https://github.com/ccoderJava">github-homepage</a>
6+
* @date: 2025/5/20 22:29
7+
*/
8+
9+
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
10+
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
11+
public class Main {
12+
public static void main(String[] args) {
13+
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
14+
// to see how IntelliJ IDEA suggests fixing it.
15+
System.out.printf("Hello and welcome!");
16+
17+
for (int i = 1; i <= 5; i++) {
18+
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
19+
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
20+
System.out.println("i = " + i);
21+
}
22+
}
23+
}

summer-validator/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>com.dianpoint.summer</groupId>
8+
<artifactId>summer</artifactId>
9+
<version>0.1-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>summer-validator</artifactId>
13+
14+
<properties>
15+
<maven.compiler.source>23</maven.compiler.source>
16+
<maven.compiler.target>23</maven.compiler.target>
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
</properties>
19+
20+
</project>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.dianpoint.summer;
2+
3+
/**
4+
* @author: congccoder
5+
* @email: congccoder@gmail.com | <a href="https://github.com/ccoderJava">github-homepage</a>
6+
* @date: 2025/5/20 22:30
7+
*/
8+
9+
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
10+
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
11+
public class Main {
12+
public static void main(String[] args) {
13+
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
14+
// to see how IntelliJ IDEA suggests fixing it.
15+
System.out.printf("Hello and welcome!");
16+
17+
for (int i = 1; i <= 5; i++) {
18+
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
19+
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
20+
System.out.println("i = " + i);
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)