sbadakhc/kojak — pull request #45 by jdcasey (2014-07-11 14:40:15+00:00)
Title: Reorganize tool-specific scripts + files into self-contained locations; Fixed bmmp job config

I moved the individual tool scripts into per-tool subdirectories named eg. 020-aprox, and simplified each script name to 'install', 'config', 'uninstall', etc. This creates a space where custom logic like patches, files needed to overlay an install, etc. can be encapsulated and stored alongside the scripts that use them. I then refactored the old init-service-accounting script into one that provides functions for applying a certain command to each tool available, or each service available.

Finally, I patched the mead-load-build-dependencies script and the bmmp job configuration. The import script needed some minor tweaks to its BAD_ARTIFACTS patterns (to only match filenames at the end of the link).

The bmmp job config required a bit more. I added a separate pre-build command for dependency:resolve-plugins (combining with the other maven calls was resulting in the wrong doxia being used for the site plugin). While I was in there, I also added a repo-regen call after the import runs, and separation to a per-job maven repository with a pre-build command to clear it out. All of this should make the job run much more predictably, though I'm still testing it with a from-scratch vm snapshot.