Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git pom.xml postinstallScriptlet_Git_Maven_Pom.xml - Fatal编程技术网

git pom.xml postinstallScriptlet

git pom.xml postinstallScriptlet,git,maven,pom.xml,Git,Maven,Pom.xml,我可以在pom.xml文件的pre/post install/remove scriptlet部分中放置多个scriptFile条目吗?创建pom.xml文件时,pom.xml文件似乎不允许在pre/post install/remove scriptlet部分中有两个scriptFile条目。测试让我相信只有scriptlet部分中的最后一个脚本文件才能执行。我在互联网上搜索了一下,没有找到pom.xml要求,这些要求限制了scriptFile条目的数量,或者描述了如何在scriptlet部分

我可以在pom.xml文件的pre/post install/remove scriptlet部分中放置多个scriptFile条目吗?创建pom.xml文件时,pom.xml文件似乎不允许在pre/post install/remove scriptlet部分中有两个scriptFile条目。测试让我相信只有scriptlet部分中的最后一个脚本文件才能执行。我在互联网上搜索了一下,没有找到pom.xml要求,这些要求限制了scriptFile条目的数量,或者描述了如何在scriptlet部分中构造多个条目。这是对每个scriptlet节只能有一个scriptfile的限制,还是有一种方法可以为给定的scriptlet节提供两个或多个scriptfile条目?

我猜您是在谈论特定插件的配置,因为pom.xml中没有scriptfile条目。请看下面的特定标记:echo Scheduler installation started。脚本/调度程序\u安装脚本/解析器\u安装您一定在谈论,对吗?