Created attachment 1319849 [details] Build Log from Docker Description of problem: During Maven build for the Complete Resource Reference guide, failure due to 'copy-deps' error during build for "RHQ Server Plugin" Relevant Error Line from DEBUG: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:copy (copy-deps) on project rhq-rhqserver-plugin: Error copying artifact from /home/tkelly/jon/modules/plugins/jmx/target/classes to /home/tkelly/jon/modules/plugins/rhq-server/target/classes/lib/rhq-jmx-plugin-4.12.0.JON330GA-redhat-1.jar: /home/tkelly/jon/modules/plugins/jmx/target/classes (Is a directory) -> [Help 1] Please find build log attached. How reproducible: Run "docker build ." using the Dockerfile and settings.xml at: https://gitlab.cee.redhat.com/tkelly/tylers_scripts/tree/master/JON_BUG Build using Dockerfile will fail at building the RHQ Server Plugin Additional info: Workaround was: cp jon/modules/plugins/jmx/SET_ME/dev-container/rhq-server/modules/org/rhq/server-startup/main/deployments/rhq.ear/rhq-downloads/rhq-plugins/rhq-jmx-plugin-4.12.0.JON330GA-redhat-1.jar jon/modules/plugins/rhq-server/target/classes/lib/ Run till fail on local machine, copy file manually to the correct place, re-run to continue. Note: I was unable to suggest a solution as I am not sure why it is trying to copy a directory rather than the relevant file.
Moving to closed, not a bug. if maven build of RHQ/JON is performed before plugins (which is required for the build to produce output) then this issue does not occur.