From 05c671aa5a4623b312634f7148ef8ebf41763979 Mon Sep 17 00:00:00 2001 From: wing328 Date: Tue, 28 Mar 2017 10:07:38 +0800 Subject: [PATCH] fix msf4j bin script --- bin/java-msf4j-petstore-server.sh | 2 +- samples/server/petstore/java-msf4j/pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/java-msf4j-petstore-server.sh b/bin/java-msf4j-petstore-server.sh index 724cbea00f..d73471b14d 100755 --- a/bin/java-msf4j-petstore-server.sh +++ b/bin/java-msf4j-petstore-server.sh @@ -30,5 +30,5 @@ ags="$@ generate -t modules/swagger-codegen/src/main/resources/MSF4J -i modules/ echo "Removing files and folders under samples/server/petstore/java-msf4j/src/main" rm -rf samples/server/petstore/java-msf4j/src/main -find samples/server/petstore/java-msf4j -maxdepth 1 -type f ! -name "README.md" -exec rm {} + +find samples/server/petstore/java-msf4j -maxdepth 1 -type f ! -name "README.md" ! -name "pom.xml" ! -name "mvn_test_jdk8_only.sh" ! -name ".swagger-codegen-ignore" -exec rm {} + java $JAVA_OPTS -jar $executable $ags diff --git a/samples/server/petstore/java-msf4j/pom.xml b/samples/server/petstore/java-msf4j/pom.xml index 5fe8c46c23..b1145335c6 100644 --- a/samples/server/petstore/java-msf4j/pom.xml +++ b/samples/server/petstore/java-msf4j/pom.xml @@ -6,9 +6,9 @@ 4.0.0 io.swagger - swagger-jaxrs-server + swagger-msf4j-server jar - swagger-jaxrs-server + swagger-msf4j-server 1.0.0 src/main/java