Bug 959591

Summary: Agentupdate Missing Dependencies
Product: [Other] RHQ Project Reporter: Stefan Negrea <snegrea>
Component: AgentAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.6CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 14:42:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefan Negrea 2013-05-03 21:58:28 UTC
Description of problem:
Agent update archive is missing ant dependencies on a build with an empty initial maven repository. Repeat builds with established local maven repositories do not have show this problem.


How reproducible:
Every time.

Steps to Reproduce:
1. Start with an empty maven repository.
2. Build RHQ 
3. Inspect the agent update artifacts
  
Actual results:
Notice that artifact from the agent update submodule does not have ant dependency bundle.

Expected results:
Notice that artifact from the agent update submodule does not have ant dependency bundle.


Additional info:
This happens because ant 1.7.1 is not downloaded prior to building agent update submodule on an empty repository. On second builds using the same repository, the dependency gets downloaded by prior builds after the agent update build and thus the agent update build will have it available.

Comment 1 Stefan Negrea 2013-05-03 21:59:40 UTC
Correction for the expected result

Expected results:
Notice that the artifact from the agent update submodule contains ant dependencies.

Comment 2 Stefan Negrea 2013-05-06 15:58:30 UTC
Adding the version in the pom for agentupdate fixed the problem. The version added is the variable already defined in the same pom. That ensures the dependency is downloaded in the local repository prior to build agentupdate artifacts.

Comment 3 Heiko W. Rupp 2013-09-03 14:42:42 UTC
Bulk closing of issues in old RHQ releases that are in production for a while now.

Please open a new issue when running into an issue.