diff --git a/pom.xml b/pom.xml
index 5bfb1c0..400f3bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,17 +3,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
-
-
- net.jeebiz
- jeebiz-boot-parent
- 1.0.2-SNAPSHOT
-
-
-
io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
@@ -22,26 +11,63 @@
Spring Boot Starter Samples
Spring Boot Starter Samples
-
+
+ UTF-8
+ UTF-8
+ 1.8
+ 1.8
+ 1.5.22.RELEASE
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ ${spring-boot.version}
+ pom
+ import
+
+
+
- spring-boot-sample-axis2
- spring-boot-sample-casclient
- spring-boot-sample-cxf
- spring-boot-sample-disruptor
- spring-boot-sample-druid
- spring-boot-sample-ehcache3
- spring-boot-sample-flyway
- spring-boot-sample-hikaricp
+
+
spring-boot-sample-jetbrick
- spring-boot-sample-kaptcha
- spring-boot-sample-log4j2
- spring-boot-sample-pf4j
- spring-boot-sample-rocketmq
- spring-boot-sample-swagger2
- spring-boot-sample-websocket
spring-boot-sample-sharding-jdbc
- spring-boot-sample-pf4j2
- spring-boot-sample-socketio
+ spring-boot-sample-swagger2
+
+ spring-boot-sample-pf4j/pf4j-plugin-sample
+ spring-boot-sample-pf4j2/pf4j2-plugin-sample
-
+
+
+
+
+ legacy-samples
+
+ spring-boot-sample-axis2
+ spring-boot-sample-casclient
+ spring-boot-sample-cxf
+ spring-boot-sample-disruptor
+ spring-boot-sample-druid
+ spring-boot-sample-ehcache3
+ spring-boot-sample-flyway
+ spring-boot-sample-hikaricp
+ spring-boot-sample-kaptcha
+ spring-boot-sample-log4j2
+ spring-boot-sample-pf4j
+ spring-boot-sample-pf4j2
+ spring-boot-sample-rocketmq
+ spring-boot-sample-socketio
+ spring-boot-sample-websocket
+
+
+
+
\ No newline at end of file
diff --git a/spring-boot-sample-axis2/pom.xml b/spring-boot-sample-axis2/pom.xml
index 02419d5..d6132d7 100644
--- a/spring-boot-sample-axis2/pom.xml
+++ b/spring-boot-sample-axis2/pom.xml
@@ -4,7 +4,7 @@
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-casclient/pom.xml b/spring-boot-sample-casclient/pom.xml
index 08f6015..e1bb307 100644
--- a/spring-boot-sample-casclient/pom.xml
+++ b/spring-boot-sample-casclient/pom.xml
@@ -5,7 +5,7 @@
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-cxf/pom.xml b/spring-boot-sample-cxf/pom.xml
index 7947135..aac78ba 100644
--- a/spring-boot-sample-cxf/pom.xml
+++ b/spring-boot-sample-cxf/pom.xml
@@ -5,7 +5,7 @@
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-disruptor/pom.xml b/spring-boot-sample-disruptor/pom.xml
index 40820a7..0e19449 100644
--- a/spring-boot-sample-disruptor/pom.xml
+++ b/spring-boot-sample-disruptor/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-druid/pom.xml b/spring-boot-sample-druid/pom.xml
index 6e9bd0d..988581b 100644
--- a/spring-boot-sample-druid/pom.xml
+++ b/spring-boot-sample-druid/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-ehcache3/pom.xml b/spring-boot-sample-ehcache3/pom.xml
index c2bdcc7..88a8e83 100644
--- a/spring-boot-sample-ehcache3/pom.xml
+++ b/spring-boot-sample-ehcache3/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-flyway/pom.xml b/spring-boot-sample-flyway/pom.xml
index a91c447..36b7554 100644
--- a/spring-boot-sample-flyway/pom.xml
+++ b/spring-boot-sample-flyway/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-hikaricp/pom.xml b/spring-boot-sample-hikaricp/pom.xml
index e2d7b38..3638bf0 100644
--- a/spring-boot-sample-hikaricp/pom.xml
+++ b/spring-boot-sample-hikaricp/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-jetbrick/pom.xml b/spring-boot-sample-jetbrick/pom.xml
index 729cef6..137f47e 100644
--- a/spring-boot-sample-jetbrick/pom.xml
+++ b/spring-boot-sample-jetbrick/pom.xml
@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-kaptcha/pom.xml b/spring-boot-sample-kaptcha/pom.xml
index 8c236a3..51a2011 100644
--- a/spring-boot-sample-kaptcha/pom.xml
+++ b/spring-boot-sample-kaptcha/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-log4j2/pom.xml b/spring-boot-sample-log4j2/pom.xml
index e500a1e..fd66c29 100644
--- a/spring-boot-sample-log4j2/pom.xml
+++ b/spring-boot-sample-log4j2/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-api/pom.xml b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-api/pom.xml
index f875c7f..2e4a513 100644
--- a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-api/pom.xml
+++ b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-api/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j-plugin
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl1/pom.xml b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl1/pom.xml
index 7262d60..f731a31 100644
--- a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl1/pom.xml
+++ b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl1/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j-plugin
1.0.0-SNAPSHOT
@@ -64,14 +64,13 @@
maven-compiler-plugin
-
- ro.fortsoft.pf4j.processor.ExtensionAnnotationProcessor
-
+
+ none
lib
- 1.7
+ 1.8
- 1.7
+ 1.8
${project.build.sourceEncoding}
diff --git a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl1/src/main/resources/META-INF/extensions.idx b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl1/src/main/resources/META-INF/extensions.idx
new file mode 100644
index 0000000..066349c
--- /dev/null
+++ b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl1/src/main/resources/META-INF/extensions.idx
@@ -0,0 +1 @@
+pf4j.plugin.impl.extensions.AuthcExtensionPointImpl1
diff --git a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl2/pom.xml b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl2/pom.xml
index d527ad2..0ee8852 100644
--- a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl2/pom.xml
+++ b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl2/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j-plugin
1.0.0-SNAPSHOT
@@ -65,14 +65,13 @@
maven-compiler-plugin
-
- ro.fortsoft.pf4j.processor.ExtensionAnnotationProcessor
-
+
+ none
lib
- 1.7
+ 1.8
- 1.7
+ 1.8
${project.build.sourceEncoding}
diff --git a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl2/src/main/resources/META-INF/extensions.idx b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl2/src/main/resources/META-INF/extensions.idx
new file mode 100644
index 0000000..c53aaa7
--- /dev/null
+++ b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-impl2/src/main/resources/META-INF/extensions.idx
@@ -0,0 +1 @@
+pf4j.plugin.impl.extensions.AuthcExtensionPointImpl2
diff --git a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-test/pom.xml b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-test/pom.xml
index ef1732a..5a7d6e8 100644
--- a/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-test/pom.xml
+++ b/spring-boot-sample-pf4j/pf4j-plugin-sample/pf4j-plugin-test/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j-plugin
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-pf4j/pf4j-plugin-sample/pom.xml b/spring-boot-sample-pf4j/pf4j-plugin-sample/pom.xml
index 68a5e89..1c5aade 100644
--- a/spring-boot-sample-pf4j/pf4j-plugin-sample/pom.xml
+++ b/spring-boot-sample-pf4j/pf4j-plugin-sample/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j-plugin
1.0.0-SNAPSHOT
pom
@@ -185,14 +185,14 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.5.1
+ 3.13.0
lib
- 1.7
+ 1.8
- 1.7
+ 1.8
${project.build.sourceEncoding}
@@ -411,12 +411,11 @@
org.apache.maven.plugins
maven-source-plugin
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
+
diff --git a/spring-boot-sample-pf4j/pom.xml b/spring-boot-sample-pf4j/pom.xml
index 8217158..ff93d62 100644
--- a/spring-boot-sample-pf4j/pom.xml
+++ b/spring-boot-sample-pf4j/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-api/pom.xml b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-api/pom.xml
index 811eed1..c5e3585 100644
--- a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-api/pom.xml
+++ b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-api/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j2-plugin
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl1/pom.xml b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl1/pom.xml
index a6bc845..3822e2a 100644
--- a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl1/pom.xml
+++ b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl1/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j2-plugin
1.0.0-SNAPSHOT
@@ -69,9 +69,9 @@
lib
- 1.7
+ 1.8
- 1.7
+ 1.8
${project.build.sourceEncoding}
diff --git a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl2/pom.xml b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl2/pom.xml
index a9572db..53af87f 100644
--- a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl2/pom.xml
+++ b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-impl2/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j2-plugin
1.0.0-SNAPSHOT
@@ -69,9 +69,9 @@
lib
- 1.7
+ 1.8
- 1.7
+ 1.8
${project.build.sourceEncoding}
diff --git a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/pom.xml b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/pom.xml
index 3d8d8c2..489c829 100644
--- a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/pom.xml
+++ b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j2-plugin
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/src/main/java/pf4j2/plugin/test/AuthcPluginTest.java b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/src/main/java/pf4j2/plugin/test/AuthcPluginTest.java
index 73726ee..1d7c32b 100644
--- a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/src/main/java/pf4j2/plugin/test/AuthcPluginTest.java
+++ b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pf4j2-plugin-test/src/main/java/pf4j2/plugin/test/AuthcPluginTest.java
@@ -9,7 +9,6 @@
import org.pf4j.PluginManager;
import org.pf4j.PluginWrapper;
import org.pf4j.RuntimeMode;
-import org.pf4j.spring.boot.ext.Pf4jJarPluginManager;
import pf4j2.plugin.api.AuthcExtensionPoint;
import pf4j2.plugin.api.annotation.ExtensionMapping;
diff --git a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pom.xml b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pom.xml
index aa8a1a2..a80926d 100644
--- a/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pom.xml
+++ b/spring-boot-sample-pf4j2/pf4j2-plugin-sample/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
pf4j2-plugin
1.0.0-SNAPSHOT
pom
@@ -185,14 +185,14 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.5.1
+ 3.13.0
lib
- 1.7
+ 1.8
- 1.7
+ 1.8
${project.build.sourceEncoding}
@@ -411,12 +411,11 @@
org.apache.maven.plugins
maven-source-plugin
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
+
diff --git a/spring-boot-sample-pf4j2/pom.xml b/spring-boot-sample-pf4j2/pom.xml
index 6e4613a..2dcb65f 100644
--- a/spring-boot-sample-pf4j2/pom.xml
+++ b/spring-boot-sample-pf4j2/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-rocketmq/pom.xml b/spring-boot-sample-rocketmq/pom.xml
index 9214d78..cae6317 100644
--- a/spring-boot-sample-rocketmq/pom.xml
+++ b/spring-boot-sample-rocketmq/pom.xml
@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-sharding-jdbc/pom.xml b/spring-boot-sample-sharding-jdbc/pom.xml
index e1ba1f7..628c416 100644
--- a/spring-boot-sample-sharding-jdbc/pom.xml
+++ b/spring-boot-sample-sharding-jdbc/pom.xml
@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-socketio/pom.xml b/spring-boot-sample-socketio/pom.xml
index 2ee3bee..82bb6e0 100644
--- a/spring-boot-sample-socketio/pom.xml
+++ b/spring-boot-sample-socketio/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
diff --git a/spring-boot-sample-swagger2/pom.xml b/spring-boot-sample-swagger2/pom.xml
index b3704fd..8043163 100644
--- a/spring-boot-sample-swagger2/pom.xml
+++ b/spring-boot-sample-swagger2/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT
@@ -30,6 +30,9 @@
1.5.0-alpha.15
9.1.8.0
+ true
+ true
+
http://localhost:8080/v2/api-docs
@@ -39,6 +42,47 @@
${project.build.directory}/asciidoc
+
+
+
+
+
+ io.springfox
+ springfox-swagger2
+ ${springfox.version}
+
+
+ io.springfox
+ springfox-spring-web
+ ${springfox.version}
+
+
+ io.springfox
+ springfox-swagger-ui
+ ${springfox.version}
+
+
+ io.springfox
+ springfox-bean-validators
+ ${springfox.version}
+
+
+ io.springfox
+ springfox-data-rest
+ ${springfox.version}
+
+
+ io.springfox
+ springfox-spi
+ ${springfox.version}
+
+
+ io.swagger
+ swagger-core
+ ${swagger.version}
+
+
+
@@ -72,13 +116,6 @@
swagger-spring-boot-starter
${spring-boot-starter-swagger.version}
-
-
- io.github.swagger2markup
- swagger2markup
- ${swagger2markup.version}
-
-
io.springfox
@@ -179,19 +216,18 @@
swagger-jersey-jaxrs
${swagger.version}
-
+ https://mvnrepository.com/artifact/io.swagger/swagger-jersey2-jaxrs -->
io.swagger
swagger-jersey2-jaxrs
${swagger.version}
-
+
io.swagger
swagger-inflector
${swagger-inflector.version}
- -->
@@ -234,13 +270,13 @@
+ https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin
org.codehaus.mojo
appassembler-maven-plugin
-->
-
+
+
+
+
+
+
+
+ docs
+
+ false
+ false
+
+
+
+
+ io.github.swagger2markup
+ swagger2markup
+ ${swagger2markup.version}
+
+
+
+
+ ${swagger2markup.skip}
ASCIIDOC
TAGS
@@ -336,6 +395,8 @@
${asciidoctor.input.directory}
+
+ ${asciidoctor.skip}
book
@@ -375,8 +436,9 @@
-->
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/spring-boot-sample-swagger2/src/test/java/swagger2/spring/boot/DemoApplicationTests.java b/spring-boot-sample-swagger2/src/test/java/swagger2/spring/boot/DemoApplicationTests.java
index c7e48d9..986c46c 100644
--- a/spring-boot-sample-swagger2/src/test/java/swagger2/spring/boot/DemoApplicationTests.java
+++ b/spring-boot-sample-swagger2/src/test/java/swagger2/spring/boot/DemoApplicationTests.java
@@ -23,10 +23,10 @@
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
-import io.github.swagger2markup.Swagger2MarkupConfig;
-import io.github.swagger2markup.Swagger2MarkupConverter;
-import io.github.swagger2markup.builder.Swagger2MarkupConfigBuilder;
-import io.github.swagger2markup.markup.builder.MarkupLanguage;
+// import io.github.swagger2markup.Swagger2MarkupConfig;
+// import io.github.swagger2markup.Swagger2MarkupConverter;
+// import io.github.swagger2markup.builder.Swagger2MarkupConfigBuilder;
+// import io.github.swagger2markup.markup.builder.MarkupLanguage;
/**
* TODO
@@ -37,83 +37,84 @@
//@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
public class DemoApplicationTests {
- /**
- * 生成AsciiDoc的代码片段:
- * https://blog.csdn.net/qq_35873847/article/details/79191848
- */
- //@Test
- public void buildAsciiDoc() throws Exception {
+ // 以下 swagger2markup 演示方法依赖 docs profile 提供的构件,默认不参与编译
+ // /**
+ // * 生成AsciiDoc的代码片段:
+ // * https://blog.csdn.net/qq_35873847/article/details/79191848
+ // */
+ // //@Test
+ // public void buildAsciiDoc() throws Exception {
- // 输出Ascii格式
-
- /*
- *
- * MarkupLanguage.ASCIIDOC:指定了要输出的最终格式。除了ASCIIDOC之外,还有MARKDOWN和CONFLUENCE_MARKUP
- * from(new URL("http://localhost:8080/v2/api-docs"):指定了生成静态部署文档的源头配置,可以是这样的URL形式,也可以是符合Swagger规范的String类型或者从文件中读取的流。如果是对当前使用的Swagger项目,我们通过使用访问本地Swagger接口的方式,如果是从外部获取的Swagger文档配置文件,就可以通过字符串或读文件的方式
- * toFolder(Paths.get("src/docs/asciidoc/generated"):指定最终生成文件的具体目录位置
- *
- */
+ // // 输出Ascii格式
- Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
+ // /*
+ // *
+ // * MarkupLanguage.ASCIIDOC:指定了要输出的最终格式。除了ASCIIDOC之外,还有MARKDOWN和CONFLUENCE_MARKUP
+ // * from(new URL("http://localhost:8080/v2/api-docs"):指定了生成静态部署文档的源头配置,可以是这样的URL形式,也可以是符合Swagger规范的String类型或者从文件中读取的流。如果是对当前使用的Swagger项目,我们通过使用访问本地Swagger接口的方式,如果是从外部获取的Swagger文档配置文件,就可以通过字符串或读文件的方式
+ // * toFolder(Paths.get("src/docs/asciidoc/generated"):指定最终生成文件的具体目录位置
+ // *
+ // */
- .withMarkupLanguage(MarkupLanguage.ASCIIDOC)
+ // Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
- .build();
+ // .withMarkupLanguage(MarkupLanguage.ASCIIDOC)
- Swagger2MarkupConverter.from(new URL("http://localhost:8080/v2/api-docs"))
+ // .build();
- .withConfig(config)
+ // Swagger2MarkupConverter.from(new URL("http://localhost:8080/v2/api-docs"))
- .build()
+ // .withConfig(config)
- .toFolder(Paths.get("src/docs/asciidoc/generated"));
+ // .build()
- }
+ // .toFolder(Paths.get("src/docs/asciidoc/generated"));
- /**
- * 生成confluence的代码片段:
- * https://blog.csdn.net/qq_35873847/article/details/79191971
- */
- //@Test
- public void buildMarkdown() throws Exception {
+ // }
- Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
+ // /**
+ // * 生成confluence的代码片段:
+ // * https://blog.csdn.net/qq_35873847/article/details/79191971
+ // */
+ // //@Test
+ // public void buildMarkdown() throws Exception {
- .withMarkupLanguage(MarkupLanguage.MARKDOWN)
+ // Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
- .build();
+ // .withMarkupLanguage(MarkupLanguage.MARKDOWN)
- Swagger2MarkupConverter.from(new URL("http://localhost:8080/v2/api-docs"))
+ // .build();
- .withConfig(config)
+ // Swagger2MarkupConverter.from(new URL("http://localhost:8080/v2/api-docs"))
- .build()
+ // .withConfig(config)
- .toFolder(Paths.get("src/docs/confluence/generated"));
+ // .build()
- }
-
- /**
- * 生成confluence的代码片段:
- * https://blog.csdn.net/qq_35873847/article/details/79191971
- */
- //@Test
- public void buildConfluence() throws Exception {
+ // .toFolder(Paths.get("src/docs/confluence/generated"));
- Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
+ // }
- .withMarkupLanguage(MarkupLanguage.CONFLUENCE_MARKUP)
+ // /**
+ // * 生成confluence的代码片段:
+ // * https://blog.csdn.net/qq_35873847/article/details/79191971
+ // */
+ // //@Test
+ // public void buildConfluence() throws Exception {
- .build();
+ // Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
- Swagger2MarkupConverter.from(new URL("http://localhost:8080/v2/api-docs"))
+ // .withMarkupLanguage(MarkupLanguage.CONFLUENCE_MARKUP)
- .withConfig(config)
+ // .build();
- .build()
+ // Swagger2MarkupConverter.from(new URL("http://localhost:8080/v2/api-docs"))
- .toFolder(Paths.get("src/docs/confluence/generated"));
+ // .withConfig(config)
- }
+ // .build()
+
+ // .toFolder(Paths.get("src/docs/confluence/generated"));
+
+ // }
}
\ No newline at end of file
diff --git a/spring-boot-sample-websocket/pom.xml b/spring-boot-sample-websocket/pom.xml
index b4c3a3d..7e9cd1c 100644
--- a/spring-boot-sample-websocket/pom.xml
+++ b/spring-boot-sample-websocket/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.github.hiwepy
+ io.github.easy4j
spring-boot-starter-samples
1.0.0-SNAPSHOT