apisix-java-plugin-runner
apisix-java-plugin-runner copied to clipboard
request help: can't create jar file
Issue description
According to the reference document(https://github.com/apache/apisix-java-plugin-runner/blob/main/docs/en/latest/installation-guide.md), it is not possible to create an executable jar file.
my step is
- Clone the java-plugin-runner-demo-1 repo presented as an example(https://github.com/tzssangglass/java-plugin-runner-demo-1)
- After implementing the custom filter, run /mvnw package.
- (mac)no next step
@tzssangglass How can I create a spring jar file that implements a custom filter?
Environment
- your apisix-java-plugin-runner version : 0.3.0
@tzssangglass
mac log [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.example.demo.DemoApplicationTests
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v2.7.1)
2022-10-17 09:02:01.737 INFO 4311 --- [ main] c.e.d.DemoApplicationTests : Starting DemoApplicationTests using Java 11.0.11 on ccsqpt.local with PID 4311 (started by ccs in /Users/ccs/java-plugin-runner-demo-1) 2022-10-17 09:02:01.740 INFO 4311 --- [ main] c.e.d.DemoApplicationTests : No active profile set, falling back to 1 default profile: "default" 2022-10-17 09:02:02.922 INFO 4311 --- [ main] c.e.d.DemoApplicationTests : Started DemoApplicationTests in 1.745 seconds (JVM running for 3.738) 2022-10-17 09:02:03.479 WARN 4311 --- [ main] o.a.a.p.r.s.ApplicationRunner : java runner is listening on the socket file: /tmp/runner.sock
I have update tzssangglass/java-plugin-runner-demo-1, pls read: https://github.com/tzssangglass/java-plugin-runner-demo-1#user-guide