Bug 1486545 - Complete Resource Reference maven build failure due to 'copy-deps' error
Summary: Complete Resource Reference maven build failure due to 'copy-deps' error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Productization, Documentation
Version: JON 3.3.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Simeon Pinder
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-30 05:47 UTC by Tyler Kelly
Modified: 2017-10-30 02:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1487478 (view as bug list)
Environment:
Last Closed: 2017-10-30 02:53:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Build Log from Docker (1.10 MB, text/plain)
2017-08-30 05:47 UTC, Tyler Kelly
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1324786 0 high CLOSED Generate new Complete_Resource_Reference containing EAP7 resources 2021-02-22 00:41:40 UTC

Internal Links: 1324786

Description Tyler Kelly 2017-08-30 05:47:14 UTC
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.

Comment 1 Tyler Kelly 2017-10-30 02:53:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.