我在脚本中有 postInstall scriptlet。
但它没有被执行
<preinstallScriptlet>
<script>echo "Installing now ${project.artifactId}-${project.version}-${timestamp} /script>
</preinstallScriptlet>
<postinstallScriptlet>
<script>
echo "Updating Symlink"
ln -s -f
/usr/local/lib/myproject/${project.artifactId}-${project.version}-${timestamp}
/usr/local/lib/myproject/mycode
</script>
</postinstallScriptlet>