运行命令行脚本时,是否可以获得我们正在运行的当前Maven配置文件名称的名称?
when you are executing a bat file using maven-exec plugin , you can define in the bat file a call function to call the origin bat file along with arguments , or you can add arguments as defined below.
<arguments>
<argument>8.8.8.8</argument>
</arguments>
please refer to below answer in stackoverflow for more context :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.