I attempted to run each of the four build samples with the following command format:
mvn -P<profile_name> install
Only the fabric8 run completed without an error. The error is different in each of the other three cases. I would be happy to provide details of what I'm getting for each of the three failure cases, but I don't want to take the time to do so unless someone asks. I figure that maybe it is trivially easy for anyone to reproduce my results themselves, which would be simpler for all.
I'll also point out a problem that I had initially in running the fabric8 sample. It is a new thing to me that two different maven goals have to be run in the same command in order to work. I don't know if this is somewhat normal, but it threw me for a loop for some time before I figured out that this works:
mvn -Pfabric8 package docker:build
but this doesn't:
mvn -Pfabric8 package
mvn -Pfabric8 docker:build
I understand that building the package seeds some variable that is needed by the docker:build goal for it to succeed. This seems very unfortunate and counter-intuitive. I would suggest clearly stating this fact (and WHY it is) in the document, where it is implied that the latter command can be run in isolation.