diff --git a/.documentation/JAVADOC-README.md b/.documentation/javadoc/JAVADOC-README.md
similarity index 100%
rename from .documentation/JAVADOC-README.md
rename to .documentation/javadoc/JAVADOC-README.md
diff --git a/.documentation/javadoc/index.html b/.documentation/javadoc/index.html
new file mode 100644
index 0000000..70c379b
--- /dev/null
+++ b/.documentation/javadoc/index.html
@@ -0,0 +1 @@
+Hello world
\ No newline at end of file
diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml
index b9ec47b..dc97b0d 100644
--- a/.github/workflows/javadoc.yml
+++ b/.github/workflows/javadoc.yml
@@ -25,7 +25,7 @@ jobs:
distribution: 'adopt'
- name: Generate docs
- run: mvn clean package -DskipTests
+ run: mvn javadoc:javadoc -DskipTests
env:
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -34,8 +34,9 @@ jobs:
run: |
rm -rf docs
mkdir -vp docs
- cp -vrf EasyPlugin-api/target/apidocs/* docs/
- cp -vrf .documentation/JAVADOC-README.md docs/README.md
+ for i in ../easyplugin* ; do if test -e "$i/target/apidocs/"; then echo cp -vrf "$i/target/apidocs/*" "docs/$1/"; fi ;done;
+ cp -vrf .documentation/javadoc/JAVADOC-README.md docs/README.md
+ cp -vrf .documentation/javadoc/index.html docs/index.html
- name: Generate the sitemap
id: sitemap
diff --git a/easyplugin-bom/pom.xml b/easyplugin-bom/pom.xml
index 33147a9..b113e58 100644
--- a/easyplugin-bom/pom.xml
+++ b/easyplugin-bom/pom.xml
@@ -18,7 +18,7 @@
easyplugin-bom
pom
-
+
00-EasyPlugin-Bom
轻松插件汇总导入模块,允许快捷导入相关的接口并避免版本不一致问题。
https://github.com/CarmJos/EasyPlugin
@@ -103,5 +103,18 @@
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+
+
\ No newline at end of file