diff --git a/.flattened-pom.xml b/.flattened-pom.xml
new file mode 100644
index 0000000..83765df
--- /dev/null
+++ b/.flattened-pom.xml
@@ -0,0 +1,17 @@
+
+
+ 4.0.0
+ cn.linghang
+ mywust
+ 0.0.1-fixed
+ pom
+
+
+ org.projectlombok
+ lombok
+ 1.18.22
+ compile
+
+
+
diff --git a/mywust-core/.flattened-pom.xml b/mywust-core/.flattened-pom.xml
new file mode 100644
index 0000000..6a8b4e7
--- /dev/null
+++ b/mywust-core/.flattened-pom.xml
@@ -0,0 +1,58 @@
+
+
+ 4.0.0
+ cn.linghang
+ mywust-core
+ 0.0.1-fixed
+
+
+ cn.linghang
+ mywust-network
+ 0.0.1-fixed
+ compile
+
+
+ cn.linghang
+ mywust-util
+ 0.0.1-fixed
+ compile
+
+
+ org.slf4j
+ slf4j-api
+ 2.0.3
+ compile
+
+
+ org.jsoup
+ jsoup
+ 1.15.3
+ compile
+
+
+ cn.linghang
+ mywust-model
+ 0.0.1-fixed
+ compile
+
+
+ com.fasterxml.jackson.core
+ jackson-annotations
+ 2.14.0-rc1
+ compile
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+ 2.14.0-rc1
+ compile
+
+
+ org.projectlombok
+ lombok
+ 1.18.22
+ compile
+
+
+
diff --git a/mywust-core/pom.xml b/mywust-core/pom.xml
index 70d3af9..24fb9c8 100644
--- a/mywust-core/pom.xml
+++ b/mywust-core/pom.xml
@@ -5,7 +5,7 @@
mywust
cn.linghang
- ${rversion}
+ ${revision}
4.0.0
@@ -14,13 +14,13 @@
cn.linghang
mywust-network
- ${parent.version}
+ ${project.parent.version}
compile
cn.linghang
mywust-util
- ${parent.version}
+ ${project.parent.version}
@@ -39,7 +39,7 @@
cn.linghang
mywust-model
- ${parent.version}
+ ${project.parent.version}
compile
diff --git a/mywust-model/.flattened-pom.xml b/mywust-model/.flattened-pom.xml
new file mode 100644
index 0000000..716d5d0
--- /dev/null
+++ b/mywust-model/.flattened-pom.xml
@@ -0,0 +1,16 @@
+
+
+ 4.0.0
+ cn.linghang
+ mywust-model
+ 0.0.1-fixed
+
+
+ org.projectlombok
+ lombok
+ 1.18.22
+ compile
+
+
+
diff --git a/mywust-model/pom.xml b/mywust-model/pom.xml
index 22cb159..da1208c 100644
--- a/mywust-model/pom.xml
+++ b/mywust-model/pom.xml
@@ -5,7 +5,7 @@
mywust
cn.linghang
- ${rversion}
+ ${revision}
4.0.0
diff --git a/mywust-network-httpclient/.flattened-pom.xml b/mywust-network-httpclient/.flattened-pom.xml
new file mode 100644
index 0000000..d558952
--- /dev/null
+++ b/mywust-network-httpclient/.flattened-pom.xml
@@ -0,0 +1,16 @@
+
+
+ 4.0.0
+ cn.linghang
+ mywust-network-httpclient
+ 0.0.1-fixed
+
+
+ org.projectlombok
+ lombok
+ 1.18.22
+ compile
+
+
+
diff --git a/mywust-network-httpclient/pom.xml b/mywust-network-httpclient/pom.xml
index 1b6d967..07191c8 100644
--- a/mywust-network-httpclient/pom.xml
+++ b/mywust-network-httpclient/pom.xml
@@ -6,7 +6,7 @@
mywust
cn.linghang
- ${rversion}
+ ${revision}
mywust-network-httpclient
diff --git a/mywust-network-okhttp/.flattened-pom.xml b/mywust-network-okhttp/.flattened-pom.xml
new file mode 100644
index 0000000..70cf94e
--- /dev/null
+++ b/mywust-network-okhttp/.flattened-pom.xml
@@ -0,0 +1,40 @@
+
+
+ 4.0.0
+ cn.linghang
+ mywust-network-okhttp
+ 0.0.1-fixed
+
+
+ com.squareup.okhttp3
+ okhttp
+ 3.14.9
+ compile
+
+
+ org.slf4j
+ slf4j-api
+ 1.7.36
+ compile
+
+
+ cn.linghang
+ mywust-network
+ 0.0.1-fixed
+ compile
+
+
+ cn.linghang
+ mywust-util
+ 0.0.1-fixed
+ compile
+
+
+ org.projectlombok
+ lombok
+ 1.18.22
+ compile
+
+
+
diff --git a/mywust-network-okhttp/pom.xml b/mywust-network-okhttp/pom.xml
index 3648da5..8a5cdfc 100644
--- a/mywust-network-okhttp/pom.xml
+++ b/mywust-network-okhttp/pom.xml
@@ -6,7 +6,7 @@
mywust
cn.linghang
- ${rversion}
+ ${revision}
4.0.0
mywust-network-okhttp
@@ -36,12 +36,12 @@
cn.linghang
mywust-network
- ${parent.version}
+ ${project.parent.version}
cn.linghang
mywust-util
- ${parent.version}
+ ${project.parent.version}
compile
diff --git a/mywust-network/.flattened-pom.xml b/mywust-network/.flattened-pom.xml
new file mode 100644
index 0000000..8223d8e
--- /dev/null
+++ b/mywust-network/.flattened-pom.xml
@@ -0,0 +1,22 @@
+
+
+ 4.0.0
+ cn.linghang
+ mywust-network
+ 0.0.1-fixed
+
+
+ cn.linghang
+ mywust-util
+ 0.0.1-fixed
+ compile
+
+
+ org.projectlombok
+ lombok
+ 1.18.22
+ compile
+
+
+
diff --git a/mywust-network/pom.xml b/mywust-network/pom.xml
index e6964ea..128cfe2 100644
--- a/mywust-network/pom.xml
+++ b/mywust-network/pom.xml
@@ -5,7 +5,7 @@
mywust
cn.linghang
- ${rversion}
+ ${revision}
4.0.0
@@ -21,7 +21,7 @@
cn.linghang
mywust-util
- ${parent.version}
+ ${project.parent.version}
compile
diff --git a/mywust-test/src/test/java/ParseTest.java b/mywust-test/src/test/java/ParseTest.java
new file mode 100644
index 0000000..5d29fc0
--- /dev/null
+++ b/mywust-test/src/test/java/ParseTest.java
@@ -0,0 +1,12 @@
+import cn.linghang.mywust.core.exception.ParseException;
+import cn.linghang.mywust.core.parser.undergraduate.ExamInfoParser;
+import org.jsoup.Jsoup;
+
+import java.io.IOException;
+
+public class ParseTest {
+ public static void main(String[] args) throws IOException, ParseException {
+ ExamInfoParser parser = new ExamInfoParser();
+ System.out.println(parser.parse(Jsoup.connect("http://127.0.0.1/a.html").get().toString()));
+ }
+}
diff --git a/mywust-util/.flattened-pom.xml b/mywust-util/.flattened-pom.xml
new file mode 100644
index 0000000..f5ba227
--- /dev/null
+++ b/mywust-util/.flattened-pom.xml
@@ -0,0 +1,28 @@
+
+
+ 4.0.0
+ cn.linghang
+ mywust-util
+ 0.0.1-fixed
+
+
+ commons-codec
+ commons-codec
+ 1.15
+ compile
+
+
+ com.google.guava
+ guava
+ 31.1-jre
+ compile
+
+
+ org.projectlombok
+ lombok
+ 1.18.22
+ compile
+
+
+
diff --git a/mywust-util/pom.xml b/mywust-util/pom.xml
index a50efd3..42ae0fc 100644
--- a/mywust-util/pom.xml
+++ b/mywust-util/pom.xml
@@ -5,7 +5,7 @@
mywust
cn.linghang
- ${rversion}
+ ${revision}
4.0.0
diff --git a/pom.xml b/pom.xml
index 6631f26..b207c4f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
cn.linghang
mywust
pom
- ${rversion}
+ ${revision}
mywust-core
@@ -28,7 +28,7 @@
- 0.0.1
+ 0.0.1-fixed
1.18.22
@@ -60,6 +60,31 @@
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.3.0
+
+
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+
\ No newline at end of file