I am wondering what all, exactly, does the
Maven RPM Plug-In actually do,... besides creating a deliverable package ?? I understand that it can include scripts that can be somehow executed that determine how the RPM package will install itself -or- uninstall itself; but how does it all happen ? I am presuming that Maven can be relied upon to create the RPM package, via the RPM Plug-In's available goals. The package will usually contain an executable artifact that is also a Maven project or module. But how ( and when) do the scripts get executed ? Does Maven do the script invocation during the deployment phase; or is that something that is done in concert with some third-party Package-Management application ?? Can Maven also run the scripts itself, and thereby initiate the process of Installing the completed package to a specific target directory ?