Closed senderic closed 3 years ago
Update: Now that I found this repo, I noticed there are examples here: https://github.com/mojohaus/rpm-maven-plugin/tree/master/src/it
So all I can say is it would be nice to link examples in the documentation. Also, on the top right of the documentation web page, the git repo links to https://github.com/mojohaus/mojo-parent, not this repo.
Are there example scripts for http://www.mojohaus.org/rpm-maven-plugin/adv-params.html#Scripts?
I know I could google examples, however what I find are documents for generating scriptlets that include
%post
,%prerun
,%postrun
, etc all in the same file. With this maven plugin, it seems each of the sections need to be made seperatly. So, I am hoping to see examples of best practices of how to write out these scriptlets for this maven plugin.For example, in the documentation it shows this:
But there is no link/example of the innards of
preinstall.sh
.Also, in the documentation there are references to documentation which are dead links, such as:
So I suppose this issue is two fold: