Skip to content

Commit 3d31b4d

Browse files
committed
🚚 调整项目结构
1 parent 389fcc1 commit 3d31b4d

Some content is hidden

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

62 files changed

+134
-165
lines changed

codes/advanced/pom.xml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,25 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-advanced</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: Advanced</name>
10+
11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1417

18+
<dependencies>
19+
<dependency>
20+
<groupId>junit</groupId>
21+
<artifactId>junit</artifactId>
22+
<version>4.12</version>
23+
<scope>test</scope>
24+
</dependency>
25+
</dependencies>
1526
</project>

codes/basics/pom.xml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,25 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-basics</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: Basics</name>
10+
11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1417

18+
<dependencies>
19+
<dependency>
20+
<groupId>junit</groupId>
21+
<artifactId>junit</artifactId>
22+
<version>4.12</version>
23+
<scope>test</scope>
24+
</dependency>
25+
</dependencies>
1526
</project>

codes/concurrent/pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-concurrent</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: Concurrent</name>
1410

11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1517
</project>

codes/container/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Java 容器实例

codes/container/pom.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<?xml version="1.0"?>
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
3-
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-container</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: Container</name>
1410

11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1517
</project>

codes/effective/pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-effective</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: Effective</name>
1410

11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1517
</project>

codes/jdk8/pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-jdk8</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: JDK8</name>
1410

11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1517
</project>

codes/jvm/pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-jvm</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: JVM</name>
1410

11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1517
</project>

codes/oop/pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
6-
<parent>
7-
<groupId>io.github.dunwu</groupId>
8-
<artifactId>javacore</artifactId>
9-
<version>1.0.1</version>
10-
</parent>
5+
<groupId>io.github.dunwu</groupId>
116
<artifactId>javacore-oop</artifactId>
7+
<version>1.0.1</version>
128
<packaging>jar</packaging>
13-
<name>${project.artifactId}</name>
9+
<name>JavaCore :: OOP</name>
1410

11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.8</java.version>
14+
<maven.compiler.source>${java.version}</maven.compiler.source>
15+
<maven.compiler.target>${java.version}</maven.compiler.target>
16+
</properties>
1517
</project>

codes/pom.xml

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
8-
<!-- [Part 1] BASIC SETTINGS BEGIN -->
9-
10-
<!-- MAVEN COORDINATE BEGIN -->
117
<groupId>io.github.dunwu</groupId>
128
<artifactId>javacore</artifactId>
139
<version>1.0.1</version>
10+
<name>JavaCore</name>
1411
<packaging>pom</packaging>
15-
<!-- MAVEN COORDINATE END -->
12+
<description>JavaCore 经验总结</description>
1613

17-
<!-- RELATIONSHIP SETTINGS BEGIN -->
1814
<modules>
1915
<module>basics</module>
2016
<module>advanced</module>
@@ -23,59 +19,26 @@
2319
<module>jvm</module>
2420
<module>container</module>
2521
<module>concurrent</module>
26-
<module>util</module>
22+
<module>utils</module>
2723
<module>oop</module>
2824
</modules>
29-
<dependencies>
30-
<dependency>
31-
<groupId>junit</groupId>
32-
<artifactId>junit</artifactId>
33-
<version>4.12</version>
34-
<scope>test</scope>
35-
</dependency>
36-
</dependencies>
37-
<!-- RELATIONSHIP SETTINGS END -->
3825

39-
<!-- PROPERTIES BEGIN -->
4026
<properties>
4127
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4228
<java.version>1.8</java.version>
4329
<maven.compiler.source>${java.version}</maven.compiler.source>
4430
<maven.compiler.target>${java.version}</maven.compiler.target>
4531
</properties>
46-
<!-- PROPERTIES END -->
47-
48-
<!-- [Part 1] BASIC SETTINGS END -->
49-
50-
51-
<!-- [Part 2] BUILD SETTINGS BEGIN -->
52-
<!-- [Part 2] BUILD SETTINGS END -->
5332

54-
55-
<!-- [Part 3] PROJECT INFO BEGIN -->
56-
<name>${project.artifactId}</name>
57-
<description>spring 学习笔记</description>
5833
<url>https://github.com/dunwu/JavaCore</url>
5934
<inceptionYear>2016-2017</inceptionYear>
60-
<licenses>
61-
<license>
62-
<name>Apache License, Version 2.0</name>
63-
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
64-
<distribution>repo</distribution>
65-
<comments>A business-friendly OSS license</comments>
66-
</license>
67-
</licenses>
6835
<developers>
6936
<developer>
7037
<name>Zhang Peng</name>
7138
<email>forbreak@163.com</email>
7239
<timezone>+8</timezone>
7340
</developer>
7441
</developers>
75-
<!-- [Part 3] PROJECT INFO END -->
76-
77-
78-
<!-- [Part 4] ENVIRONMENT SETTINGS BEGIN -->
7942
<issueManagement>
8043
<system>Github</system>
8144
<url>https://github.com/dunwu/JavaCore/issues</url>
@@ -85,7 +48,4 @@
8548
<connection>scm:git:git://github.com/dunwu/JavaCore.git</connection>
8649
<developerConnection>scm:git:ssh://git@github.com:dunwu/JavaCore.git</developerConnection>
8750
</scm>
88-
<!-- [Part 4] ENVIRONMENT SETTINGS END -->
89-
90-
9151
</project>

0 commit comments

Comments
 (0)