wu-sheng commented on a change in pull request #6003:
URL: https://github.com/apache/skywalking/pull/6003#discussion_r549358281



##########
File path: test/plugin/generator.sh
##########
@@ -74,4 +74,11 @@ ${MVNW} archetype:generate \
     -DarchetypeCatalog=local \
     -DinteractiveMode=false \
     -DarchetypeVersion=1.0.0 \
-    -Dpackage=${package}
\ No newline at end of file
+    -Dpackage=${package}
+
+# add scenario_name into plugin/pom.xml
+isWrite=$(cat ./pom.xml | grep $scenario_name)
+if [[ -z  $isWrite ]]
+then
+  sed -i '/<\/sourceDirectories>/i 
<sourceDirectory>'"$scenario_name"'<\/sourceDirectory>' ./pom.xml
+fi

Review comment:
       I think you forget to remove this.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to